|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLModel
Interface for OWL (1.0) compliant models
| Method Summary | |
|---|---|
void |
addAnnotationProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
adds an annotation property with uri = propertyURI |
void |
addDatatypeProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
adds a datatype property with uri = propertyURI |
void |
addImportStatement(java.lang.String baseURI,
ARTResource... graphs)
adds an import statement to the given ontology graphs. |
void |
addObjectProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
adds an object property with uri = propertyURI |
void |
addOntologyProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
adds an ontology property with uri = propertyURI |
ARTURIResource |
getInverseProperty(ARTURIResource objectProperty,
boolean inferred,
ARTResource... graphs)
returns the inverse property of objectProperty. |
void |
instantiateAnnotationProperty(ARTResource subject,
ARTURIResource property,
java.lang.String value,
java.lang.String lang,
ARTResource... graphs)
Deprecated. use RDFModel.instantiatePropertyWithPlainLiteral(ARTResource, ARTURIResource, String, String, ARTResource...) |
void |
instantiateDatatypeProperty(ARTResource subject,
ARTURIResource predicate,
java.lang.String value,
ARTResource... graphs)
Deprecated. use RDFModel.instantiatePropertyWithPlainLiteral(ARTResource, ARTURIResource, String, ARTResource...) |
void |
instantiateObjectProperty(ARTResource subject,
ARTURIResource predicate,
ARTResource object,
ARTResource... graphs)
Deprecated. use RDFModel.instantiatePropertyWithResource(ARTResource, ARTURIResource, ARTResource, ARTResource...) |
boolean |
isAnnotationProperty(ARTURIResource prop,
ARTResource... graphs)
checks that prop is an Annotation property |
boolean |
isDataRange(ARTResource range,
ARTResource... graphs)
checks if the resource (which has been probably returned has the range of a datatype property, is a DataRange) |
boolean |
isDatatypeProperty(ARTURIResource prop,
ARTResource... graphs)
checks that prop is an Datatype property |
boolean |
isFunctionalProperty(ARTURIResource property,
ARTResource... graphs)
checks that prop is a Functional property |
boolean |
isInverseFunctionalProperty(ARTURIResource property,
ARTResource... graphs)
checks that prop is an InverseFunctional property |
boolean |
isObjectProperty(ARTURIResource prop,
ARTResource... graphs)
checks that prop is an Object property |
boolean |
isOntology(ARTURIResource uri,
ARTResource... graphs)
checks that resource uri is an Ontology |
boolean |
isOntologyProperty(ARTURIResource prop,
ARTResource... graphs)
checks that prop is an Ontology property |
boolean |
isSymmetricProperty(ARTURIResource property,
ARTResource... graphs)
checks that prop is a Symmetric property |
boolean |
isTransitiveProperty(ARTURIResource property,
ARTResource... graphs)
checks that prop is a Transitive property |
ARTURIResourceIterator |
listAnnotationProperties(boolean inferred,
ARTResource... graphs)
returns an iterator over Annotation properties available from graphs graphs |
ARTURIResourceIterator |
listDatatypeProperties(boolean inferred,
ARTResource... graphs)
returns an iterator over datatype properties available from graphs graphs |
ARTURIResourceIterator |
listObjectProperties(boolean inferred,
ARTResource... graphs)
returns an iterator over object properties available from graphs graphs |
ARTURIResourceIterator |
listOntologyImports(ARTURIResource ontology,
ARTResource... graphs)
list all ontologies imported by ontology ontology (defined in graphs graphs |
ARTURIResourceIterator |
listOntologyProperties(boolean inferred,
ARTResource... graphs)
returns an iterator over Ontology properties available from graphs graphs |
ARTLiteralIterator |
listValuesOfSubjDTypePropertyPair(ARTResource instance,
ARTURIResource property,
boolean inferred,
ARTResource... graphs)
returns an iterator over the list of values bound to individual individual through
datatype/annotation property property both parameters need to be instantiated |
ARTResourceIterator |
listValuesOfSubjObjPropertyPair(ARTResource individual,
ARTURIResource property,
boolean inferred,
ARTResource... graphs)
returns an iterator over the list of values bound to individual individual through object
property property both parameters need to be instantiated |
ARTLiteralIterator |
parseDataRange(ARTResource dataRange,
ARTResource... graphs)
returns an iterator over the list of values allowed by this datarange |
void |
removeImportStatement(ARTURIResource URI,
ARTResource... graphs)
removes an import statement from graphs graphs |
| Methods inherited from interface it.uniroma2.art.owlart.models.RDFSModel |
|---|
addClass, addComment, addLabel, addPropertyDomain, addPropertyRange, addSuperClass, addSuperProperty, isClass, listComments, listLabels, listNamedClasses, listNamedResources, listPropertiesForDomainClass, listPropertiesForRangeClass, listPropertyDomains, listPropertyRanges, listSubClasses, listSubProperties, listSuperClasses, listSuperProperties, listURISuperClasses, removeComment, removeLabel, removePropertyDomain, removePropertyRange, removeSuperClass, removeSuperProperty, renameClass, retrieveClass |
| Methods inherited from interface it.uniroma2.art.owlart.models.RDFModel |
|---|
addInstance, addProperty, addType, hasType, instantiatePropertyWithPlainLiteral, instantiatePropertyWithPlainLiteral, instantiatePropertyWithResource, instantiatePropertyWithTypedLiteral, isProperty, listInstances, listNamedInstances, listProperties, listTypes, removeType, renameIndividual, renameProperty, retrieveBNode, retrieveURIResource |
| Methods inherited from interface it.uniroma2.art.owlart.models.BaseRDFTripleModel |
|---|
addRDF, addRDF, addStatement, addTriple, clearRDF, close, deleteStatement, deleteTriple, getBaseURI, getDefaultNamespace, hasStatement, hasTriple, listNamedGraphs, listNamespaces, listPredicatesOfSubjObjPair, listStatements, listSubjectsOfPredObjPair, listValuesOfSubjPredPair, setBaseURI, setDefaultNamespace, writeRDF, writeRDF |
| Methods inherited from interface it.uniroma2.art.owlart.models.PrefixMapping |
|---|
expandQName, getNamespacePrefixMapping, getNSForPrefix, getPrefixForNS, getQName, removeNsPrefixMapping, setNsPrefix |
| Methods inherited from interface it.uniroma2.art.owlart.models.TripleQueryModel |
|---|
createBooleanQuery, createGraphQuery, createQuery, createTupleQuery |
| Methods inherited from interface it.uniroma2.art.owlart.model.ARTNodeFactory |
|---|
createBNode, createBNode, createLiteral, createLiteral, createLiteral, createURIResource |
| Methods inherited from interface it.uniroma2.art.owlart.models.OWLReasoner |
|---|
supportsInverseProperties, supportsOWLThingMaterialization, supportsSymmetricProperties, supportsTransitiveProperties |
| Methods inherited from interface it.uniroma2.art.owlart.models.RDFSReasoner |
|---|
supportsSubClassOfClosure, supportsSubPropertyMaterialization, supportsSubPropertyOfClosure |
| Method Detail |
|---|
void addAnnotationProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
throws ModelUpdateException
propertyURI
propertyURI - superProperty - graphs -
ModelUpdateException
void addDatatypeProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
throws ModelUpdateException
propertyURI
propertyURI - superProperty - graphs -
ModelUpdateException
void addObjectProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
throws ModelUpdateException
propertyURI
propertyURI - superProperty - graphs -
ModelUpdateException
void addOntologyProperty(java.lang.String propertyURI,
ARTURIResource superProperty,
ARTResource... graphs)
throws ModelUpdateException
propertyURI
propertyURI - superProperty - graphs -
ModelUpdateException
void addImportStatement(java.lang.String baseURI,
ARTResource... graphs)
throws ModelUpdateException
baseURI - the baseURI of the ontology being importedgraphs -
ModelUpdateException
void instantiateDatatypeProperty(ARTResource subject,
ARTURIResource predicate,
java.lang.String value,
ARTResource... graphs)
throws ModelUpdateException
RDFModel.instantiatePropertyWithPlainLiteral(ARTResource, ARTURIResource, String, ARTResource...)
subject, predicate and value
subject - predicate - value - graphs -
ModelUpdateException
void instantiateObjectProperty(ARTResource subject,
ARTURIResource predicate,
ARTResource object,
ARTResource... graphs)
throws ModelUpdateException
RDFModel.instantiatePropertyWithResource(ARTResource, ARTURIResource, ARTResource, ARTResource...)
subject, predicate and object
subject - predicate - object - graphs -
ModelUpdateException
void instantiateAnnotationProperty(ARTResource subject,
ARTURIResource property,
java.lang.String value,
java.lang.String lang,
ARTResource... graphs)
throws ModelUpdateException
RDFModel.instantiatePropertyWithPlainLiteral(ARTResource, ARTURIResource, String, String, ARTResource...)
subject, predicate and object, which is
described by its label (value) and language (lang)
subject - property - value - lang -
ModelUpdateException
boolean isAnnotationProperty(ARTURIResource prop,
ARTResource... graphs)
throws ModelAccessException
prop - graphs -
ModelAccessException
boolean isOntologyProperty(ARTURIResource prop,
ARTResource... graphs)
throws ModelAccessException
prop - graphs -
ModelAccessException
boolean isDatatypeProperty(ARTURIResource prop,
ARTResource... graphs)
throws ModelAccessException
prop - graphs -
ModelAccessException
boolean isFunctionalProperty(ARTURIResource property,
ARTResource... graphs)
throws ModelAccessException
property - graphs -
ModelAccessException
boolean isInverseFunctionalProperty(ARTURIResource property,
ARTResource... graphs)
throws ModelAccessException
property - graphs -
ModelAccessException
boolean isObjectProperty(ARTURIResource prop,
ARTResource... graphs)
throws ModelAccessException
prop - graphs -
ModelAccessException
boolean isSymmetricProperty(ARTURIResource property,
ARTResource... graphs)
throws ModelAccessException
property - graphs -
ModelAccessException
boolean isTransitiveProperty(ARTURIResource property,
ARTResource... graphs)
throws ModelAccessException
property - graphs -
ModelAccessException
boolean isDataRange(ARTResource range,
ARTResource... graphs)
throws ModelAccessException
range - graphs -
ModelAccessException
boolean isOntology(ARTURIResource uri,
ARTResource... graphs)
throws ModelAccessException
uri is an Ontology
uri - graphs -
ModelAccessException
ARTURIResourceIterator listDatatypeProperties(boolean inferred,
ARTResource... graphs)
throws ModelAccessException
graphs
inferred - graphs -
ModelAccessException
ARTURIResourceIterator listObjectProperties(boolean inferred,
ARTResource... graphs)
throws ModelAccessException
graphs
inferred - graphs -
ModelAccessException
ARTURIResourceIterator listAnnotationProperties(boolean inferred,
ARTResource... graphs)
throws ModelAccessException
graphs
inferred - graphs -
ModelAccessException
ARTURIResourceIterator listOntologyProperties(boolean inferred,
ARTResource... graphs)
throws ModelAccessException
graphs
inferred - graphs -
ModelAccessException
ARTURIResource getInverseProperty(ARTURIResource objectProperty,
boolean inferred,
ARTResource... graphs)
throws ModelAccessException
objectProperty. If more than one inverse is defined, the
first declared one is returned (all other properties are equivalentProperties then). If no declaration
is available, null is returned.
objectProperty - inferred - graphs -
ModelAccessException
ARTURIResourceIterator listOntologyImports(ARTURIResource ontology,
ARTResource... graphs)
throws ModelAccessException
ontology (defined in graphs graphs
ontology - graphs -
ModelAccessException
ARTLiteralIterator listValuesOfSubjDTypePropertyPair(ARTResource instance,
ARTURIResource property,
boolean inferred,
ARTResource... graphs)
throws ModelAccessException
individual through
datatype/annotation property property both parameters need to be instantiated
instance - property - inferred -
ModelAccessException
ARTResourceIterator listValuesOfSubjObjPropertyPair(ARTResource individual,
ARTURIResource property,
boolean inferred,
ARTResource... graphs)
throws ModelAccessException
individual through object
property property both parameters need to be instantiated
individual - property -
ModelAccessException
ARTLiteralIterator parseDataRange(ARTResource dataRange,
ARTResource... graphs)
throws ModelAccessException
dataRange - graphs -
ModelAccessException
void removeImportStatement(ARTURIResource URI,
ARTResource... graphs)
throws ModelUpdateException
graphs
URI - the baseURI of the ontology being importedgraphs -
ModelUpdateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||