📄 ontology.html
字号:
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#createEntityRequest()">createEntityRequest</A></B>()</CODE>
<BR>
Returns an object that can be used to retrieve existing entities.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><E extends <A HREF="../../../../org/semanticweb/kaon2/api/Entity.html" title="interface in org.semanticweb.kaon2.api">Entity</A>>
<BR>
<A HREF="../../../../org/semanticweb/kaon2/api/Request.html" title="interface in org.semanticweb.kaon2.api">Request</A><E></CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#createEntityRequest(java.lang.Class)">createEntityRequest</A></B>(java.lang.Class<E> entityType)</CODE>
<BR>
Returns an object that can be used to retrieve existing entities of given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/semanticweb/kaon2/api/reasoner/Reasoner.html" title="interface in org.semanticweb.kaon2.api.reasoner">Reasoner</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#createReasoner()">createReasoner</A></B>()</CODE>
<BR>
Creates a reasoner for this ontolgy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getAllImportedOntologies()">getAllImportedOntologies</A></B>()</CODE>
<BR>
Returns the set of all imported ontologies (including the ones which are indirectly imported).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/owl/elements/Annotation.html" title="interface in org.semanticweb.kaon2.api.owl.elements">Annotation</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getAnnotations()">getAnnotations</A></B>()</CODE>
<BR>
Returns the annotations of this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Connection.html" title="interface in org.semanticweb.kaon2.api">KAON2Connection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getConnection()">getConnection</A></B>()</CODE>
<BR>
Returns the connection associated with this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getDeclaringOntology(org.semanticweb.kaon2.api.Axiom)">getDeclaringOntology</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/Axiom.html" title="interface in org.semanticweb.kaon2.api">Axiom</A> axiom)</CODE>
<BR>
Returns the ontology where the given axiom is declared.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getDuplicateAxiomsThrowException()">getDuplicateAxiomsThrowException</A></B>()</CODE>
<BR>
Returns <code>true</code> if duplicate additions of axioms to this ontology result in an exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getImportedOntologies()">getImportedOntologies</A></B>()</CODE>
<BR>
Returns the set of imported ontologies.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getLockTimeout()">getLockTimeout</A></B>()</CODE>
<BR>
Returns the time how much this ontology waits to acquire locks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getModule()">getModule</A></B>()</CODE>
<BR>
Returns the module of this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html" title="interface in org.semanticweb.kaon2.api.formatting">OntologyFormatting</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getOntologyFormatting()">getOntologyFormatting</A></B>()</CODE>
<BR>
Returns the object that describes the formatting of an ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getOntologyURI()">getOntologyURI</A></B>()</CODE>
<BR>
Returns the URI of the ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Map<java.lang.String,java.lang.Object></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getParameters()">getParameters</A></B>()</CODE>
<BR>
Returns the parameters of this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#getPhysicalURI()">getPhysicalURI</A></B>()</CODE>
<BR>
Returns the physical URI of the ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#importContentsFrom(java.io.File, org.semanticweb.kaon2.api.ProgressListener)">importContentsFrom</A></B>(java.io.File file,
<A HREF="../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> progressListener)</CODE>
<BR>
Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#importContentsFrom(java.io.InputStream, java.lang.String, org.semanticweb.kaon2.api.ProgressListener)">importContentsFrom</A></B>(java.io.InputStream inputStream,
java.lang.String physicalURI,
<A HREF="../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> progressListener)</CODE>
<BR>
Adds axioms from the supplied input stream into this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#importContentsFrom(java.io.Reader, java.lang.String, org.semanticweb.kaon2.api.ProgressListener)">importContentsFrom</A></B>(java.io.Reader reader,
java.lang.String physicalURI,
<A HREF="../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> progressListener)</CODE>
<BR>
Adds the contents from the supplied source into this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#importContentsFrom(java.lang.String, org.semanticweb.kaon2.api.ProgressListener)">importContentsFrom</A></B>(java.lang.String physicalURI,
<A HREF="../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> progressListener)</CODE>
<BR>
Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#isPersistent()">isPersistent</A></B>()</CODE>
<BR>
Checks whether this ontology is atuomatically persistent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#occursInAxioms(org.semanticweb.kaon2.api.logic.Term, boolean)">occursInAxioms</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> term,
boolean checkImportedOntologies)</CODE>
<BR>
Checks whether the supplied term occurs in one of the axioms of this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#persist()">persist</A></B>()</CODE>
<BR>
Ensures that the ontology is persisted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#removeAllAxioms()">removeAllAxioms</A></B>()</CODE>
<BR>
This method removes all axioms from an ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#removeAnnotation(org.semanticweb.kaon2.api.owl.elements.Annotation)">removeAnnotation</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/owl/elements/Annotation.html" title="interface in org.semanticweb.kaon2.api.owl.elements">Annotation</A> annotation)</CODE>
<BR>
Removes an annotation from an ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#removeAxiom(org.semanticweb.kaon2.api.Axiom)">removeAxiom</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/Axiom.html" title="interface in org.semanticweb.kaon2.api">Axiom</A> axiom)</CODE>
<BR>
Removes an axiom from an ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#removeAxioms(java.util.Collection)">removeAxioms</A></B>(java.util.Collection<<A HREF="../../../../org/semanticweb/kaon2/api/Axiom.html" title="interface in org.semanticweb.kaon2.api">Axiom</A>> axioms)</CODE>
<BR>
Removes a collection of axioms from an ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#removeFromImports(org.semanticweb.kaon2.api.Ontology)">removeFromImports</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A> ontology)</CODE>
<BR>
Removes specified ontology from the set of ontologies imported in this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#removeOntologyListener(org.semanticweb.kaon2.api.OntologyListener)">removeOntologyListener</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/OntologyListener.html" title="interface in org.semanticweb.kaon2.api">OntologyListener</A> ontologyListener)</CODE>
<BR>
Removes a listener from this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#replaceTerm(org.semanticweb.kaon2.api.logic.Term, org.semanticweb.kaon2.api.logic.Term, org.semanticweb.kaon2.api.ProgressListener)">replaceTerm</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> termToReplace,
<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> replaceWith,
<A HREF="../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> progressListener)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -