|
Alignment API and Server 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadedOntology<O>
Method Summary | |
---|---|
Set<? extends Object> |
getClasses()
|
Set<? extends Object> |
getDataProperties()
|
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. |
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()
|
Set<? extends Object> |
getObjectProperties()
|
Set<? extends Object> |
getProperties()
|
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 interface fr.inrialpes.exmo.ontowrap.Ontology |
---|
getFile, getFormalism, getFormURI, getOntology, getURI, setFile, setFormalism, setFormURI, setOntology, setURI |
Method Detail |
---|
Object getEntity(URI u) throws OntowrapException
OntowrapException
URI getEntityURI(Object o) throws OntowrapException
OntowrapException
String getEntityName(Object o) throws OntowrapException
o
- the entity
OntowrapException
String getEntityName(Object o, String lang) throws OntowrapException
o
- the entity
OntowrapException
Set<String> getEntityNames(Object o, String lang) throws OntowrapException
o
- the entitylang
- the code of the language ("en", "fr", "es", etc.)
OntowrapException
Set<String> getEntityNames(Object o) throws OntowrapException
o
- the entity
OntowrapException
Set<String> getEntityComments(Object o, String lang) throws OntowrapException
o
- the entitylang
- the code of the language ("en", "fr", "es", etc.)
OntowrapException
Set<String> getEntityComments(Object o) throws OntowrapException
o
- the entity
OntowrapException
Set<String> getEntityAnnotations(Object o) throws OntowrapException
o
- the entity
OntowrapException
Set<String> getEntityAnnotations(Object o, String lang) throws OntowrapException
o
- the entitylang
- the code of the language ("en", "fr", "es", etc.)
OntowrapException
boolean isEntity(Object o)
boolean isClass(Object o)
boolean isProperty(Object o)
boolean isDataProperty(Object o)
boolean isObjectProperty(Object o)
boolean isIndividual(Object o)
Set<? extends Object> getEntities()
Set<? extends Object> getClasses()
Set<? extends Object> getProperties()
Set<? extends Object> getObjectProperties()
Set<? extends Object> getDataProperties()
Set<? extends Object> getIndividuals()
int nbEntities()
int nbClasses()
int nbProperties()
int nbDataProperties()
int nbObjectProperties()
int nbIndividuals()
void unload()
|
Alignment API and Server 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |