edu.unika.aifb.kaon.daml
Class OntologyImpl
edu.unika.aifb.kaon.Ontology
|
+--edu.unika.aifb.kaon.daml.OntologyImpl
- public class OntologyImpl
- extends Ontology
_damlOntology
DAMLOntology _damlOntology
_entityFactory
EntityFactory _entityFactory
OntologyImpl
public OntologyImpl(DAMLOntology damlO)
addIsa
public void addIsa(Concept subc, Concept superc)
throws edu.unika.aifb.sitris.exception.NotSupportedException
addIsa
public void addIsa(Relation superr, Relation subr)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getConcept
public Concept getConcept(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getConcept
public Concept getConcept(Object id)
getConcept
public Concept getConcept(Instance i)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getConcepts
public Concept[] getConcepts(LexicalEntry le)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getConcepts
public Concept[] getConcepts()
throws edu.unika.aifb.sitris.exception.NotSupportedException
getEntityFactory
public EntityFactory getEntityFactory()
- See Also:
- Ontology
getInstance
public Instance getInstance(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getInstance
public Instance getInstance(Object id)
getInstances
public Instance[] getInstances(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getInstances
public Instance[] getInstances()
throws edu.unika.aifb.sitris.exception.NotSupportedException
getLexicalEntries
public LexicalEntry[] getLexicalEntries()
throws edu.unika.aifb.sitris.exception.NotSupportedException
getModel
public org.w3c.rdf.model.Model getModel()
getRelation
public Relation getRelation(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getRelation
public Relation getRelation(Object id)
getRelations
public Relation[] getRelations()
throws edu.unika.aifb.sitris.exception.NotSupportedException
getRelations
public Relation[] getRelations(LexicalEntry le)
throws edu.unika.aifb.sitris.exception.NotSupportedException
getRootConcept
public Concept getRootConcept()
throws edu.unika.aifb.sitris.exception.NotSupportedException
getVocabularyAdaptor
public VocabularyAdaptor getVocabularyAdaptor()
- Returns the VocabularyAdaptor of this ontology
- Returns: edu.unika.aifb.sitris.ontology.VocabularyAdaptor
isSubConcept
public boolean isSubConcept(Concept subc, Concept superc)
throws edu.unika.aifb.sitris.exception.NotSupportedException
isSubRelation
public boolean isSubRelation(Relation superr, Relation subr)
throws edu.unika.aifb.sitris.exception.NotSupportedException
remove
public void remove(Entity e)
setModel
public void setModel(org.w3c.rdf.model.Model new_Model)