|
Alignment API and Server 4.1.${version.update} | |||||||||
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. |
Map<String,String> |
getEntityAnnotationsL(Object o)
|
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
Map<String,String> getEntityAnnotationsL(Object o) throws OntowrapException
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) throws OntowrapException
OntowrapException
boolean isClass(Object o) throws OntowrapException
OntowrapException
boolean isProperty(Object o) throws OntowrapException
OntowrapException
boolean isDataProperty(Object o) throws OntowrapException
OntowrapException
boolean isObjectProperty(Object o) throws OntowrapException
OntowrapException
boolean isIndividual(Object o) throws OntowrapException
OntowrapException
Set<? extends Object> getEntities() throws OntowrapException
OntowrapException
Set<? extends Object> getClasses() throws OntowrapException
OntowrapException
Set<? extends Object> getProperties() throws OntowrapException
OntowrapException
Set<? extends Object> getObjectProperties() throws OntowrapException
OntowrapException
Set<? extends Object> getDataProperties() throws OntowrapException
OntowrapException
Set<? extends Object> getIndividuals() throws OntowrapException
OntowrapException
int nbEntities() throws OntowrapException
OntowrapException
int nbClasses() throws OntowrapException
OntowrapException
int nbProperties() throws OntowrapException
OntowrapException
int nbDataProperties() throws OntowrapException
OntowrapException
int nbObjectProperties() throws OntowrapException
OntowrapException
int nbIndividuals() throws OntowrapException
OntowrapException
void unload() throws OntowrapException
OntowrapException
|
Alignment API and Server 4.1.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |