public interface SKOSModel extends RDFSModel, PrefixMapping, TripleQueryModel
Modifier and Type | Method and Description |
---|---|
void |
addAltLabel(ARTURIResource skosConcept,
ARTLiteral label,
ARTResource... graphs)
adds an alternative label to concept
skosConcept |
void |
addAltLabel(ARTURIResource skosConcept,
String label,
String languageTag,
ARTResource... graphs)
adds an alternative label to concept
skosConcept |
void |
addBroaderConcept(ARTURIResource skosConcept,
ARTURIResource broaderConcept,
ARTResource... graphs)
like
addBroaderConcept(ARTURIResource, ARTURIResource, boolean, ARTResource...) with
cleanTopConcept set to false |
void |
addBroaderConcept(ARTURIResource skosConcept,
ARTURIResource broaderConcept,
boolean cleanTopConcept,
ARTResource... graphs)
sets
skosConcept to have broaderConcept as one of its broader conceptsthen, if cleanTopConcept is true, for each scheme in which broaderConcept appears, removes
skosConcept to be a topconcept for that scheme (as there is already broaderConcept in a higher position
in the tree) |
void |
addBroadMatch(ARTURIResource skosConcept,
ARTURIResource broaderMatchedConcept,
ARTResource... graphs)
adds a broad match between the two given concepts
|
void |
addChangeNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
adds a change note to
skosConcept |
void |
addChangeNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
adds a change note to
skosConcept |
void |
addCloseMatch(ARTURIResource skosConcept,
ARTURIResource closelyMatchedConcept,
ARTResource... graphs)
adds a close match between the two given concepts
|
void |
addConcept(String uri,
ARTURIResource broaderConcept,
ARTResource... graphs)
adds a new concept with given
uri to the default schema and stores it in named graphs
graphs |
void |
addConceptToScheme(ARTURIResource concept,
ARTURIResource skosScheme,
ARTResource... graphs)
adds concept
concept to scheme skosScheme under graphs graphs . |
void |
addConceptToScheme(String uri,
ARTURIResource broaderConcept,
ARTURIResource skosScheme,
ARTResource... graphs)
adds a new concept with given
uri to scheme skosScheme and stores it in named
graphs graphs |
void |
addConceptToSchemes(String uri,
ARTURIResource broaderConcept,
ARTURIResource... skosScheme)
adds a new concept with given
uri to all schemes in skosScheme storing it in
the MAINGRAPH |
void |
addDefinition(ARTURIResource skosConcept,
ARTLiteral def,
ARTResource... graphs)
adds a definition to
skosConcept |
void |
addDefinition(ARTURIResource skosConcept,
String def,
String lang,
ARTResource... graphs)
adds a definition to
skosConcept |
void |
addEditorialNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
adds an editorial note to
skosConcept |
void |
addEditorialNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
adds an editorial note to
skosConcept |
void |
addExactMatch(ARTURIResource skosConcept,
ARTURIResource exactlyMatchedConcept,
ARTResource... graphs)
adds an exact match between the two given concepts
|
void |
addExample(ARTURIResource skosConcept,
ARTLiteral example,
ARTResource... graphs)
adds an example to
skosConcept |
void |
addExample(ARTURIResource skosConcept,
String example,
String lang,
ARTResource... graphs)
adds an example to
skosConcept |
void |
addFirstToSKOSOrderedCollection(ARTURIResource skosConcept,
ARTResource skosCollection,
ARTResource... graphs)
adds skos concept
skosConcept as first element of skosOrderedCollection |
void |
addHiddenLabel(ARTURIResource skosConcept,
ARTLiteral label,
ARTResource... graphs)
adds an hidden label to concept
skosConcept |
void |
addHiddenLabel(ARTURIResource skosConcept,
String label,
String languageTag,
ARTResource... graphs)
adds an hidden label to concept
skosConcept |
void |
addHistoryNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
adds an history note to
skosConcept |
void |
addHistoryNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
adds an history note to
skosConcept |
void |
addInPositionToSKOSOrderedCollection(ARTURIResource skosConcept,
int position,
ARTResource skosOrderedCollection,
ARTResource... graphs)
adds skos concept
skosConcept to skosOrderedCollection in position
position |
void |
addLastToSKOSOrderedCollection(ARTURIResource skosConcept,
ARTResource skosCollection,
ARTResource... graphs)
adds skos concept
skosConcept as last element of skosOrderedCollection |
void |
addNarrowerConcept(ARTURIResource skosConcept,
ARTURIResource narrowerConcept,
ARTResource... graphs)
set
skosConcept to have narrowerConcept as one of its narrower concepts |
void |
addNarrowMatch(ARTURIResource skosConcept,
ARTURIResource narrowerMatchedConcept,
ARTResource... graphs)
adds a narrow match between the two given concepts
|
void |
addNotation(ARTURIResource skosConcept,
ARTLiteral lit,
ARTResource... ngs)
add a value to a skos concept on the
skos:notation property |
void |
addNotation(ARTURIResource skosConcept,
String literalInfo,
ARTURIResource datatype,
ARTResource... ngs)
as for
addNotation(ARTURIResource, ARTLiteral, ARTResource...) but automatically builds a
literal from the given string and with the given datatype |
void |
addNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
adds a note to
skosConcept |
void |
addNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
adds a note to
skosConcept |
void |
addRelatedConcept(ARTURIResource skosConcept,
ARTURIResource relatedConcept,
ARTResource... graphs)
set
skosConcept to have relatedConcept as one of its related concepts |
void |
addRelatedMatch(ARTURIResource skosConcept,
ARTURIResource relatelyMatchedConcept,
ARTResource... graphs)
adds a related match between the two given concepts
|
void |
addScopeNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
adds a scope note to
skosConcept |
void |
addScopeNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
adds a scope note to
skosConcept |
void |
addSKOSCollection(ARTURIResourceIterator conceptsIterator,
ARTResource... graphs)
adds all the skos concepts retrieved by
conceptsIterator to a new collection |
void |
addSKOSCollection(Collection<ARTURIResource> conceptsCollection,
ARTResource... graphs)
adds all the (existing) skos concepts collected in
conceptsCollection to a new SKOS
collection |
void |
addSKOSCollection(String url,
Collection<ARTURIResource> conceptsCollection,
ARTResource... graphs)
adds all the (existing) skos concepts collected in
conceptsCollection to a new SKOS
collection with given uri |
void |
addSKOSConceptScheme(ARTResource conceptScheme,
ARTResource... graphs)
adds a new conceptScheme
conceptScheme and stores it in named graphs graphs |
ARTURIResource |
addSKOSConceptScheme(String url,
ARTResource... graphs)
adds a new conceptScheme with given
uri and stores it in named graphs graphs |
void |
addSKOSOrderedCollection(ARTURIResourceIterator conceptsIterator,
ARTResource... graphs)
adds all the skos concepts retrieved by
conceptsIterator to a new ordered collection in
the same order in which they are returned by the iterator |
void |
addSKOSOrderedCollection(ARTURIResource orderedCollection,
List<ARTURIResource> conceptsList,
ARTResource... graphs)
adds all the (existing) skos concepts listed in
conceptsList to a new SKOS ordered
collection orderedCollection |
void |
addSKOSOrderedCollection(List<ARTURIResource> conceptsList,
ARTResource... graphs)
adds all the (existing) skos concepts listed in
conceptsList to a new SKOS ordered
collection |
void |
deleteConcept(ARTURIResource skosConcept,
ARTResource... graphs)
remove
skosConcept and all information about it from graphs graphs |
void |
deleteScheme(ARTURIResource skosScheme,
boolean forceDeletingDanglingConcepts,
ARTResource... graphs)
this methods removes the scheme from the given graphs.
|
ARTURIResource |
getDefaultSchema()
these API allow for the definition of a schema, which is being edited/access by default when no
explicit schema is provided through access/write methods
|
ARTLiteral |
getNotation(ARTURIResource skosConcept,
ARTResource... graphs)
as for
getNotation(ARTURIResource, ARTURIResource, ARTResource...) with datatype set to
null |
ARTLiteral |
getNotation(ARTURIResource skosConcept,
ARTURIResource datatype,
ARTResource... graphs)
get Notation for concept
skosConcept with given datatype |
OWLModel |
getOWLModel()
this method returns the OWL model owned by this SKOSModel
|
ARTLiteral |
getPrefLabel(ARTURIResource skosConcept,
String languageTag,
boolean inferred,
ARTResource... graphs)
returns the preferred label for concept
skosConcept for language expressed by ISO
languageTag |
boolean |
hasBroaderConcept(ARTURIResource skosConcept,
ARTURIResource broaderSkosConcept,
boolean transitive,
boolean inference,
ARTResource... graphs)
checks whether
skosConcept has a broader concept: broaderSkosConcept |
boolean |
hasNarrowerConcept(ARTURIResource skosConcept,
ARTURIResource narrowerSkosConcept,
boolean transitive,
boolean inference,
ARTResource... graphs)
checks whether
skosConcept has a narrower concept: narrowerSkosConcept |
int |
hasPositionInList(ARTResource skosResource,
ARTResource skosOrdCollection,
ARTResource... graphs)
as for
#hasPositionInList(ARTResource, ARTResource, boolean) with numbering starting from 1 |
boolean |
isConcept(ARTURIResource concept,
ARTResource... graphs)
tells if a given resource is a skos concept
|
boolean |
isInScheme(ARTURIResource skosConcept,
ARTURIResource skosScheme,
ARTResource... graphs)
tells whether concept
skosConcept is in scheme skosScheme |
boolean |
isMemberOfCollection(ARTResource skosResource,
ARTResource skosCollection,
ARTResource... graphs)
tells if given skos object is a member of
skosCollection . |
boolean |
isSKOSConceptScheme(ARTResource conceptScheme,
ARTResource... graphs)
tells if the provided resource is a conceptScheme in this model
|
boolean |
isTopConcept(ARTURIResource skosConcept,
ARTURIResource skosScheme,
ARTResource... graphs)
tells if
skosConcept is a topConcept in given skosScheme |
ARTURIResourceIterator |
listAllSchemes(ARTResource... graphs)
lists all the SKOS schemes
|
ARTURIResourceIterator |
listAllSchemesForConcept(ARTURIResource skosConcept,
ARTResource... graphs)
lists all the SKOS schemes to which given
skosConcept belongs |
ARTLiteralIterator |
listAltLabels(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
list all Alternative Labels for concept
skosConcept |
ARTLiteralIterator |
listAltLabels(ARTURIResource skosConcept,
String languageTag,
boolean inferred,
ARTResource... graphs)
list all Alternative Labels for concept
skosConcept with language given by
languageTag |
ARTURIResourceIterator |
listBroaderConcepts(ARTURIResource skosConcept,
boolean transitive,
boolean inference,
ARTResource... graphs)
list all concepts which are broader than concept
skosConcept The contract for this method is that it is assumed to retrieve both from skos:broader and inverse skos:narrower triples and remove duplicates in case both are being asserted |
ARTURIResourceIterator |
listBroadMatches(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all concepts broadmatched by
skosConcept |
ARTLiteralIterator |
listChangeNotes(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all ChangeNotes for given
skosConcept |
ARTLiteralIterator |
listChangeNotes(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all ChangeNotes for given
skosConcept with language == |
ARTURIResourceIterator |
listCloseMatches(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all concepts close-matched by
skosConcept |
ARTURIResourceIterator |
listCollectionResources(ARTResource skosCollection,
ARTResource... graphs)
lists all resources which are member of collection
skosCollection |
ARTURIResourceIterator |
listConcepts(boolean infer,
ARTResource... graphs)
lists all concepts declared in graphs
graphs as of rdf:type skos:concept |
ARTURIResourceIterator |
listConceptsInScheme(ARTURIResource skosScheme,
ARTResource... graphs)
lists all concepts belonging to the provided scheme
skosScheme |
ARTLiteralIterator |
listDefinitions(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all Definitions for given
skosConcept |
ARTLiteralIterator |
listDefinitions(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all Definitions for given
skosConcept with language == |
ARTLiteralIterator |
listEditorialNotes(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all EditorialNotes for given
skosConcept |
ARTLiteralIterator |
listEditorialNotes(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all EditorialNotes for given
skosConcept with language == |
ARTURIResourceIterator |
listExactMatches(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all concepts exact-matched by
skosConcept |
ARTLiteralIterator |
listExamples(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all Examples for given
skosConcept |
ARTLiteralIterator |
listExamples(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all Examples for given
skosConcept with language == |
ARTLiteralIterator |
listHiddenLabels(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
list all Hidden Labels for concept
skosConcept |
ARTLiteralIterator |
listHiddenLabels(ARTURIResource skosConcept,
String languageTag,
boolean inferred,
ARTResource... graphs)
list all Hidden Labels for concept
skosConcept with language given by
languageTag |
ARTLiteralIterator |
listHistoryNotes(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all HistoryNotes for given
skosConcept |
ARTLiteralIterator |
listHistoryNotes(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all HistoryNotes for given
skosConcept with language == |
ARTURIResourceIterator |
listMatchingConcepts(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all concepts bearing any kind of cross-scheme matching with
skosConcept |
ARTURIResourceIterator |
listNarrowerConcepts(ARTURIResource skosConcept,
boolean transitive,
boolean inference,
ARTResource... graphs)
list all concepts which are narrower than concept
skosConcept |
ARTURIResourceIterator |
listNarrowMatches(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all concepts narrowmatched by
skosConcept |
ARTLiteralIterator |
listNotations(ARTURIResource skosConcept,
ARTResource... graphs)
returns all notations for given
skosConcept |
ARTLiteralIterator |
listNotes(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all notes for given
skosConcept |
ARTLiteralIterator |
listNotes(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all notes for given
skosConcept with language == |
ARTURIResourceIterator |
listOrderedCollectionResources(ARTResource skosOrdCollection,
ARTResource... graphs)
lists (in the proper order) all resources which are member of ordered collection
skosOrdCollection |
ARTLiteralIterator |
listPrefLabels(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns the preferred labels (in all available languages) for concept
skosConcept SKOS requires that only one preferred label value is provided for a single concept for each language |
ARTURIResourceIterator |
listRelatedConcepts(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
list all concepts related to concept
skosConcept |
ARTURIResourceIterator |
listRelatedMatches(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all concepts related-matched by
skosConcept |
ARTLiteralIterator |
listScopeNotes(ARTURIResource skosConcept,
boolean inferred,
ARTResource... graphs)
returns all ScopeNotes for given
skosConcept |
ARTLiteralIterator |
listScopeNotes(ARTURIResource skosConcept,
String lang,
boolean inferred,
ARTResource... graphs)
returns all ScopeNotes for given
skosConcept with language == |
ARTURIResourceIterator |
listTopConceptsInScheme(ARTURIResource skosScheme,
boolean inferred,
ARTResource... graphs)
lists all top concepts belonging to the provided scheme
skosScheme |
void |
removeAltLabel(ARTURIResource skosConcept,
ARTLiteral label,
ARTResource... graphs) |
void |
removeAltLabel(ARTURIResource skosConcept,
String label,
String languageTag,
ARTResource... graphs) |
void |
removeBroaderConcept(ARTURIResource skosConcept,
ARTURIResource broaderConcept,
ARTResource... graphs)
remove skos:broader relation between
skosConcept and broaderConcept |
void |
removeBroadMatch(ARTURIResource skosConcept,
ARTURIResource broaderMatchedConcept,
ARTResource... graphs)
removes a broad match between the two given concepts
|
void |
removeChangeNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
removes a change note from
skosConcept |
void |
removeChangeNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
c * removes a change note from
skosConcept |
void |
removeCloseMatch(ARTURIResource skosConcept,
ARTURIResource closelyMatchedConcept,
ARTResource... graphs)
removes a close match between the two given concepts
|
void |
removeCollection(ARTResource skosCollection,
ARTResource... graphs)
remove the collection as a whole (recursively deletes all of its links, but does not delete the
skosConcepts)
|
void |
removeCollectionAndContent(ARTResource skosCollection,
ARTResource... graphs)
remove the collection as a whole (recursively deletes all of its links, AND its skosConcepts)
|
void |
removeConceptFromScheme(ARTURIResource skosConcept,
ARTURIResource skosScheme,
ARTResource... graphs)
remove a concept from given scheme in all graphs
graphs also hasTopConcept and
isTopConceptOf for given schemes are removed whenever appropriateother info about this concept is not deleted, since it could be used by other schemes in the same graph(s): use deleteConcept(ARTURIResource, ARTResource...) to completely remove any info
regarding the concept from a set of given graphs |
void |
removeConceptFromSchemes(ARTURIResource skosConcept,
ARTURIResource... skosScheme)
remove a concept from given schemes, considering the data stored in MAINGRAPH
also hasTopConcept and isTopConceptOf for given schemes are removed whenever appropriate other info about this concept is not deleted, since it could be used by other schemes in the same graph: use deleteConcept(ARTURIResource, ARTResource...) to completely remove any info
regarding the concept from a set of given graphs |
void |
removeDefinition(ARTURIResource skosConcept,
ARTLiteral def,
ARTResource... graphs)
removes a definition from
skosConcept |
void |
removeDefinition(ARTURIResource skosConcept,
String def,
String lang,
ARTResource... graphs)
removes a definition from
skosConcept |
void |
removeEditorialNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
removes an editorial note from
skosConcept |
void |
removeEditorialNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
removes an editorial note from
skosConcept |
void |
removeExactMatch(ARTURIResource skosConcept,
ARTURIResource exactlyMatchedConcept,
ARTResource... graphs)
removes an exact match between the two given concepts
|
void |
removeExample(ARTURIResource skosConcept,
ARTLiteral example,
ARTResource... graphs)
removes an example from
skosConcept |
void |
removeExample(ARTURIResource skosConcept,
String example,
String lang,
ARTResource... graphs)
removes an example from
skosConcept |
void |
removeFromCollection(ARTURIResource skosElement,
ARTResource skosCollection,
ARTResource... graphs)
removes any occurrence of element
skosElement from ordered collection
skosOrdCollection |
void |
removeFromCollection(int i,
ARTResource skosOrdCollection,
ARTResource... graphs)
remove
i th element from skosOrdCollection |
void |
removeHiddenLabel(ARTURIResource skosConcept,
ARTLiteral label,
ARTResource... graphs) |
void |
removeHiddenLabel(ARTURIResource skosConcept,
String label,
String languageTag,
ARTResource... graphs) |
void |
removeHistoryNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
removes an history note from
skosConcept |
void |
removeHistoryNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
removes an history note from
skosConcept |
void |
removeNarroweConcept(ARTURIResource skosConcept,
ARTURIResource narrowerConcept,
ARTResource... graphs)
remove skos:narrower relation between
skosConcept and narrowerConcept |
void |
removeNarrowMatch(ARTURIResource skosConcept,
ARTURIResource narrowerMatchedConcept,
ARTResource... graphs)
removes a narrow match between the two given concepts
|
void |
removeNotation(ARTURIResource skosConcept,
ARTLiteral lit,
ARTResource... ngs)
deletes a value from a skos concept on the
skos:notation property |
void |
removeNotation(ARTURIResource skosConcept,
String literalInfo,
ARTURIResource datatype,
ARTResource... ngs)
as for
removeNotation(ARTURIResource, ARTLiteral, ARTResource...) but automatically builds a
literal from the given string and with the given datatype, then removes the triple expressing the
notation on that literal |
void |
removeNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
removes a note from
skosConcept |
void |
removeNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
removes a note from
skosConcept |
void |
removePrefLabel(ARTURIResource skosConcept,
ARTLiteral label,
ARTResource... graphs) |
void |
removePrefLabel(ARTURIResource skosConcept,
String languageTag,
ARTResource... graphs)
removes the prefLabel on the basis of the given language expressed through
languageTag . |
void |
removePrefLabel(ARTURIResource skosConcept,
String label,
String languageTag,
ARTResource... graphs) |
void |
removeRelatedConcept(ARTURIResource skosConcept,
ARTURIResource relatedConcept,
ARTResource... graphs)
remove skos:related relation between
skosConcept and relatedConcept |
void |
removeRelatedMatch(ARTURIResource skosConcept,
ARTURIResource relatelyMatchedConcept,
ARTResource... graphs)
removes a related match between the two given concepts
|
void |
removeScopeNote(ARTURIResource skosConcept,
ARTLiteral note,
ARTResource... graphs)
removes a scope note from
skosConcept |
void |
removeScopeNote(ARTURIResource skosConcept,
String note,
String lang,
ARTResource... graphs)
removes a scope note from
skosConcept |
void |
renameConcept(ARTURIResource skosConcept,
String newConceptURI,
ARTResource... graphs) |
ARTURIResourceIterator |
retrieveOrphans(ARTURIResource skosScheme,
ARTResource... graphs)
addConcept and addBroaderConcept methods try to maintain consistency of topConcept relationship, by
adding or removing it whenever broader concepts are available or not.
|
void |
setDefaultScheme(ARTURIResource schema)
this method allows for the definition of a schema, which is being edited/access by default when no
explicit schema is provided through access/write methods.
|
void |
setPrefLabel(ARTURIResource skosConcept,
ARTLiteral label,
ARTResource... graphs)
sets the preferred label for concept
skosConcept if a preferred label was already available for same concept & language, then it is removed and replaced with this one |
void |
setPrefLabel(ARTURIResource skosConcept,
String label,
String languageTag,
ARTResource... graphs)
sets the preferred label for concept
skosConcept if a preferred label was already available for same concept & language, then it is removed and replaced with this one |
void |
setTopConcept(ARTURIResource skosConcept,
ARTURIResource skosScheme,
boolean isTopConcept,
ARTResource... graphs)
addConcept and addBroaderConcept methods try to maintain consistency of topConcept relationship, by
adding or removing it whenever broader concepts are available or not.
|
addClass, addComment, addLabel, addPropertyDomain, addPropertyRange, addSuperClass, addSuperProperty, deleteClass, hasSuperProperty, isClass, listClasses, listComments, listLabels, listNamedClasses, listNamedResources, listPropertiesForDomainClass, listPropertiesForRangeClass, listPropertyDomains, listPropertyRanges, listSubClasses, listSubProperties, listSuperClasses, listSuperProperties, listURISuperClasses, removeComment, removeLabel, removePropertyDomain, removePropertyRange, removeSuperClass, removeSuperProperty, renameClass, retrieveClass
addInstance, addProperty, addType, deleteProperty, deleteResource, existsResource, hasType, instantiatePropertyWithPlainLiteral, instantiatePropertyWithPlainLiteral, instantiatePropertyWithResource, instantiatePropertyWithTypedLiteral, isLocallyDefined, isProperty, listInstances, listNamedInstances, listProperties, listTypes, removeType, renameProperty, renameResource, retrieveBNode, retrieveURIResource
addRDF, addRDF, addStatement, addTriple, clearRDF, close, deleteStatement, deleteTriple, getBaseURI, getDefaultNamespace, hasStatement, hasTriple, listNamedGraphs, listNamespaces, listPredicatesOfSubjObjPair, listStatements, listSubjectsOfPredObjPair, listValuesOfSubjPredPair, setBaseURI, setDefaultNamespace, writeRDF, writeRDF
expandQName, getNamespacePrefixMapping, getNSForPrefix, getPrefixForNS, getQName, removeNsPrefixMapping, setNsPrefix
createBNode, createBNode, createLiteral, createLiteral, createLiteral, createStatement, createURIResource
writeRDF, writeRDF
createBooleanQuery, createBooleanQuery, createBooleanQuery, createGraphQuery, createGraphQuery, createGraphQuery, createQuery, createQuery, createQuery, createTupleQuery, createTupleQuery, createTupleQuery, createUpdateQuery, createUpdateQuery, createUpdateQuery
createBooleanQuery, createGraphQuery, createQuery, createTupleQuery, createUpdate
supportsClassIdentification, supportsSubClassOfClosure, supportsSubPropertyMaterialization, supportsSubPropertyOfClosure
ARTURIResource getDefaultSchema()
ARTURIResourceIterator listConcepts(boolean infer, ARTResource... graphs) throws ModelAccessException
graphs
as of rdf:type
skos:conceptinfer
- graphs
- ModelAccessException
ARTURIResourceIterator listConceptsInScheme(ARTURIResource skosScheme, ARTResource... graphs) throws ModelAccessException
skosScheme
scheme
- graphs
- ModelAccessException
boolean isConcept(ARTURIResource concept, ARTResource... graphs) throws ModelAccessException
concept
- graphs
- ModelAccessException
boolean isSKOSConceptScheme(ARTResource conceptScheme, ARTResource... graphs) throws ModelAccessException
conceptScheme
- graphs
- ModelAccessException
boolean isInScheme(ARTURIResource skosConcept, ARTURIResource skosScheme, ARTResource... graphs) throws ModelAccessException
skosConcept
is in scheme skosScheme
skosConcept
- skosScheme
- graphs
- ModelAccessException
ARTURIResourceIterator listAllSchemes(ARTResource... graphs) throws ModelAccessException
graphs
- ModelAccessException
ARTURIResourceIterator listAllSchemesForConcept(ARTURIResource skosConcept, ARTResource... graphs) throws ModelAccessException
skosConcept
belongsskosConcept
- graphs
- ModelAccessException
ARTURIResourceIterator listTopConceptsInScheme(ARTURIResource skosScheme, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosScheme
scheme
- graphs
- ModelAccessException
boolean isTopConcept(ARTURIResource skosConcept, ARTURIResource skosScheme, ARTResource... graphs) throws ModelAccessException
skosConcept
is a topConcept in given skosScheme
skosConcept
- skosScheme
- graphs
- ModelAccessException
ARTURIResourceIterator retrieveOrphans(ARTURIResource skosScheme, ARTResource... graphs) throws ModelAccessException
skosScheme
- graphs
- ModelAccessException
ARTURIResource addSKOSConceptScheme(String url, ARTResource... graphs) throws ModelUpdateException
uri
and stores it in named graphs graphs
scheme
- new schemegraphs
- named graphsModelUpdateException
void addSKOSConceptScheme(ARTResource conceptScheme, ARTResource... graphs) throws ModelUpdateException
conceptScheme
and stores it in named graphs graphs
conceptScheme
- new schemegraphs
- named graphsModelUpdateException
void setDefaultScheme(ARTURIResource schema) throws ModelAccessException, ModelUpdateException
schema
has not previosly been defined as a SKOSConceptScheme, then this
definition is added before setting it as the default schemeschema
- the new default schemaModelAccessException
ModelUpdateException
void addConceptToSchemes(String uri, ARTURIResource broaderConcept, ARTURIResource... skosScheme) throws ModelUpdateException, ModelAccessException
uri
to all schemes in skosScheme
storing it in
the MAINGRAPHuri
- broaderConcept
- a first concept where the newly created one is being attached. If it is set to
NodeFilters.NONE
, then the new concept is set to be skos:topConceptOf the given
skosScheme
skosScheme
- ModelUpdateException
ModelAccessException
void addConcept(String uri, ARTURIResource broaderConcept, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
uri
to the default schema and stores it in named graphs
graphs
uri
- broaderConcept
- a first concept where the newly created one is being attached. If it is set to
NodeFilters.NONE
, then the new concept is set to be skos:topConceptOf the default
Schemegraphs
- ModelUpdateException
ModelAccessException
void addConceptToScheme(String uri, ARTURIResource broaderConcept, ARTURIResource skosScheme, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
uri
to scheme skosScheme
and stores it in named
graphs graphs
uri
- broaderConcept
- a first concept where the newly created one is being attached. If it is set to
NodeFilters.NONE
, then the new concept is set to be skos:topConceptOf given SchemeskosScheme
- graphs
- ModelUpdateException
ModelAccessException
void addConceptToScheme(ARTURIResource concept, ARTURIResource skosScheme, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
concept
to scheme skosScheme
under graphs graphs
.concept
- skosScheme
- graphs
- ModelUpdateException
ModelAccessException
void setTopConcept(ARTURIResource skosConcept, ARTURIResource skosScheme, boolean isTopConcept, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
skosConcept
- skosScheme
- isTopConcept
- graphs
- ModelUpdateException
ModelAccessException
void removeConceptFromSchemes(ARTURIResource skosConcept, ARTURIResource... skosScheme) throws ModelAccessException, ModelUpdateException
deleteConcept(ARTURIResource, ARTResource...)
to completely remove any info
regarding the concept from a set of given graphsskosConcept
- skosScheme
- ModelUpdateException
ModelAccessException
void removeConceptFromScheme(ARTURIResource skosConcept, ARTURIResource skosScheme, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
graphs
also hasTopConcept and
isTopConceptOf for given schemes are removed whenever appropriatedeleteConcept(ARTURIResource, ARTResource...)
to completely remove any info
regarding the concept from a set of given graphsskosConcept
- skosScheme
- ModelUpdateException
ModelAccessException
void deleteConcept(ARTURIResource skosConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
and all information about it from graphs graphs
skosConcept
- skosScheme
- ModelUpdateException
void deleteScheme(ARTURIResource skosScheme, boolean forceDeletingDanglingConcepts, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
skosScheme
- the scheme to be deletedforceDeletingDanglingConcepts
- if set to true
, all concepts which are not bound to schemes other than the one
to be deleted, are deleted as wellgraphs
- ModelUpdateException
ModelAccessException
void renameConcept(ARTURIResource skosConcept, String newConceptURI, ARTResource... graphs) throws ModelUpdateException
ModelUpdateException
ARTURIResourceIterator listBroaderConcepts(ARTURIResource skosConcept, boolean transitive, boolean inference, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- transitive
- if true, the property SKOS.BROADERTRANSITIVE
is queried instead; in this case
inference
is true by default, no matter how the argument is specified
graphs
- ModelAccessException
ARTURIResourceIterator listNarrowerConcepts(ARTURIResource skosConcept, boolean transitive, boolean inference, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- transitive
- if true, the property SKOS.NARROWERTRANSITIVE
is queried instead; (
inference
is true by default, no matter what the argument is specified
inference
- graphs
- ModelAccessException
boolean hasBroaderConcept(ARTURIResource skosConcept, ARTURIResource broaderSkosConcept, boolean transitive, boolean inference, ARTResource... graphs) throws ModelAccessException
skosConcept
has a broader concept: broaderSkosConcept
skosConcept
- transitive
- if true, the property SKOS.BROADERTRANSITIVE
is queried instead; (if this argument
is true,
inference
is also true by default, no matter what the argument is specified
inference
- graphs
- ModelAccessException
boolean hasNarrowerConcept(ARTURIResource skosConcept, ARTURIResource narrowerSkosConcept, boolean transitive, boolean inference, ARTResource... graphs) throws ModelAccessException
skosConcept
has a narrower concept: narrowerSkosConcept
skosConcept
- transitive
- if true, the property SKOS.NARROWERTRANSITIVE
is queried instead; (if this argument
is true,
inference
is also true by default, no matter what the argument is specified
inference
- graphs
- ModelAccessException
ARTURIResourceIterator listRelatedConcepts(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- if true, includes also triples having a predicate which is subproperty of
SKOS.RELATED
graphs
- ModelAccessException
void addBroaderConcept(ARTURIResource skosConcept, ARTURIResource broaderConcept, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
addBroaderConcept(ARTURIResource, ARTURIResource, boolean, ARTResource...)
with
cleanTopConcept
set to falseskosConcept
- broaderConcept
- graphs
- ModelUpdateException
ModelAccessException
void addBroaderConcept(ARTURIResource skosConcept, ARTURIResource broaderConcept, boolean cleanTopConcept, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
skosConcept
to have broaderConcept
as one of its broader conceptscleanTopConcept
is true, for each scheme in which broaderConcept appears, removes
skosConcept to be a topconcept for that scheme (as there is already broaderConcept in a higher position
in the tree)skosConcept
- broaderConcept
- cleanTopConcept
- graphs
- ModelAccessException
ModelUpdateException
void addNarrowerConcept(ARTURIResource skosConcept, ARTURIResource narrowerConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
to have narrowerConcept
as one of its narrower conceptsskosConcept
- narrowerConcept
- graphs
- TODOModelUpdateException
void removeBroaderConcept(ARTURIResource skosConcept, ARTURIResource broaderConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
and broaderConcept
skosConcept
- broaderConcept
- graphs
- TODOModelUpdateException
void removeNarroweConcept(ARTURIResource skosConcept, ARTURIResource narrowerConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
and narrowerConcept
skosConcept
- narrowerConcept
- graphs
- TODOModelUpdateException
void removeRelatedConcept(ARTURIResource skosConcept, ARTURIResource relatedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
and relatedConcept
skosConcept
- narrowerConcept
- graphs
- TODOModelUpdateException
ARTLiteral getPrefLabel(ARTURIResource skosConcept, String languageTag, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
for language expressed by ISO
languageTag
skosConcept
- languageTag
- graphs
- ModelAccessException
ARTLiteralIterator listPrefLabels(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
ARTLiteralIterator listAltLabels(ARTURIResource skosConcept, String languageTag, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
with language given by
languageTag
skosConcept
- languageTag
- graphs
- ModelAccessException
ARTLiteralIterator listAltLabels(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
ARTLiteralIterator listHiddenLabels(ARTURIResource skosConcept, String languageTag, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
with language given by
languageTag
skosConcept
- languageTag
- graphs
- ModelAccessException
ARTLiteralIterator listHiddenLabels(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
void setPrefLabel(ARTURIResource skosConcept, ARTLiteral label, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- label
- graphs
- ModelAccessException
ModelUpdateException
void setPrefLabel(ARTURIResource skosConcept, String label, String languageTag, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- label
- languageTag
- graphs
- ModelAccessException
ModelUpdateException
void addAltLabel(ARTURIResource skosConcept, ARTLiteral label, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- label
- graphs
- ModelUpdateException
void addAltLabel(ARTURIResource skosConcept, String label, String languageTag, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- label
- languageTag
- graphs
- ModelUpdateException
void addHiddenLabel(ARTURIResource skosConcept, ARTLiteral label, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- label
- graphs
- ModelUpdateException
void addHiddenLabel(ARTURIResource skosConcept, String label, String languageTag, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- label
- languageTag
- graphs
- ModelUpdateException
void removePrefLabel(ARTURIResource skosConcept, String languageTag, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
languageTag
.skosConcept
- languageTag
- graphs
- ModelAccessException
ModelUpdateException
void removePrefLabel(ARTURIResource skosConcept, String label, String languageTag, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
void removePrefLabel(ARTURIResource skosConcept, ARTLiteral label, ARTResource... graphs) throws ModelUpdateException
ModelUpdateException
void removeAltLabel(ARTURIResource skosConcept, String label, String languageTag, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
void removeAltLabel(ARTURIResource skosConcept, ARTLiteral label, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
void removeHiddenLabel(ARTURIResource skosConcept, String label, String languageTag, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
void removeHiddenLabel(ARTURIResource skosConcept, ARTLiteral label, ARTResource... graphs) throws ModelUpdateException
ModelUpdateException
ARTLiteral getNotation(ARTURIResource skosConcept, ARTURIResource datatype, ARTResource... graphs) throws ModelAccessException
skosConcept
with given datatype
skosConcept
- datatype
- if null
, notation as plain literal is returned; if NodeFilters.ANY
,
then the first available notation is returnedgraphs
- ModelAccessException
ARTLiteral getNotation(ARTURIResource skosConcept, ARTResource... graphs) throws ModelAccessException
getNotation(ARTURIResource, ARTURIResource, ARTResource...)
with datatype set to
null
skosConcept
- graphs
- ModelAccessException
ARTLiteralIterator listNotations(ARTURIResource skosConcept, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
void addNotation(ARTURIResource skosConcept, ARTLiteral lit, ARTResource... ngs) throws ModelUpdateException
skos:notation
propertyskosConcept
- lit
- ngs
- ModelUpdateException
void addNotation(ARTURIResource skosConcept, String literalInfo, ARTURIResource datatype, ARTResource... ngs) throws ModelUpdateException
addNotation(ARTURIResource, ARTLiteral, ARTResource...)
but automatically builds a
literal from the given string and with the given datatypeskosConcept
- literalInfo
- datatype
- ngs
- ModelUpdateException
void removeNotation(ARTURIResource skosConcept, ARTLiteral lit, ARTResource... ngs) throws ModelUpdateException
skos:notation
propertyskosConcept
- lit
- ngs
- ModelUpdateException
void removeNotation(ARTURIResource skosConcept, String literalInfo, ARTURIResource datatype, ARTResource... ngs) throws ModelAccessException, ModelUpdateException
removeNotation(ARTURIResource, ARTLiteral, ARTResource...)
but automatically builds a
literal from the given string and with the given datatype, then removes the triple expressing the
notation on that literalskosConcept
- literalInfo
- datatype
- ngs
- ModelAccessException
ModelUpdateException
ARTLiteralIterator listNotes(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listNotes(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listChangeNotes(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listChangeNotes(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listDefinitions(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listDefinitions(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listEditorialNotes(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listEditorialNotes(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listExamples(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listExamples(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listHistoryNotes(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listHistoryNotes(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listScopeNotes(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTLiteralIterator listScopeNotes(ARTURIResource skosConcept, String lang, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept with language == lang
skosConcept
- lang
- inferred
- graphs
- ModelAccessException
void addNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelUpdateException
void addNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void addChangeNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelUpdateException
void addChangeNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void addDefinition(ARTURIResource skosConcept, String def, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- def
- lang
- graphs
- ModelUpdateException
void addDefinition(ARTURIResource skosConcept, ARTLiteral def, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- def
- graphs
- ModelUpdateException
void addEditorialNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelUpdateException
void addEditorialNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void addExample(ARTURIResource skosConcept, String example, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- example
- lang
- graphs
- ModelUpdateException
void addExample(ARTURIResource skosConcept, ARTLiteral example, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- example
- graphs
- ModelUpdateException
void addHistoryNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelUpdateException
void addHistoryNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void addScopeNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelUpdateException
void addScopeNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void removeNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void removeChangeNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeChangeNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void removeDefinition(ARTURIResource skosConcept, String def, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- def
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeDefinition(ARTURIResource skosConcept, ARTLiteral def, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- def
- graphs
- ModelUpdateException
void removeEditorialNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeEditorialNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void removeExample(ARTURIResource skosConcept, String example, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- example
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeExample(ARTURIResource skosConcept, ARTLiteral example, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- example
- graphs
- ModelUpdateException
void removeHistoryNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeHistoryNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
void removeScopeNote(ARTURIResource skosConcept, String note, String lang, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- note
- lang
- graphs
- ModelAccessException
ModelUpdateException
void removeScopeNote(ARTURIResource skosConcept, ARTLiteral note, ARTResource... graphs) throws ModelUpdateException
skosConcept
skosConcept
- note
- graphs
- ModelUpdateException
ARTURIResourceIterator listCollectionResources(ARTResource skosCollection, ARTResource... graphs) throws ModelAccessException
skosCollection
skosCollection
- graphs
- ModelAccessException
boolean isMemberOfCollection(ARTResource skosResource, ARTResource skosCollection, ARTResource... graphs) throws ModelAccessException
skosCollection
. Note that since collections
allow for nested collections, skosResource
allows for both concepts and collections to be
used as an argumentskosResource
- skosCollection
- graphs
- ModelAccessException
ARTURIResourceIterator listOrderedCollectionResources(ARTResource skosOrdCollection, ARTResource... graphs) throws ModelAccessException
skosOrdCollection
skosOrdCollection
- graphs
- ModelAccessException
int hasPositionInList(ARTResource skosResource, ARTResource skosOrdCollection, ARTResource... graphs) throws ModelAccessException
#hasPositionInList(ARTResource, ARTResource, boolean)
with numbering starting from 1skosResource
- skosOrdCollection
- graphs
- TODOModelAccessException
void addSKOSCollection(String url, Collection<ARTURIResource> conceptsCollection, ARTResource... graphs) throws ModelUpdateException
conceptsCollection
to a new SKOS
collection with given uri
conceptsCollection
- graphs
- ModelUpdateException
void addSKOSCollection(Collection<ARTURIResource> conceptsCollection, ARTResource... graphs) throws ModelUpdateException
conceptsCollection
to a new SKOS
collectionconceptsCollection
- graphs
- ModelUpdateException
void addSKOSCollection(ARTURIResourceIterator conceptsIterator, ARTResource... graphs) throws ModelUpdateException
conceptsIterator
to a new collectionconceptsIterator
- graphs
- ModelUpdateException
void addSKOSOrderedCollection(List<ARTURIResource> conceptsList, ARTResource... graphs) throws ModelUpdateException
conceptsList
to a new SKOS ordered
collectionconceptsList
- graphs
- ModelUpdateException
void addSKOSOrderedCollection(ARTURIResource orderedCollection, List<ARTURIResource> conceptsList, ARTResource... graphs) throws ModelUpdateException
conceptsList
to a new SKOS ordered
collection orderedCollection
orderedCollection
- ordered collection to addconceptsList
- list of concept to addgraphs
- named graphsModelUpdateException
void addSKOSOrderedCollection(ARTURIResourceIterator conceptsIterator, ARTResource... graphs) throws ModelUpdateException
conceptsIterator
to a new ordered collection in
the same order in which they are returned by the iteratorconceptsIterator
- graphs
- ModelUpdateException
void addFirstToSKOSOrderedCollection(ARTURIResource skosConcept, ARTResource skosCollection, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
as first element of skosOrderedCollection
conceptsIterator
- graphs
- ModelUpdateException
ModelAccessException
void addLastToSKOSOrderedCollection(ARTURIResource skosConcept, ARTResource skosCollection, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
as last element of skosOrderedCollection
conceptsIterator
- graphs
- ModelAccessException
ModelUpdateException
void addInPositionToSKOSOrderedCollection(ARTURIResource skosConcept, int position, ARTResource skosOrderedCollection, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
to skosOrderedCollection
in position
position
conceptsIterator
- graphs
- ModelAccessException
ModelUpdateException
void removeFromCollection(ARTURIResource skosElement, ARTResource skosCollection, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
skosElement
from ordered collection
skosOrdCollection
skosElement
- graphs
- TODOskosOrdCollection
- ModelUpdateException
ModelAccessException
void removeFromCollection(int i, ARTResource skosOrdCollection, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
i
th element from skosOrdCollection
skosOrdCollection
- graphs
- TODOposition
- ModelAccessException
ModelUpdateException
void removeCollection(ARTResource skosCollection, ARTResource... graphs) throws ModelUpdateException, ModelAccessException
skosCollection
- graphs
- TODOModelUpdateException
ModelAccessException
void removeCollectionAndContent(ARTResource skosCollection, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosCollection
- graphs
- TODOModelUpdateException
ModelAccessException
ARTURIResourceIterator listMatchingConcepts(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs)
skosConcept
skosConcept
- inferred
- graphs
- ARTURIResourceIterator listBroadMatches(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTURIResourceIterator listNarrowMatches(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTURIResourceIterator listCloseMatches(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- if true, even exact matches will be returned!graphs
- ModelAccessException
ARTURIResourceIterator listExactMatches(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
ARTURIResourceIterator listRelatedMatches(ARTURIResource skosConcept, boolean inferred, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- inferred
- graphs
- ModelAccessException
void addBroadMatch(ARTURIResource skosConcept, ARTURIResource broaderMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- broaderMatchedConcept
- graphs
- TODOModelUpdateException
void addNarrowMatch(ARTURIResource skosConcept, ARTURIResource narrowerMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- narrowerMatchedConcept
- graphs
- TODOModelUpdateException
void addCloseMatch(ARTURIResource skosConcept, ARTURIResource closelyMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- closelyMatchedConcept
- graphs
- TODOModelUpdateException
void addExactMatch(ARTURIResource skosConcept, ARTURIResource exactlyMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- exactlyMatchedConcept
- graphs
- TODOModelUpdateException
void addRelatedMatch(ARTURIResource skosConcept, ARTURIResource relatelyMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- relatelyMatchedConcept
- graphs
- TODOModelUpdateException
void addRelatedConcept(ARTURIResource skosConcept, ARTURIResource relatedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
to have relatedConcept
as one of its related conceptsskosConcept
- narrowerConcept
- graphs
- TODOModelUpdateException
void removeBroadMatch(ARTURIResource skosConcept, ARTURIResource broaderMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- broaderMatchedConcept
- graphs
- TODOModelUpdateException
void removeNarrowMatch(ARTURIResource skosConcept, ARTURIResource narrowerMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- narrowerMatchedConcept
- graphs
- TODOModelUpdateException
void removeCloseMatch(ARTURIResource skosConcept, ARTURIResource closelyMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- closelyMatchedConcept
- graphs
- TODOModelUpdateException
void removeExactMatch(ARTURIResource skosConcept, ARTURIResource exactlyMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- exactlyMatchedConcept
- graphs
- TODOModelUpdateException
void removeRelatedMatch(ARTURIResource skosConcept, ARTURIResource relatelyMatchedConcept, ARTResource... graphs) throws ModelUpdateException
skosConcept
- relatelyMatchedConcept
- graphs
- TODOModelUpdateException
OWLModel getOWLModel()
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.