|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fau.cs.www8.jadeowlcodec.AssertionSet
public class AssertionSet
| Nested Class Summary | |
|---|---|
class |
AssertionSet.IndividualRenderer
|
| Constructor Summary | |
|---|---|
AssertionSet(KnowledgeBase agentKB,
java.lang.String name)
|
|
AssertionSet(KnowledgeBase agentKB,
Uri.Other uri)
|
|
| Method Summary | ||
|---|---|---|
java.util.Map<GenericIndividual,java.util.Set<Uri.Role>> |
checkCompletenessAll()
test all individuals for complying with MinProperties |
|
boolean |
containsIndividual(Uri.Individual key)
|
|
java.util.Collection<GenericIndividual> |
getAllIndividuals()
|
|
GenericIndividual |
getIndividual(Uri.Individual key)
|
|
protected AssertionSet.IndividualRenderer |
getIndividualRenderer()
|
|
|
getIndividualsOfType(java.lang.Class<T> wrapperClass)
|
|
java.util.Set<Uri.Individual> |
getIndividualURIs()
|
|
KnowledgeBase |
getKnowledgeBase()
|
|
GenericIndividual |
getOrMakeIndividual(Uri.Individual rdfid)
|
|
GenericIndividual |
getOrMakeIndividual(Uri.Individual rdfid,
Uri.Concept owlClass)
Gets an existing individual or creates new, updates direct classes if existing and registers if new |
|
java.util.Set<Uri.Concept> |
getUnkownClasses()
test all individuals for direct classes which are not known to the agentKB it is suggested to call this on outgoing message AssertionSets in order to avoid an uncontrolled ResultSet type flood (this way to cope with ResultSets has been chosen because it allows to easily learn ResultSet into the TBox in case they are really needed) |
|
Uri.Other |
getURI()
|
|
GenericIndividual |
removeIndividual(Uri.Individual key)
|
|
java.util.Set<GenericIndividual> |
stripClasses(java.util.Set<Uri.Concept> classesToStrip)
remove all type assertions for classesToStrip from all individuals |
|
ReasonerKBHandle |
tellIntoReasoner()
tells current tbox version and individuals into a new reasonerkb usable for various checking etc |
|
java.lang.String |
toString()
|
|
void |
writeOWL(GenericIndividual gi,
java.io.Writer stream,
int indentation)
|
|
void |
writeOWL(java.io.Writer stream,
int indentation)
|
|
void |
writeTell(java.io.Writer stream,
int indentation)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionSet(KnowledgeBase agentKB,
java.lang.String name)
public AssertionSet(KnowledgeBase agentKB,
Uri.Other uri)
| Method Detail |
|---|
public Uri.Other getURI()
public void writeTell(java.io.Writer stream,
int indentation)
throws java.io.IOException
java.io.IOException
public void writeOWL(java.io.Writer stream,
int indentation)
throws java.io.IOException
java.io.IOException
public void writeOWL(GenericIndividual gi,
java.io.Writer stream,
int indentation)
throws java.io.IOException
java.io.IOExceptionprotected AssertionSet.IndividualRenderer getIndividualRenderer()
public boolean containsIndividual(Uri.Individual key)
public GenericIndividual removeIndividual(Uri.Individual key)
public GenericIndividual getIndividual(Uri.Individual key)
public GenericIndividual getOrMakeIndividual(Uri.Individual rdfid,
Uri.Concept owlClass)
rdfid - a Uri.IndividualowlClass - a Uri.Concept
GenericIndividualpublic GenericIndividual getOrMakeIndividual(Uri.Individual rdfid)
public ReasonerKBHandle tellIntoReasoner()
public java.util.Map<GenericIndividual,java.util.Set<Uri.Role>> checkCompletenessAll()
public <T extends WrappedIndividual> java.util.Collection<T> getIndividualsOfType(java.lang.Class<T> wrapperClass)
wrapperClass - the wrapper type we want to find individuals for
it would make more sense to ask reasoner for individuals of type, then
wrap exactly those individuals (possibly with best class)
Collection T should be a WrappedIndividualpublic KnowledgeBase getKnowledgeBase()
public java.util.Set<Uri.Individual> getIndividualURIs()
public java.util.Collection<GenericIndividual> getAllIndividuals()
public java.util.Set<Uri.Concept> getUnkownClasses()
Uri.Conceptspublic java.util.Set<GenericIndividual> stripClasses(java.util.Set<Uri.Concept> classesToStrip)
classesToStrip - the classes to remove (use getUnkownClasses to remove all unknown classes)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg