edu.unika.aifb.kaon
Class OntologyImpl

edu.unika.aifb.kaon.Ontology
  |
  +--edu.unika.aifb.kaon.OntologyImpl

public class OntologyImpl
extends Ontology

(c) Copyright 2001 Knowledge Management Group Institute AIFB University of Karlsruhe, Germany All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- Class Name Class Description part of Simple Triple Store (SITRIS) http://ontoserver.aifb.uni-karlsruhe.de/sitris

Author:
: Raphael Volz (volz@aifb.uni-karlsruhe.de)
Version: : History: ---------

Fields inherited from class edu.unika.aifb.kaon.Ontology
_entityFactory, _metadata, _model, _root, _vocabularyAdaptor

Method Summary
 voidaddIsa(Concept subc, Concept superc)
           
 voidaddIsa(Relation superr, Relation subr)
           
 ConceptgetConcept(Instance i)
           
 ConceptgetConcept(org.w3c.rdf.model.Resource uri)
           
 edu.unika.aifb.kaon.Concept[]getConcepts()
           
 edu.unika.aifb.kaon.Concept[]getConcepts(LexicalEntry le)
           
 InstancegetInstance(Resource uri)
           
 edu.unika.aifb.kaon.Instance[]getInstances()
           
 edu.unika.aifb.kaon.Instance[]getInstances(Concept c)
           
 edu.unika.aifb.kaon.LexicalEntry[]getLexicalEntries()
          TO DO - alle Unterklassen von LexicalEntry dazunehmen
 RelationgetRelation(org.w3c.rdf.model.Resource uri)
           
 edu.unika.aifb.kaon.Relation[]getRelations()
           
 edu.unika.aifb.kaon.Relation[]getRelations(LexicalEntry le)
           
 ConceptgetRootConcept()
           
 booleanisSubConcept(Concept subc, Concept superc)
           
 booleanisSubRelation(Relation superr, Relation subr)
           
 voidremove(Entity e)
           

Methods inherited from class edu.unika.aifb.kaon.Ontology
getEntityFactory, getMetaData, getModel, getVocabularyAdaptor, setEntityFactory, setModel, setVocabularyAdaptor

Method Detail

addIsa

public void addIsa(Concept subc, Concept superc)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

addIsa

public void addIsa(Relation superr, Relation subr)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getConcept

public Concept getConcept(Instance i)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getConcept

public Concept getConcept(org.w3c.rdf.model.Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getConcepts

public edu.unika.aifb.kaon.Concept[] getConcepts()
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getConcepts

public edu.unika.aifb.kaon.Concept[] getConcepts(LexicalEntry le)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getInstance

public Instance getInstance(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
java.util.NoSuchElementException
See Also:
Ontology

getInstances

public edu.unika.aifb.kaon.Instance[] getInstances()
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getInstances

public edu.unika.aifb.kaon.Instance[] getInstances(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getLexicalEntries

public edu.unika.aifb.kaon.LexicalEntry[] getLexicalEntries()
throws edu.unika.aifb.sitris.exception.NotSupportedException
TO DO - alle Unterklassen von LexicalEntry dazunehmen
See Also:
Ontology

getRelation

public Relation getRelation(org.w3c.rdf.model.Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getRelations

public edu.unika.aifb.kaon.Relation[] getRelations()
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getRelations

public edu.unika.aifb.kaon.Relation[] getRelations(LexicalEntry le)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

getRootConcept

public Concept getRootConcept()
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

isSubConcept

public boolean isSubConcept(Concept subc, Concept superc)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

isSubRelation

public boolean isSubRelation(Relation superr, Relation subr)
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Ontology

remove

public void remove(Entity e)
See Also:
Ontology