|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inrialpes.exmo.ontowrap.BasicOntology<org.semanticweb.owlapi.model.OWLOntology>
fr.inrialpes.exmo.ontowrap.owlapi30.OWLAPI3Ontology
public class OWLAPI3Ontology
| Field Summary | |
|---|---|
(package private) int |
nbentities
|
| Fields inherited from class fr.inrialpes.exmo.ontowrap.BasicOntology |
|---|
file, formalism, formalismURI, onto, uri |
| Constructor Summary | |
|---|---|
OWLAPI3Ontology()
|
|
| Method Summary | |
|---|---|
boolean |
getCapabilities(int Direct,
int Asserted,
int Named)
|
Set<? extends Object> |
getClasses()
|
Set<Object> |
getClasses(Object i,
int local,
int asserted,
int named)
|
Set<? extends Object> |
getDataProperties()
|
Set<Object> |
getDataProperties(Object c,
int local,
int asserted,
int named)
|
Set<Object> |
getDomain(Object p,
int asserted)
|
Set<? extends Object> |
getEntities()
Returns all named entities having URI beginning with the ontology URI |
Object |
getEntity(URI u)
|
Set<String> |
getEntityAnnotations(Object o)
Returns all the values of the "owl:AnnotationProperty" property for a given entity. |
Set<String> |
getEntityAnnotations(Object o,
String lang)
Returns all the values of the "owl:AnnotationProperty" property for a given entity expressed in the required language. |
protected Set<String> |
getEntityAnnotations(Object o,
URI type,
String lang)
type and lang can be null |
Set<String> |
getEntityComments(Object o)
Returns all the values of textual properties (e.g., "rdfs:comment", rdfs:label in RDFS/OWL) for a given entity |
Set<String> |
getEntityComments(Object o,
String lang)
Returns the values ofof textual properties (e.g., "rdfs:comment", rdfs:label in RDFS/OWL) for a given entity and for a given natural language (attribute xml:lang). |
String |
getEntityName(Object o)
returns the default name of an entity if specified. |
String |
getEntityName(Object o,
String lang)
returns the default name of an entity in a language (attribute xml:lang) if specified. |
Set<String> |
getEntityNames(Object o)
Returns all the names a given entity (e.g., rdfs:labels in OWL/RDFS). |
Set<String> |
getEntityNames(Object o,
String lang)
returns all the names of an entity in a language if specified. |
URI |
getEntityURI(Object o)
|
Set<? extends Object> |
getIndividuals()
|
private Set<Object> |
getInheritedProperties(org.semanticweb.owlapi.model.OWLClass cl)
|
Set<Object> |
getInstances(Object cl,
int local,
int asserted,
int named)
|
Set<? extends Object> |
getObjectProperties()
|
Set<Object> |
getObjectProperties(Object c,
int local,
int asserted,
int named)
|
Set<? extends Object> |
getProperties()
|
Set<Object> |
getProperties(Object cl,
int local,
int asserted,
int named)
|
void |
getProperties(org.semanticweb.owlapi.model.OWLClassExpression desc,
Set<Object> list,
Set<Object> visited)
|
void |
getProperties(org.semanticweb.owlapi.model.OWLClass cl,
Set<Object> list,
Set<Object> visited)
|
void |
getProperties(org.semanticweb.owlapi.model.OWLNaryBooleanClassExpression d,
Set<Object> list,
Set<Object> visited)
|
void |
getProperties(org.semanticweb.owlapi.model.OWLRestriction rest,
Set<Object> list,
Set<Object> visited)
|
Set<Object> |
getRange(Object p,
int asserted)
|
Set<Object> |
getSubClasses(Object cl,
int local,
int asserted,
int named)
|
Set<Object> |
getSubProperties(Object pr,
int local,
int asserted,
int named)
|
Set<Object> |
getSuperClasses(Object cl,
int local,
int asserted,
int named)
|
Set<Object> |
getSuperProperties(Object pr,
int local,
int asserted,
int named)
|
boolean |
isClass(Object o)
|
boolean |
isDataProperty(Object o)
|
boolean |
isEntity(Object o)
|
boolean |
isIndividual(Object o)
|
boolean |
isObjectProperty(Object o)
|
boolean |
isProperty(Object o)
|
int |
nbClasses()
|
int |
nbDataProperties()
|
int |
nbEntities()
|
int |
nbIndividuals()
|
int |
nbObjectProperties()
|
int |
nbProperties()
|
void |
unload()
|
| Methods inherited from class fr.inrialpes.exmo.ontowrap.BasicOntology |
|---|
getFile, getFormalism, getFormURI, getFragmentAsLabel, getOntology, getURI, setFile, setFormalism, setFormURI, setOntology, setURI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.inrialpes.exmo.ontowrap.Ontology |
|---|
getFile, getFormalism, getFormURI, getOntology, getURI, setFile, setFormalism, setFormURI, setOntology, setURI |
| Field Detail |
|---|
int nbentities
| Constructor Detail |
|---|
public OWLAPI3Ontology()
| Method Detail |
|---|
public Set<? extends Object> getClasses()
getClasses in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public Set<? extends Object> getDataProperties()
getDataProperties in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public Set<? extends Object> getEntities()
LoadedOntology
getEntities in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Object getEntity(URI u)
throws OntowrapException
getEntity in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>OntowrapException
protected Set<String> getEntityAnnotations(Object o,
URI type,
String lang)
public Set<String> getEntityAnnotations(Object o)
throws OntowrapException
LoadedOntology
getEntityAnnotations in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entity
OntowrapException
public Set<String> getEntityAnnotations(Object o,
String lang)
throws OntowrapException
LoadedOntology
getEntityAnnotations in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entitylang - the code of the language ("en", "fr", "es", etc.)
OntowrapException
public Set<String> getEntityComments(Object o,
String lang)
throws OntowrapException
LoadedOntology
getEntityComments in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entitylang - the code of the language ("en", "fr", "es", etc.)
OntowrapException
public Set<String> getEntityComments(Object o)
throws OntowrapException
LoadedOntology
getEntityComments in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entity
OntowrapException
public String getEntityName(Object o)
throws OntowrapException
LoadedOntology
getEntityName in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entity
OntowrapException
public String getEntityName(Object o,
String lang)
throws OntowrapException
LoadedOntology
getEntityName in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entity
OntowrapException
public Set<String> getEntityNames(Object o,
String lang)
throws OntowrapException
LoadedOntology
getEntityNames in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entitylang - the code of the language ("en", "fr", "es", etc.)
OntowrapException
public Set<String> getEntityNames(Object o)
throws OntowrapException
LoadedOntology
getEntityNames in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>o - the entity
OntowrapException
public URI getEntityURI(Object o)
throws OntowrapException
getEntityURI in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>OntowrapExceptionpublic Set<? extends Object> getIndividuals()
getIndividuals in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public Set<? extends Object> getObjectProperties()
getObjectProperties in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public Set<? extends Object> getProperties()
getProperties in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public boolean isClass(Object o)
isClass in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public boolean isDataProperty(Object o)
isDataProperty in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public boolean isEntity(Object o)
isEntity in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public boolean isIndividual(Object o)
isIndividual in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public boolean isObjectProperty(Object o)
isObjectProperty in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public boolean isProperty(Object o)
isProperty in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public int nbClasses()
nbClasses in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public int nbDataProperties()
nbDataProperties in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public int nbIndividuals()
nbIndividuals in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public int nbObjectProperties()
nbObjectProperties in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public int nbProperties()
nbProperties in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>public int nbEntities()
nbEntities in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public boolean getCapabilities(int Direct,
int Asserted,
int Named)
getCapabilities in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getSubClasses(Object cl,
int local,
int asserted,
int named)
getSubClasses in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getSuperClasses(Object cl,
int local,
int asserted,
int named)
getSuperClasses in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getProperties(Object cl,
int local,
int asserted,
int named)
getProperties in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getDataProperties(Object c,
int local,
int asserted,
int named)
getDataProperties in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getObjectProperties(Object c,
int local,
int asserted,
int named)
getObjectProperties in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getInstances(Object cl,
int local,
int asserted,
int named)
getInstances in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getSubProperties(Object pr,
int local,
int asserted,
int named)
getSubProperties in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getSuperProperties(Object pr,
int local,
int asserted,
int named)
getSuperProperties in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getRange(Object p,
int asserted)
getRange in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getDomain(Object p,
int asserted)
getDomain in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
public Set<Object> getClasses(Object i,
int local,
int asserted,
int named)
getClasses in interface HeavyLoadedOntology<org.semanticweb.owlapi.model.OWLOntology>private Set<Object> getInheritedProperties(org.semanticweb.owlapi.model.OWLClass cl)
public void getProperties(org.semanticweb.owlapi.model.OWLClassExpression desc,
Set<Object> list,
Set<Object> visited)
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLException
public void getProperties(org.semanticweb.owlapi.model.OWLRestriction rest,
Set<Object> list,
Set<Object> visited)
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLException
public void getProperties(org.semanticweb.owlapi.model.OWLNaryBooleanClassExpression d,
Set<Object> list,
Set<Object> visited)
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLException
public void getProperties(org.semanticweb.owlapi.model.OWLClass cl,
Set<Object> list,
Set<Object> visited)
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionpublic void unload()
unload in interface LoadedOntology<org.semanticweb.owlapi.model.OWLOntology>
|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||