|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.xml.ImportDaml | +--org.opencyc.xml.ImportSonatDaml
Imports DAML xml content for the DAML SONAT ontologies.
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED 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 OPENCYC ORGANIZATION OR ITS CONTRIBUTORS 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 AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Inner Class Summary | |
protected class |
ImportSonatDaml.DamlDocInfo
Provides a container for specifying the SONAT DAML document paths and the Cyc import microtheory for each. |
Inner classes inherited from class org.opencyc.xml.ImportDaml |
ImportDaml.DamlRestriction, ImportDaml.DamlTermInfo, ImportDaml.MyErrorHandler |
Field Summary | |
protected java.util.ArrayList |
damlDocInfos
the list of DAML documents and import microtheories |
protected java.lang.String |
damlSonatSpindleCollectorMt
collector (bottom) of the SONAT DAML microtheory spindle |
protected java.lang.String |
damlSonatSpindleHeadMt
head of the SONAT DAML microtheory spindle |
Fields inherited from class org.opencyc.xml.ImportDaml |
actuallyImport, arp, bookkeepingMt, characterEncoding, cycAccess, damlOntologyDefiningURL, damlOntologyDefiningURLString, damlRestriction, DEFAULT_VERBOSITY, equivalentDamlCycTerms, importMt, importMtName, kbSubsetCollection, kbSubsetCollectionName, ontologyNicknames, previousDamlTermInfo, verbosity |
Constructor Summary | |
ImportSonatDaml()
Constructs a new ImportSonatDaml object. |
Method Summary | |
protected void |
doImport()
Import the SONAT DAML ontologies into Cyc. |
protected void |
initializeDamlVocabulary()
Initializes the DAML ontology vocabulary if not present. |
protected void |
initializeDocumentsToImport()
Initializes the documents to import. |
protected void |
initializeMappedTerms()
|
protected void |
initializeOntologyNicknames()
Initializes the Ontology nicknames mapping. |
static void |
main(java.lang.String[] args)
Provides the main method for the ImportSonatDaml application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.ArrayList damlDocInfos
protected java.lang.String damlSonatSpindleHeadMt
protected java.lang.String damlSonatSpindleCollectorMt
Constructor Detail |
public ImportSonatDaml() throws java.io.IOException, java.net.UnknownHostException, CycApiException
Method Detail |
public static void main(java.lang.String[] args)
args
- ignored.protected void doImport() throws java.io.IOException, java.net.UnknownHostException, CycApiException
protected void initializeDocumentsToImport()
protected void initializeOntologyNicknames()
protected void initializeMappedTerms() throws java.io.IOException, java.net.UnknownHostException, CycApiException
protected void initializeDamlVocabulary() throws java.io.IOException, java.net.UnknownHostException, CycApiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |