public interface SKOSXLModel extends SKOSModel
Modifier and Type | Method and Description |
---|---|
void |
addAltXLabel(ARTURIResource skosConcept,
ARTLiteral literalform,
ARTResource... graphs)
adds an alternative xLabel to
skosConcept by constructing it from its plain literalformthe xlabel will be created as a ARTBNode and linked to skosConcept |
void |
addAltXLabel(ARTURIResource skosConcept,
ARTResource xlabel,
ARTResource... graphs)
adds an alternative xLabel to
skosConcept |
void |
addAltXLabel(ARTURIResource skosConcept,
String literalform,
String language,
ARTResource... graphs)
adds an alternative xLabel to
skosConcept by constructing it from its plain string
descriptor and language tag |
void |
addHiddenXLabel(ARTURIResource skosConcept,
ARTLiteral literalform,
ARTResource... graphs)
adds an hidden xLabel to
skosConcept by constructing it from its plain literalform |
void |
addHiddenXLabel(ARTURIResource skosConcept,
ARTResource xlabel,
ARTResource... graphs)
adds an hidden xLabel to
skosConcept |
void |
addHiddenXLabel(ARTURIResource skosConcept,
String literalform,
String language,
ARTResource... graphs)
adds an hidden xLabel to
skosConcept by constructing it from its plain string descriptor
and language tag |
ARTResource |
addXLabel(ARTLiteral literalForm,
ARTResource... graphs)
as for
addXLabel(ARTLiteral, boolean, ARTResource...) with makeItURI ==false |
ARTResource |
addXLabel(ARTLiteral literalForm,
boolean makeItURI,
ARTResource... graphs)
creates a skosxl:Label resource and attaches a literalform to it
depending on the value of the makeItURI argument, the resource representing the XLabel can
be either a bnode or a randomly generated URI (e.g. implementations of this method are expected to use
the createRandomURI4XLabel(String) for generating the URI) |
void |
addXLabel(ARTResource xLabel,
ARTLiteral literalForm,
ARTResource... graphs)
makes a newly created resource a skosxl:Label, and attaches a literalform to it
|
ARTURIResource |
addXLabel(String xLabelURI,
ARTLiteral literalForm,
ARTResource... graphs)
creates a skosxl:Label from a string URI, and attaches a literalform to it
|
ARTResource |
addXLabel(String literalForm,
String language,
ARTResource... graphs)
as for
addXLabel(String, String, boolean, ARTResource...) with makeItURI ==false |
ARTResource |
addXLabel(String literalForm,
String language,
boolean makeItURI,
ARTResource... graphs)
as for
addXLabel(ARTLiteral, boolean, ARTResource...) except that the literalForm is composed
through the arguments literalForm representing the true lexical content of the label, and
the lang code specified in language |
ARTURIResource |
addXLabel(String xLabelURI,
String label,
String language,
ARTResource... graphs)
creates a skosxl:Label from a string URI, and attaches a literalform to it created from a string label and the
language for it
|
void |
changeLiteralForm(ARTResource xLabel,
ARTLiteral literalForm,
ARTResource... graphs)
changes the literal form of the given
xLabel according to given arguments |
void |
changeLiteralForm(ARTResource xLabel,
String literalForm,
String language,
ARTResource... graphs)
changes the literal form of the given
xLabel according to given arguments |
ARTURIResource |
createRandomURI4XLabel(String lang)
a URI of the form: "xl_<
lang >_<randomNumber>" is generated |
void |
deleteXLabel(ARTResource xLabel,
ARTResource... graphs)
deletes the xLabel, and any incoming/outcoming triple related to it.
|
void |
detachXLabel(ARTResource skosConcept,
ARTResource xLabel,
ARTResource... graphs)
simply deletes any triple linking given
skosConcept and xLabel The xLabel definition, its lexical form and any other relationship with other resources is not removed from the model The reason for the need to specify the skosConcept is that we do not make any assumption on the use of xlabels in the managed vocabulary. |
ARTLiteral |
getLiteralForm(ARTResource xLabel,
ARTResource... graphs)
gets the literalform associated to XLabel
xLabel |
ARTResource |
getPrefXLabel(ARTURIResource skosConcept,
String languageTag,
ARTResource... graphs)
returns the preferred XLabel for concept
skosConcept with language given by
languageTag |
ARTResourceIterator |
getRelatedLabels(ARTResource xLabel,
ARTResource... graphs)
since
skosxl:labelRelation property represents an extension point and is not thought to be
instantiated its way, if available a reasoner is set by default |
boolean |
isXLabel(ARTResource resource,
ARTResource... graphs)
tells if the given
resource is an instance of skosxl:Label |
ARTResourceIterator |
listAltXLabels(ARTURIResource skosConcept,
ARTResource... graphs)
list all Alternative XLabels for concept
skosConcept |
ARTResourceIterator |
listAltXLabels(ARTURIResource skosConcept,
String languageTag,
ARTResource... graphs)
list all Alternative XLabels for concept
skosConcept with language given by
languageTag |
ARTResourceIterator |
listHiddenXLabels(ARTURIResource skosConcept,
ARTResource... graphs)
list all Hidden XLabels for concept
skosConcept |
ARTResourceIterator |
listHiddenXLabels(ARTURIResource skosConcept,
String languageTag,
ARTResource... graphs)
list all Hidden XLabels for concept
skosConcept with language given by
languageTag |
ARTResourceIterator |
listPrefXLabels(ARTURIResource skosConcept,
ARTResource... graphs)
returns the preferred XLabels (in all available languages) for concept
skosConcept SKOS requires that only one preferred label value is provided for a single concept for each language |
void |
setPrefXLabel(ARTURIResource skosConcept,
ARTLiteral literalform,
ARTResource... graphs)
as for
setPrefXLabel(ARTURIResource, ARTLiteral, boolean, ARTResource...) with delete=true |
void |
setPrefXLabel(ARTURIResource skosConcept,
ARTLiteral literalform,
boolean delete,
ARTResource... graphs)
sets the preferred label for concept
skosConcept by creating it from passed arguments |
void |
setPrefXLabel(ARTURIResource skosConcept,
ARTResource xlabel,
ARTResource... graphs)
as for
setPrefXLabel(ARTURIResource, ARTResource, boolean, ARTResource...) with delete=true |
void |
setPrefXLabel(ARTURIResource skosConcept,
ARTResource xlabel,
boolean delete,
ARTResource... graphs)
sets the preferred label for concept
skosConcept |
void |
setPrefXLabel(ARTURIResource skosConcept,
String literalform,
String language,
ARTResource... graphs)
as for
setPrefXLabel(ARTURIResource, String, String, boolean, ARTResource...) with delete=true |
void |
setPrefXLabel(ARTURIResource skosConcept,
String literalform,
String language,
boolean delete,
ARTResource... graphs)
sets the preferred label for concept
skosConcept by creating it from passed arguments |
addAltLabel, addAltLabel, addBroaderConcept, addBroaderConcept, addBroadMatch, addChangeNote, addChangeNote, addCloseMatch, addConcept, addConceptToScheme, addConceptToScheme, addConceptToSchemes, addDefinition, addDefinition, addEditorialNote, addEditorialNote, addExactMatch, addExample, addExample, addFirstToSKOSOrderedCollection, addHiddenLabel, addHiddenLabel, addHistoryNote, addHistoryNote, addInPositionToSKOSOrderedCollection, addLastToSKOSOrderedCollection, addNarrowerConcept, addNarrowMatch, addNotation, addNotation, addNote, addNote, addRelatedConcept, addRelatedMatch, addScopeNote, addScopeNote, addSKOSCollection, addSKOSCollection, addSKOSCollection, addSKOSConceptScheme, addSKOSConceptScheme, addSKOSOrderedCollection, addSKOSOrderedCollection, addSKOSOrderedCollection, deleteConcept, deleteScheme, getDefaultSchema, getNotation, getNotation, getOWLModel, getPrefLabel, hasBroaderConcept, hasNarrowerConcept, hasPositionInList, isConcept, isInScheme, isMemberOfCollection, isSKOSConceptScheme, isTopConcept, listAllSchemes, listAllSchemesForConcept, listAltLabels, listAltLabels, listBroaderConcepts, listBroadMatches, listChangeNotes, listChangeNotes, listCloseMatches, listCollectionResources, listConcepts, listConceptsInScheme, listDefinitions, listDefinitions, listEditorialNotes, listEditorialNotes, listExactMatches, listExamples, listExamples, listHiddenLabels, listHiddenLabels, listHistoryNotes, listHistoryNotes, listMatchingConcepts, listNarrowerConcepts, listNarrowMatches, listNotations, listNotes, listNotes, listOrderedCollectionResources, listPrefLabels, listRelatedConcepts, listRelatedMatches, listScopeNotes, listScopeNotes, listTopConceptsInScheme, removeAltLabel, removeAltLabel, removeBroaderConcept, removeBroadMatch, removeChangeNote, removeChangeNote, removeCloseMatch, removeCollection, removeCollectionAndContent, removeConceptFromScheme, removeConceptFromSchemes, removeDefinition, removeDefinition, removeEditorialNote, removeEditorialNote, removeExactMatch, removeExample, removeExample, removeFromCollection, removeFromCollection, removeHiddenLabel, removeHiddenLabel, removeHistoryNote, removeHistoryNote, removeNarroweConcept, removeNarrowMatch, removeNotation, removeNotation, removeNote, removeNote, removePrefLabel, removePrefLabel, removePrefLabel, removeRelatedConcept, removeRelatedMatch, removeScopeNote, removeScopeNote, renameConcept, retrieveOrphans, setDefaultScheme, setPrefLabel, setPrefLabel, setTopConcept
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
ARTLiteral getLiteralForm(ARTResource xLabel, ARTResource... graphs) throws ModelAccessException
xLabel
xLabel
- graphs
- ModelAccessException
ARTResourceIterator getRelatedLabels(ARTResource xLabel, ARTResource... graphs) throws ModelAccessException
skosxl:labelRelation
property represents an extension point and is not thought to be
instantiated its way, if available a reasoner is set by defaultxLabel
- graphs
- ModelAccessException
void addXLabel(ARTResource xLabel, ARTLiteral literalForm, ARTResource... graphs) throws ModelUpdateException
xLabel
- literalForm
- graphs
- ModelUpdateException
ARTURIResource addXLabel(String xLabelURI, ARTLiteral literalForm, ARTResource... graphs) throws ModelUpdateException
xLabelURI
- literalForm
- graphs
- ModelUpdateException
ARTURIResource addXLabel(String xLabelURI, String label, String language, ARTResource... graphs) throws ModelUpdateException
xLabelURI
- label
- language
- ModelUpdateException
ARTResource addXLabel(ARTLiteral literalForm, boolean makeItURI, ARTResource... graphs) throws ModelUpdateException
makeItURI
argument, the resource representing the XLabel can
be either a bnode or a randomly generated URI (e.g. implementations of this method are expected to use
the createRandomURI4XLabel(String)
for generating the URI)literalForm
- makeItURI
- if true
, then a URI is created for the XLabelgraphs
- ModelUpdateException
ARTResource addXLabel(String literalForm, String language, boolean makeItURI, ARTResource... graphs) throws ModelUpdateException
addXLabel(ARTLiteral, boolean, ARTResource...)
except that the literalForm is composed
through the arguments literalForm
representing the true lexical content of the label, and
the lang code specified in language
literalForm
- language
- makeItURI
- if true
, then a URi is created for the XLabelgraphs
- ModelUpdateException
ARTResource addXLabel(ARTLiteral literalForm, ARTResource... graphs) throws ModelUpdateException
addXLabel(ARTLiteral, boolean, ARTResource...)
with makeItURI
==falseliteralForm
- graphs
- ModelUpdateException
ARTResource addXLabel(String literalForm, String language, ARTResource... graphs) throws ModelUpdateException
addXLabel(String, String, boolean, ARTResource...)
with makeItURI
==falseliteralForm
- language
- graphs
- ModelUpdateException
void changeLiteralForm(ARTResource xLabel, ARTLiteral literalForm, ARTResource... graphs) throws ModelUpdateException
xLabel
according to given argumentsxLabel
- literalForm
- ModelUpdateException
void changeLiteralForm(ARTResource xLabel, String literalForm, String language, ARTResource... graphs) throws ModelUpdateException
xLabel
according to given argumentsxLabel
- literalForm
- language
- ModelUpdateException
void deleteXLabel(ARTResource xLabel, ARTResource... graphs) throws ModelUpdateException
xLabel
- ModelUpdateException
boolean isXLabel(ARTResource resource, ARTResource... graphs) throws ModelAccessException
resource
is an instance of skosxl:Label
resource
- graphs
- ModelAccessException
ARTResource getPrefXLabel(ARTURIResource skosConcept, String languageTag, ARTResource... graphs) throws ModelAccessException
skosConcept
with language given by
languageTag
skosConcept
- languageTag
- graphs
- ModelAccessException
ARTResourceIterator listPrefXLabels(ARTURIResource skosConcept, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
ARTResourceIterator listAltXLabels(ARTURIResource skosConcept, String languageTag, ARTResource... graphs) throws ModelAccessException
skosConcept
with language given by
languageTag
skosConcept
- languageTag
- graphs
- ModelAccessException
ARTResourceIterator listAltXLabels(ARTURIResource skosConcept, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
ARTResourceIterator listHiddenXLabels(ARTURIResource skosConcept, String languageTag, ARTResource... graphs) throws ModelAccessException
skosConcept
with language given by
languageTag
skosConcept
- languageTag
- graphs
- ModelAccessException
ARTResourceIterator listHiddenXLabels(ARTURIResource skosConcept, ARTResource... graphs) throws ModelAccessException
skosConcept
skosConcept
- graphs
- ModelAccessException
void setPrefXLabel(ARTURIResource skosConcept, ARTResource xlabel, boolean delete, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- xlabel
- graphs
- delete
- if true
previous xlabel is deleted as for
deleteXLabel(ARTResource, ARTResource...)
ModelAccessException
ModelUpdateException
void setPrefXLabel(ARTURIResource skosConcept, ARTResource xlabel, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
setPrefXLabel(ARTURIResource, ARTResource, boolean, ARTResource...)
with delete=trueskosConcept
- xlabel
- graphs
- ModelAccessException
ModelUpdateException
void setPrefXLabel(ARTURIResource skosConcept, ARTLiteral literalform, boolean delete, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
by creating it from passed argumentsskosConcept
- literalform
- delete
- graphs
- ModelAccessException
ModelUpdateException
void setPrefXLabel(ARTURIResource skosConcept, ARTLiteral literalform, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
setPrefXLabel(ARTURIResource, ARTLiteral, boolean, ARTResource...)
with delete=trueskosConcept
- literalform
- graphs
- ModelAccessException
ModelUpdateException
void setPrefXLabel(ARTURIResource skosConcept, String literalform, String language, boolean delete, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
by creating it from passed argumentsskosConcept
- literalform
- language
- delete
- if true
previous xlabel is deleted as for
deleteXLabel(ARTResource, ARTResource...)
graphs
- ModelAccessException
ModelUpdateException
void setPrefXLabel(ARTURIResource skosConcept, String literalform, String language, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
setPrefXLabel(ARTURIResource, String, String, boolean, ARTResource...)
with delete=trueskosConcept
- literalform
- language
- graphs
- ModelAccessException
ModelUpdateException
void addAltXLabel(ARTURIResource skosConcept, ARTResource xlabel, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- xlabel
- graphs
- ModelAccessException
ModelUpdateException
void addAltXLabel(ARTURIResource skosConcept, ARTLiteral literalform, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
by constructing it from its plain literalformARTBNode
and linked to skosConcept
skosConcept
- literalform
- graphs
- ModelAccessException
ModelUpdateException
void addAltXLabel(ARTURIResource skosConcept, String literalform, String language, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
by constructing it from its plain string
descriptor and language tagskosConcept
- literalform
- language
- graphs
- ModelAccessException
ModelUpdateException
void addHiddenXLabel(ARTURIResource skosConcept, ARTResource xlabel, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
skosConcept
- xlabel
- graphs
- ModelAccessException
ModelUpdateException
void addHiddenXLabel(ARTURIResource skosConcept, ARTLiteral literalform, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
by constructing it from its plain literalformskosConcept
- literalform
- graphs
- ModelAccessException
ModelUpdateException
void addHiddenXLabel(ARTURIResource skosConcept, String literalform, String language, ARTResource... graphs) throws ModelAccessException, ModelUpdateException
skosConcept
by constructing it from its plain string descriptor
and language tagskosConcept
- literalform
- language
- graphs
- ModelAccessException
ModelUpdateException
void detachXLabel(ARTResource skosConcept, ARTResource xLabel, ARTResource... graphs) throws ModelUpdateException
skosConcept
and xLabel
skosConcept
- xLabel
- ModelUpdateException
ARTURIResource createRandomURI4XLabel(String lang)
lang
>_<randomNumber>" is generatedlang
- the lnaguage for the XLabelCopyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.