⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ontology.html

📁 本体推理工具 共八个例子:从如何建立本体到做一些简单的的本体推理
💻 HTML
📖 第 1 页 / 共 5 页
字号:

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces all occurrences of one term in this ontology with another term.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#resumeNotifications()">resumeNotifications</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resumes the the change notifications for this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.io.File, java.lang.String)">saveOntology</A></B>(java.lang.String&nbsp;formatName,
             java.io.File&nbsp;file,
             java.lang.String&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.io.OutputStream, java.lang.String)">saveOntology</A></B>(java.lang.String&nbsp;formatName,
             java.io.OutputStream&nbsp;outputStream,
             java.lang.String&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.lang.String, java.lang.String)">saveOntology</A></B>(java.lang.String&nbsp;formatName,
             java.lang.String&nbsp;physicalURI,
             java.lang.String&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.io.Writer, java.lang.String)">saveOntology</A></B>(java.lang.String&nbsp;formatName,
             java.io.Writer&nbsp;writer,
             java.lang.String&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#setDuplicateAxiomsThrowException(boolean)">setDuplicateAxiomsThrowException</A></B>(boolean&nbsp;throwExceptionOnDuplicates)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if duplicate additions of axioms to this ontology should result in an exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#setLockTimeout(long)">setLockTimeout</A></B>(long&nbsp;lockTimeout)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the time in miliseconds how much one should wait for acquiring locks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#setModule(org.semanticweb.kaon2.api.logic.Term)">setModule</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A>&nbsp;module)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the module of this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#suspendNotifications()">suspendNotifications</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suspends the change notifications for this ontology.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getConnection()"><!-- --></A><H3>
getConnection</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/KAON2Connection.html" title="interface in org.semanticweb.kaon2.api">KAON2Connection</A> <B>getConnection</B>()</PRE>
<DL>
<DD>Returns the connection associated with this ontology.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the connection of the ontology</DL>
</DD>
</DL>
<HR>

<A NAME="getParameters()"><!-- --></A><H3>
getParameters</H3>
<PRE>
java.util.Map&lt;java.lang.String,java.lang.Object&gt; <B>getParameters</B>()</PRE>
<DL>
<DD>Returns the parameters of this ontology.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the parameters of this ontology</DL>
</DD>
</DL>
<HR>

<A NAME="getOntologyURI()"><!-- --></A><H3>
getOntologyURI</H3>
<PRE>
java.lang.String <B>getOntologyURI</B>()</PRE>
<DL>
<DD>Returns the URI of the ontology.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the URI of the ontology</DL>
</DD>
</DL>
<HR>

<A NAME="getPhysicalURI()"><!-- --></A><H3>
getPhysicalURI</H3>
<PRE>
java.lang.String <B>getPhysicalURI</B>()</PRE>
<DL>
<DD>Returns the physical URI of the ontology.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the physical URI of the ontology</DL>
</DD>
</DL>
<HR>

<A NAME="getModule()"><!-- --></A><H3>
getModule</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> <B>getModule</B>()
               throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the module of this ontology.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the module of this ontology (<code>null</code> for the default module)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="setModule(org.semanticweb.kaon2.api.logic.Term)"><!-- --></A><H3>
setModule</H3>
<PRE>
void <B>setModule</B>(<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A>&nbsp;module)
               throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Sets the module of this ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - the module of this ontology  (<code>null</code> for the default module)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="addToImports(org.semanticweb.kaon2.api.Ontology)"><!-- --></A><H3>
addToImports</H3>
<PRE>
void <B>addToImports</B>(<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>&nbsp;ontology)
                  throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Adds specified ontology to the set of ontologies imported in this ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontology</CODE> - the ontology that is imported
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="removeFromImports(org.semanticweb.kaon2.api.Ontology)"><!-- --></A><H3>
removeFromImports</H3>
<PRE>
void <B>removeFromImports</B>(<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>&nbsp;ontology)
                       throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Removes specified ontology from the set of ontologies imported in this ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontology</CODE> - the ontology that is imported
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="getImportedOntologies()"><!-- --></A><H3>
getImportedOntologies</H3>
<PRE>
java.util.Set&lt;<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>&gt; <B>getImportedOntologies</B>()</PRE>
<DL>
<DD>Returns the set of imported ontologies. This method returns only the directly imported ontologies.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the set of imported ontologies</DL>
</DD>
</DL>
<HR>

<A NAME="getAllImportedOntologies()"><!-- --></A><H3>
getAllImportedOntologies</H3>
<PRE>
java.util.Set&lt;<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>&gt; <B>getAllImportedOntologies</B>()</PRE>
<DL>
<DD>Returns the set of all imported ontologies (including the ones which are indirectly imported).
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the set of all imported ontologies</DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -