@STService
public class SKOS
extends it.uniroma2.art.semanticturkey.services.STServiceAdapter
Modifier and Type | Class and Description |
---|---|
static class |
SKOS.MessageKeys |
Constructor and Description |
---|
SKOS() |
Modifier and Type | Method and Description |
---|---|
void |
addAltLabel(org.eclipse.rdf4j.model.IRI concept,
@LanguageTaggedString org.eclipse.rdf4j.model.Literal literal) |
void |
addBroaderConcept(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.IRI broaderConcept,
org.eclipse.rdf4j.model.IRI broaderProp) |
void |
addConceptToScheme(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.IRI scheme) |
void |
addFirstToOrderedCollection(org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.model.Resource element) |
protected void |
addFirstToOrderedCollection(org.eclipse.rdf4j.model.Resource element,
org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
org.eclipse.rdf4j.model.Model modelAdditions,
org.eclipse.rdf4j.model.Model modelRemovals) |
void |
addHiddenLabel(org.eclipse.rdf4j.model.IRI concept,
@LanguageTaggedString org.eclipse.rdf4j.model.Literal literal) |
void |
addInPositionToOrderedCollection(org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.model.Resource element,
int index) |
protected void |
addInPositionToSKOSOrderedCollection(org.eclipse.rdf4j.model.Resource list,
org.eclipse.rdf4j.model.Resource element,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
int pos,
org.eclipse.rdf4j.model.Model modelAdditions,
org.eclipse.rdf4j.model.Model modelRemovals) |
void |
addLastToOrderedCollection(org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.model.Resource element) |
void |
addMultipleConceptsToScheme(org.eclipse.rdf4j.model.IRI rootConcept,
org.eclipse.rdf4j.model.IRI scheme,
org.eclipse.rdf4j.model.IRI inSchemeProp,
boolean includeSubProperties,
List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps,
List<org.eclipse.rdf4j.model.IRI> filterSchemes,
boolean setTopConcept) |
void |
addNote(org.eclipse.rdf4j.model.Resource resource,
org.eclipse.rdf4j.model.IRI predicate,
it.uniroma2.art.semanticturkey.customform.SpecialValue value)
Allows the addition of a note (plain or reified)
|
void |
addToCollection(org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.model.Resource element)
this service adds an element to a (unordered) collection.
|
void |
addTopConcept(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.IRI scheme,
org.eclipse.rdf4j.model.IRI topConceptProp) |
static void |
checkIfAddAltLabelIsPossible(org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
org.eclipse.rdf4j.model.Literal newLabel,
org.eclipse.rdf4j.model.Resource resource) |
static void |
checkIfAddPrefLabelIsPossible(org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
org.eclipse.rdf4j.model.Literal newLabel,
boolean newResource,
List<org.eclipse.rdf4j.model.IRI> conceptSchemes) |
static void |
checkIfPrefAltLabelClash(org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
org.eclipse.rdf4j.model.Literal newLabel) |
static String |
combinePathWithVarOrIri(org.eclipse.rdf4j.model.IRI iri,
org.eclipse.rdf4j.model.IRI superIri,
String propertyPath,
boolean transitiveClosure) |
static String |
combinePathWithVarOrIri(org.eclipse.rdf4j.model.IRI iri,
String superVar,
String propertyPath,
boolean transitiveClosure) |
static String |
combinePathWithVarOrIri(String var,
org.eclipse.rdf4j.model.IRI superIri,
String propertyPath,
boolean transitiveClosure) |
static String |
combinePathWithVarOrIri(String var,
String superVar,
String propertyPath,
boolean transitiveClosure) |
Integer |
countTopConcepts(List<org.eclipse.rdf4j.model.IRI> schemes,
String schemeFilter,
List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps,
boolean includeSubProperties) |
it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource> |
createCollection(org.eclipse.rdf4j.model.IRI collectionType,
org.eclipse.rdf4j.model.IRI newCollection,
@LanguageTaggedString org.eclipse.rdf4j.model.Literal label,
org.eclipse.rdf4j.model.IRI containingCollection,
org.eclipse.rdf4j.model.IRI collectionCls,
boolean bnodeCreationMode,
it.uniroma2.art.semanticturkey.customform.CustomFormValue customFormValue,
boolean checkExistingAltLabel) |
it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.IRI> |
createConcept(org.eclipse.rdf4j.model.IRI newConcept,
@LanguageTaggedString org.eclipse.rdf4j.model.Literal label,
org.eclipse.rdf4j.model.Resource broaderConcept,
List<org.eclipse.rdf4j.model.IRI> conceptSchemes,
org.eclipse.rdf4j.model.IRI conceptCls,
it.uniroma2.art.semanticturkey.customform.CustomFormValue customFormValue,
boolean checkExistingAltLabel,
org.eclipse.rdf4j.model.IRI broaderProp,
boolean checkExistingPrefLabel) |
it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.IRI> |
createConceptScheme(org.eclipse.rdf4j.model.IRI newScheme,
@LanguageTaggedString org.eclipse.rdf4j.model.Literal label,
org.eclipse.rdf4j.model.IRI schemeCls,
it.uniroma2.art.semanticturkey.customform.CustomFormValue customFormValue,
boolean checkExistingAltLabel) |
protected org.eclipse.rdf4j.model.BNode |
createElementInList(org.eclipse.rdf4j.model.Value first,
org.eclipse.rdf4j.model.Resource next,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
org.eclipse.rdf4j.model.Model modelAdditions) |
void |
deleteCollection(org.eclipse.rdf4j.model.Resource collection) |
void |
deleteConcept(org.eclipse.rdf4j.model.IRI concept)
Deletes a Concept
|
void |
deleteConceptScheme(org.eclipse.rdf4j.model.IRI scheme)
Deletes a ConceptScheme
|
void |
deleteOrderedCollection(org.eclipse.rdf4j.model.Resource collection) |
void |
failingReadServiceContainingUpdate() |
protected void |
fixOrderedCollectionIfHasNoMemberList(org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection) |
org.eclipse.rdf4j.model.IRI |
generateCollectionURI(org.eclipse.rdf4j.model.Literal label)
Generates a new URI for a SKOS collection, optionally given its accompanying preferred label.
|
org.eclipse.rdf4j.model.IRI |
generateConceptIRI(org.eclipse.rdf4j.model.Literal label,
List<org.eclipse.rdf4j.model.IRI> schemes)
Generates a new URI for a SKOS concept, optionally given its accompanying preferred label and concept
scheme.
|
org.eclipse.rdf4j.model.IRI |
generateConceptSchemeURI(org.eclipse.rdf4j.model.Literal label)
Generates a new URI for a SKOS concept scheme, optionally given its accompanying preferred label.
|
org.eclipse.rdf4j.model.IRI |
generateXLabelIRI(org.eclipse.rdf4j.model.Resource lexicalizedResource,
org.eclipse.rdf4j.model.Literal lexicalForm,
org.eclipse.rdf4j.model.IRI lexicalizationProperty)
Generates a new URI for a SKOSXL Label, based on the provided mandatory parameters.
|
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getAllSchemes() |
static List<org.eclipse.rdf4j.model.IRI> |
getAllSchemesForConcept(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection) |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Literal>> |
getAltLabels(org.eclipse.rdf4j.model.IRI concept) |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getBroaderConcepts(org.eclipse.rdf4j.model.Resource concept,
List<org.eclipse.rdf4j.model.IRI> schemes,
String schemeFilter,
List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps,
boolean includeSubProperties)
Returns the list of broader concepts
|
PredicateObjectsList |
getCollectionsForConcept(org.eclipse.rdf4j.model.Resource concept) |
protected org.eclipse.rdf4j.model.Resource |
getFirstElemOfOrderedCollection(org.eclipse.rdf4j.model.Resource collection,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection) |
static org.eclipse.rdf4j.model.IRI |
getHierachicalProp(org.eclipse.rdf4j.model.IRI broaderProps) |
static List<org.eclipse.rdf4j.model.IRI> |
getHierachicalProps(List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps) |
static List<org.eclipse.rdf4j.model.IRI> |
getInverseOfHierachicalProp(List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps)
return the inverse of the input broaderProp or null if it ha no inverse
|
protected org.eclipse.rdf4j.model.Resource |
getLastElemInList(org.eclipse.rdf4j.model.Resource list,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection) |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getNarrowerConcepts(org.eclipse.rdf4j.model.Resource concept,
String schemeFilter,
List<org.eclipse.rdf4j.model.IRI> schemes,
List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps,
boolean includeSubProperties)
Returns the list of narrower concepts
|
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getNestedCollections(org.eclipse.rdf4j.model.Resource container) |
protected org.eclipse.rdf4j.model.Resource |
getPrevElem(org.eclipse.rdf4j.model.Resource list,
org.eclipse.rdf4j.model.Resource element,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection) |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getRootCollections() |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getSchemesMatrixPerConcept(org.eclipse.rdf4j.model.Resource concept) |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getSuperCollections(org.eclipse.rdf4j.model.Resource collection) |
Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> |
getTopConcepts(List<org.eclipse.rdf4j.model.IRI> schemes,
String schemeFilter,
List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps,
boolean includeSubProperties)
Returns the list of top concepts
|
protected boolean |
hasElementInList(org.eclipse.rdf4j.model.Resource list,
org.eclipse.rdf4j.model.Resource element,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection) |
Boolean |
isSchemeEmpty(org.eclipse.rdf4j.model.IRI scheme)
Checks if a ConceptScheme is empty.
|
static void |
main(String[] args) |
static String |
preparePropPathForHierarchicalForQuery(List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> inverseHierachicalProps,
org.eclipse.rdf4j.repository.RepositoryConnection repoConnection,
boolean includeSubProperties) |
void |
removeAltLabel(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.Literal literal) |
void |
removeBroaderConcept(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.IRI broaderConcept,
List<org.eclipse.rdf4j.model.IRI> broaderProps,
List<org.eclipse.rdf4j.model.IRI> narrowerProps) |
void |
removeConceptFromScheme(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.IRI scheme) |
void |
removeFromCollection(org.eclipse.rdf4j.model.Resource element,
org.eclipse.rdf4j.model.Resource collection) |
void |
removeFromOrderedCollection(org.eclipse.rdf4j.model.Resource element,
org.eclipse.rdf4j.model.Resource collection) |
void |
removeHiddenLabel(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.Literal literal) |
void |
removeNote(org.eclipse.rdf4j.model.Resource resource,
org.eclipse.rdf4j.model.IRI predicate,
org.eclipse.rdf4j.model.Value value)
Allows the deletion of a note (plain or reified)
|
void |
removePrefLabel(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.Literal literal) |
void |
removeTopConcept(org.eclipse.rdf4j.model.IRI concept,
org.eclipse.rdf4j.model.IRI scheme) |
void |
setPrefLabel(org.eclipse.rdf4j.model.IRI concept,
@LanguageTaggedString org.eclipse.rdf4j.model.Literal literal,
boolean checkExistingAltLabel,
boolean checkExistingPrefLabel) |
void |
updateNote(org.eclipse.rdf4j.model.Resource resource,
org.eclipse.rdf4j.model.IRI predicate,
org.eclipse.rdf4j.model.Value value,
org.eclipse.rdf4j.model.Value newValue)
Allows the update of note (not reified through CustomForm)
|
void |
updateNoteProperty(org.eclipse.rdf4j.model.Resource resource,
org.eclipse.rdf4j.model.IRI property,
org.eclipse.rdf4j.model.IRI newProperty,
org.eclipse.rdf4j.model.Value value) |
addValue, checkNotLocallyDefined, createQueryBuilder, generateIRI, generateNatureSPARQLSelectPart, generateNatureSPARQLWherePart, generateResourceWithCustomConstructor, getCodaLexModeForSearchFromLexicalizationModel, getDeleteGraph, getGraphFromNature, getInitializedCodaCore, getManagedConnection, getMetadataGraph, getPlatformTransactionManager, getProject, getRepository, getRoleFromNature, getUserNamedGraphs, getWorkingGraph, instantiateSearchStrategy, instantiateSearchStrategy, parseReference, publishResourceDeleted, publishResourceDeleted, removeReifiedValue, retrieveResources, shutDownCodaCore, updateTriplePredicate
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getTopConcepts(@Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> schemes, @Optional(defaultValue="or") String schemeFilter, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> broaderProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> narrowerProps, @Optional(defaultValue="true") boolean includeSubProperties)
schemes
- an optional list of schemes. When passed, only concept being topConcept of one of the
passed schemes will be returned. When not passed, all concepts not having a broader concept will be
returnedschemeFilter
- how the scheme(s) should be considered, in 'or' or in 'and' ('or' is the default value)broaderProps
- an optional list of properties used as broader. When not passed, skos:broader will be usednarrowerProps
- an optional list of properties used as narrower. if skos:broader is passed as broaderProp
and narrowerProp is null, then narrowerProp will have the value skos:narrowerincludeSubProperties
- if null or true, then all subProperty of broaderProp and narrowerProp will be
used in the concept hierarchy@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'R\')") public Integer countTopConcepts(@Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> schemes, @Optional(defaultValue="or") String schemeFilter, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> broaderProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> narrowerProps, @Optional(defaultValue="true") boolean includeSubProperties)
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getNarrowerConcepts(@LocallyDefined org.eclipse.rdf4j.model.Resource concept, @Optional(defaultValue="or") String schemeFilter, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> schemes, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> broaderProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> narrowerProps, @Optional(defaultValue="true") boolean includeSubProperties)
concept
- the concept to which the returned concepts are the narrower ofschemes
- an optional list of schemes. When passed, only narrower concepts belonging to of one of the
passed schemes will be returned. When not passed, all narrower concepts will be returnedschemeFilter
- how the scheme(s) should be considered, in 'or' or in 'and' ('or' is the default value)broaderProps
- an optional list of properties used as broader. When not passed, skos:broader will be usednarrowerProps
- an optional list of properties used as narrower. If skos:broader is passed as broaderProp
and narrowerProp is null, then narrowerProp will have the value skos:narrowerincludeSubProperties
- if null or true, then all subProperty of broaderProp and narrowerProp will be
used in the concept hierarchy@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getBroaderConcepts(@LocallyDefined org.eclipse.rdf4j.model.Resource concept, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> schemes, @Optional(defaultValue="or") String schemeFilter, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> broaderProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> narrowerProps, @Optional(defaultValue="true") boolean includeSubProperties)
concept
- the concept to which the returned concepts are the broader ofschemes
- an optional list of schemes. When passed, only broader concepts belonging to of one of the
passed schemes will be returned. When not passed, all broader concepts will be returnedschemeFilter
- how the scheme(s) should be considered, in 'or' or in 'and' ('or' is the default value)broaderProps
- an optional list of properties used as broader. When not passed, skos:broader will be usednarrowerProps
- an optional list of properties used as narrower. If skos:broader is passed as broaderProp
and narrowerProp is null, then narrowerProp will have the value skos:narrowerincludeSubProperties
- if null or true, then all subProperty of broaderProp and narrowerProp will be
used in the concept hierarchy@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(conceptScheme)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getAllSchemes()
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, schemes)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getSchemesMatrixPerConcept(@LocallyDefined org.eclipse.rdf4j.model.Resource concept)
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, skosCollection)\', \'R\')") public PredicateObjectsList getCollectionsForConcept(@LocallyDefined org.eclipse.rdf4j.model.Resource concept)
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection, taxonomy)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getRootCollections()
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection, taxonomy)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getNestedCollections(@LocallyDefined org.eclipse.rdf4j.model.Resource container)
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection, taxonomy)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource>> getSuperCollections(@LocallyDefined org.eclipse.rdf4j.model.Resource collection)
@STServiceOperation @Read public void failingReadServiceContainingUpdate()
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept)\', \'{lang: \'\'\' +@auth.langof(#label)+ \'\'\'}\', \'C\')") @TermCreation(label="label", facet=NEW_CONCEPT) public it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.IRI> createConcept(@Optional @NotLocallyDefined org.eclipse.rdf4j.model.IRI newConcept, @Optional @LanguageTaggedString @LanguageTaggedString org.eclipse.rdf4j.model.Literal label, @Optional @LocallyDefined @Selection org.eclipse.rdf4j.model.Resource broaderConcept, @LocallyDefinedResources @SchemeAssignment List<org.eclipse.rdf4j.model.IRI> conceptSchemes, @Optional @LocallyDefined @SubClassOf(superClassIRI="http://www.w3.org/2004/02/skos/core#Concept") org.eclipse.rdf4j.model.IRI conceptCls, @Optional it.uniroma2.art.semanticturkey.customform.CustomFormValue customFormValue, @Optional(defaultValue="true") boolean checkExistingAltLabel, @Optional @LocallyDefined org.eclipse.rdf4j.model.IRI broaderProp, @Optional(defaultValue="true") boolean checkExistingPrefLabel) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException, it.uniroma2.art.semanticturkey.customform.CustomFormException, it.uniroma2.art.semanticturkey.exceptions.CODAException, it.uniroma2.art.semanticturkey.exceptions.UnsupportedLexicalizationModelException, it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException, it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
newConcept
- IRI of the new created concept. If not provided a random IRI is generated.label
- preferred label of the conceptbroaderConcept
- broader of the new created concept. If not provided the new concept will be a top conceptconceptSchemes
- concept schemes where the concept belongsconceptCls
- class type of the new created concept. It must be a subClassOf skos:Concept. If not provided the new concept
will be simply a skos:ConceptbroaderProp
- checkExistingAltLabel
- customFormValue
- it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
it.uniroma2.art.semanticturkey.customform.CustomFormException
it.uniroma2.art.semanticturkey.exceptions.CODAException
it.uniroma2.art.semanticturkey.exceptions.UnsupportedLexicalizationModelException
it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(conceptScheme)\', \'{lang: \'\'\' +@auth.langof(#label)+ \'\'\'}\', \'C\')") public it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.IRI> createConceptScheme(@Optional @NotLocallyDefined org.eclipse.rdf4j.model.IRI newScheme, @Optional @LanguageTaggedString @LanguageTaggedString org.eclipse.rdf4j.model.Literal label, @Optional @LocallyDefined @SubClassOf(superClassIRI="http://www.w3.org/2004/02/skos/core#ConceptScheme") org.eclipse.rdf4j.model.IRI schemeCls, @Optional it.uniroma2.art.semanticturkey.customform.CustomFormValue customFormValue, @Optional(defaultValue="true") boolean checkExistingAltLabel) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException, it.uniroma2.art.semanticturkey.customform.CustomFormException, it.uniroma2.art.semanticturkey.exceptions.CODAException, it.uniroma2.art.semanticturkey.exceptions.UnsupportedLexicalizationModelException, it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException, it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
it.uniroma2.art.semanticturkey.customform.CustomFormException
it.uniroma2.art.semanticturkey.exceptions.CODAException
it.uniroma2.art.semanticturkey.exceptions.UnsupportedLexicalizationModelException
it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'{lang: \'\'\' +@auth.langof(#literal)+ \'\'\'}\', \'C\')") @DisplayName(value="set preferred label") @TermCreation(label="literal", concept="concept", facet=PREF_LABEL) public void setPrefLabel(@LocallyDefined @Modified org.eclipse.rdf4j.model.IRI concept, @LanguageTaggedString @LanguageTaggedString org.eclipse.rdf4j.model.Literal literal, @Optional(defaultValue="true") boolean checkExistingAltLabel, @Optional(defaultValue="true") boolean checkExistingPrefLabel) throws it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException, it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
public static List<org.eclipse.rdf4j.model.IRI> getAllSchemesForConcept(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'{lang: \'\'\' +@auth.langof(#literal)+ \'\'\'}\', \'C\')") @DisplayName(value="add alternative label") @TermCreation(label="literal", concept="concept", facet=ALT_LABEL) public void addAltLabel(@LocallyDefined @Modified org.eclipse.rdf4j.model.IRI concept, @LanguageTaggedString @LanguageTaggedString org.eclipse.rdf4j.model.Literal literal) throws it.uniroma2.art.semanticturkey.exceptions.AltPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.AltPrefLabelClashException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'{lang: \'\'\' +@auth.langof(#literal)+ \'\'\'}\', \'C\')") @DisplayName(value="add hidden label") @TermCreation(label="literal", concept="concept", facet=HIDDEN_LABEL) public void addHiddenLabel(@LocallyDefined @Modified org.eclipse.rdf4j.model.IRI concept, @LanguageTaggedString @LanguageTaggedString org.eclipse.rdf4j.model.Literal literal)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'C\')") public void addBroaderConcept(@LocallyDefined @Modified(role=concept) org.eclipse.rdf4j.model.IRI concept, @LocallyDefined org.eclipse.rdf4j.model.IRI broaderConcept, @Optional @LocallyDefined @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#broader") org.eclipse.rdf4j.model.IRI broaderProp)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, schemes)\', \'C\')") public void addConceptToScheme(@LocallyDefined @Modified(role=concept) org.eclipse.rdf4j.model.IRI concept, @LocallyDefined @SchemeAssignment org.eclipse.rdf4j.model.IRI scheme)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, schemes)\', \'C\')") public void addMultipleConceptsToScheme(@Optional @LocallyDefined org.eclipse.rdf4j.model.IRI rootConcept, @LocallyDefined @SchemeAssignment org.eclipse.rdf4j.model.IRI scheme, @Optional org.eclipse.rdf4j.model.IRI inSchemeProp, @Optional(defaultValue="true") boolean includeSubProperties, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> broaderProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> narrowerProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> filterSchemes, @Optional(defaultValue="true") boolean setTopConcept)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, schemes)\', \'C\')") public void addTopConcept(@Modified(role=concept) org.eclipse.rdf4j.model.IRI concept, @LocallyDefined @SchemeAssignment org.eclipse.rdf4j.model.IRI scheme, @Optional @LocallyDefined @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#topConceptOf") org.eclipse.rdf4j.model.IRI topConceptProp)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'U\')") public void addToCollection(@LocallyDefined @Modified(role=skosCollection) org.eclipse.rdf4j.model.Resource collection, @LocallyDefined org.eclipse.rdf4j.model.Resource element) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'U\')") public void addFirstToOrderedCollection(@LocallyDefined @Modified(role=skosCollection) org.eclipse.rdf4j.model.Resource collection, @LocallyDefined org.eclipse.rdf4j.model.Resource element) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'U\')") public void addInPositionToOrderedCollection(@LocallyDefined @Modified(role=skosCollection) org.eclipse.rdf4j.model.Resource collection, @LocallyDefined org.eclipse.rdf4j.model.Resource element, @Min(value=1L) int index) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'U\')") public void addLastToOrderedCollection(@LocallyDefined @Modified(role=skosCollection) org.eclipse.rdf4j.model.Resource collection, @LocallyDefined org.eclipse.rdf4j.model.Resource element) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
protected org.eclipse.rdf4j.model.Resource getFirstElemOfOrderedCollection(org.eclipse.rdf4j.model.Resource collection, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection)
protected void fixOrderedCollectionIfHasNoMemberList(org.eclipse.rdf4j.model.Resource collection, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection)
protected boolean hasElementInList(org.eclipse.rdf4j.model.Resource list, org.eclipse.rdf4j.model.Resource element, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection)
protected void addFirstToOrderedCollection(org.eclipse.rdf4j.model.Resource element, org.eclipse.rdf4j.model.Resource collection, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, org.eclipse.rdf4j.model.Model modelAdditions, org.eclipse.rdf4j.model.Model modelRemovals)
protected void addInPositionToSKOSOrderedCollection(org.eclipse.rdf4j.model.Resource list, org.eclipse.rdf4j.model.Resource element, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, int pos, org.eclipse.rdf4j.model.Model modelAdditions, org.eclipse.rdf4j.model.Model modelRemovals)
protected org.eclipse.rdf4j.model.BNode createElementInList(org.eclipse.rdf4j.model.Value first, org.eclipse.rdf4j.model.Resource next, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, org.eclipse.rdf4j.model.Model modelAdditions)
protected org.eclipse.rdf4j.model.Resource getLastElemInList(org.eclipse.rdf4j.model.Resource list, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection)
protected org.eclipse.rdf4j.model.Resource getPrevElem(org.eclipse.rdf4j.model.Resource list, org.eclipse.rdf4j.model.Resource element, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, schemes)\', \'D\')") public void removeConceptFromScheme(@LocallyDefined @Modified(role=concept) org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI scheme)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, schemes)\', \'D\')") public void removeTopConcept(@LocallyDefined @Modified(role=concept) org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI scheme)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'{lang: \'\'\' +@auth.langof(#literal)+ \'\'\'}\', \'D\')") public void removePrefLabel(@LocallyDefined @Modified org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Literal literal)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'{lang: \'\'\' +@auth.langof(#literal)+ \'\'\'}\', \'D\')") public void removeAltLabel(@LocallyDefined @Modified org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Literal literal)
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'R\')") public Collection<it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Literal>> getAltLabels(@LocallyDefined org.eclipse.rdf4j.model.IRI concept)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'D\')") public void removeBroaderConcept(@LocallyDefined @Modified(role=concept) org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI broaderConcept, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> broaderProps, @Optional @LocallyDefinedResources List<org.eclipse.rdf4j.model.IRI> narrowerProps)
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#concept)+ \', lexicalization)\', \'D\')") public void removeHiddenLabel(@LocallyDefined @Modified org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.Literal literal)
@STServiceOperation @Read @PreAuthorize(value="@auth.isAuthorized(\'rdf(conceptScheme)\', \'R\')") public Boolean isSchemeEmpty(@LocallyDefined org.eclipse.rdf4j.model.IRI scheme)
scheme
- @STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(conceptScheme)\', \'D\')") public void deleteConceptScheme(@LocallyDefined @SchemeAssignment @Deleted org.eclipse.rdf4j.model.IRI scheme)
scheme
- @STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(concept)\', \'D\')") public void deleteConcept(@LocallyDefined @Deleted org.eclipse.rdf4j.model.IRI concept) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
concept
- the concept to be deletedit.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'{lang: \'\'\' +@auth.langof(#label)+ \'\'\'}\', \'C\')") public it.uniroma2.art.semanticturkey.services.AnnotatedValue<org.eclipse.rdf4j.model.Resource> createCollection(org.eclipse.rdf4j.model.IRI collectionType, @Optional @NotLocallyDefined org.eclipse.rdf4j.model.IRI newCollection, @Optional @LanguageTaggedString @LanguageTaggedString org.eclipse.rdf4j.model.Literal label, @Optional @LocallyDefined org.eclipse.rdf4j.model.IRI containingCollection, @Optional @LocallyDefined @SubClassOf(superClassIRI="http://www.w3.org/2004/02/skos/core#Collection") org.eclipse.rdf4j.model.IRI collectionCls, @Optional(defaultValue="false") boolean bnodeCreationMode, @Optional it.uniroma2.art.semanticturkey.customform.CustomFormValue customFormValue, @Optional(defaultValue="true") boolean checkExistingAltLabel) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException, it.uniroma2.art.semanticturkey.customform.CustomFormException, it.uniroma2.art.semanticturkey.exceptions.CODAException, IllegalAccessException, it.uniroma2.art.semanticturkey.exceptions.UnsupportedLexicalizationModelException, it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException, it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
it.uniroma2.art.semanticturkey.customform.CustomFormException
it.uniroma2.art.semanticturkey.exceptions.CODAException
IllegalAccessException
it.uniroma2.art.semanticturkey.exceptions.UnsupportedLexicalizationModelException
it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'D\')") public void deleteCollection(@LocallyDefined @Deleted org.eclipse.rdf4j.model.Resource collection) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'D\')") public void deleteOrderedCollection(@LocallyDefined @Deleted org.eclipse.rdf4j.model.Resource collection) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'U\')") public void removeFromCollection(@LocallyDefined org.eclipse.rdf4j.model.Resource element, @Modified(role=skosCollection) @LocallyDefined org.eclipse.rdf4j.model.Resource collection) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(skosCollection)\', \'U\')") public void removeFromOrderedCollection(@LocallyDefined org.eclipse.rdf4j.model.Resource element, @Modified(role=skosCollection) @LocallyDefined org.eclipse.rdf4j.model.Resource collection) throws it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
it.uniroma2.art.semanticturkey.exceptions.DeniedOperationException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#resource)+ \', notes)\', \'{lang: \'\'\' +@auth.langof(#value)+ \'\'\'}\',\'C\')") public void addNote(@LocallyDefined @Modified org.eclipse.rdf4j.model.Resource resource, @Optional @LocallyDefined @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#note") org.eclipse.rdf4j.model.IRI predicate, it.uniroma2.art.semanticturkey.customform.SpecialValue value) throws it.uniroma2.art.semanticturkey.exceptions.CODAException
resource
- predicate
- value
- it.uniroma2.art.semanticturkey.exceptions.CODAException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#resource)+ \', notes)\', \'{lang: \'\'\' +@auth.langof(#value)+ \'\'\'}\',\'D\')") public void removeNote(@LocallyDefined @Modified org.eclipse.rdf4j.model.Resource resource, @Optional @LocallyDefined @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#note") org.eclipse.rdf4j.model.IRI predicate, @Deleted org.eclipse.rdf4j.model.Value value) throws it.uniroma2.art.coda.exception.parserexception.PRParserException
resource
- predicate
- value
- it.uniroma2.art.coda.exception.parserexception.PRParserException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#resource)+ \', notes)\', \'{lang: [\'\'\' +@auth.langof(#value)+ \'\'\', \'\'\' +@auth.langof(#newValue)+ \'\'\']}\',\'U\')") public void updateNote(@LocallyDefined @Modified org.eclipse.rdf4j.model.Resource resource, @Optional @LocallyDefined @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#note") org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value value, org.eclipse.rdf4j.model.Value newValue)
resource
- predicate
- value
- newValue
- it.uniroma2.art.coda.exception.parserexception.PRParserException
@STServiceOperation(method=POST) @Write @PreAuthorize(value="@auth.isAuthorized(\'rdf(\' +@auth.typeof(#resource)+ \', notes)\', \'{lang: \'\'\' +@auth.langof(#value)+ \'\'\'}\',\'U\')") public void updateNoteProperty(@LocallyDefined @Modified org.eclipse.rdf4j.model.Resource resource, @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#note") org.eclipse.rdf4j.model.IRI property, @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#note") org.eclipse.rdf4j.model.IRI newProperty, org.eclipse.rdf4j.model.Value value)
public org.eclipse.rdf4j.model.IRI generateConceptIRI(org.eclipse.rdf4j.model.Literal label, List<org.eclipse.rdf4j.model.IRI> schemes) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
STServiceAdapter.generateIRI(String, Map)
, which in
turn invokes the current binding for the extension point URIGenerator
. In the end, the URI
generator will be provided with the following:
concept
as the xRole
label
and scheme
(each, if
not null
)label
- the preferred label accompanying the concept (can be null
)schemes
- the schemes to which the concept is being attached at the moment of its creation (can be
null
)it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
public org.eclipse.rdf4j.model.IRI generateConceptSchemeURI(org.eclipse.rdf4j.model.Literal label) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
label
- the preferred label accompanying the concept scheme (can be null
)it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
public org.eclipse.rdf4j.model.IRI generateCollectionURI(org.eclipse.rdf4j.model.Literal label) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
label
- the preferred label accompanying the collection (can be null
)it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
public org.eclipse.rdf4j.model.IRI generateXLabelIRI(org.eclipse.rdf4j.model.Resource lexicalizedResource, org.eclipse.rdf4j.model.Literal lexicalForm, org.eclipse.rdf4j.model.IRI lexicalizationProperty) throws it.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
STServiceAdapter.generateIRI(String, Map)
, which in turn invokes the
current binding for the extension point URIGenerator
. In the end, the URI generator will
be provided with the following:
xLabel
as the xRole
lexicalForm
,
lexicalizedResource
and type
(each, if not null
)
All arguments should be not null
, but in the end is the specific implementation of the
extension point that would complain about the absence of one of these theoretically mandatory
parameters.
lexicalForm
- the textual content of the labellexicalizedResource
- the resource to which the label will be attached tolexicalizationProperty
- the property used for attaching the labelit.uniroma2.art.semanticturkey.extension.extpts.urigen.URIGenerationException
public static void checkIfAddPrefLabelIsPossible(org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, org.eclipse.rdf4j.model.Literal newLabel, boolean newResource, List<org.eclipse.rdf4j.model.IRI> conceptSchemes) throws it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefPrefLabelClashException
public static void checkIfPrefAltLabelClash(org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, org.eclipse.rdf4j.model.Literal newLabel) throws it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
it.uniroma2.art.semanticturkey.exceptions.PrefAltLabelClashException
public static void checkIfAddAltLabelIsPossible(org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, org.eclipse.rdf4j.model.Literal newLabel, org.eclipse.rdf4j.model.Resource resource) throws it.uniroma2.art.semanticturkey.exceptions.AltPrefLabelClashException
it.uniroma2.art.semanticturkey.exceptions.AltPrefLabelClashException
public static List<org.eclipse.rdf4j.model.IRI> getHierachicalProps(List<org.eclipse.rdf4j.model.IRI> broaderProps, List<org.eclipse.rdf4j.model.IRI> narrowerProps)
public static org.eclipse.rdf4j.model.IRI getHierachicalProp(org.eclipse.rdf4j.model.IRI broaderProps)
public static List<org.eclipse.rdf4j.model.IRI> getInverseOfHierachicalProp(List<org.eclipse.rdf4j.model.IRI> broaderProps, List<org.eclipse.rdf4j.model.IRI> narrowerProps)
public static String combinePathWithVarOrIri(org.eclipse.rdf4j.model.IRI iri, org.eclipse.rdf4j.model.IRI superIri, String propertyPath, boolean transitiveClosure)
public static String combinePathWithVarOrIri(org.eclipse.rdf4j.model.IRI iri, String superVar, String propertyPath, boolean transitiveClosure)
public static String combinePathWithVarOrIri(String var, org.eclipse.rdf4j.model.IRI superIri, String propertyPath, boolean transitiveClosure)
public static String combinePathWithVarOrIri(String var, String superVar, String propertyPath, boolean transitiveClosure)
public static String preparePropPathForHierarchicalForQuery(List<org.eclipse.rdf4j.model.IRI> broaderProps, List<org.eclipse.rdf4j.model.IRI> inverseHierachicalProps, org.eclipse.rdf4j.repository.RepositoryConnection repoConnection, boolean includeSubProperties)
public static void main(String[] args) throws NoSuchMethodException, SecurityException
Copyright © 2023 ART Group, University of Rome, Tor Vergata. All rights reserved.