Revision: 67
http://dl-learner.svn.sourceforge.net/dl-learner/?rev=67&view=rev
Author: kurzum
Date: 2007-08-27 08:49:25 -0700 (Mon, 27 Aug 2007)
Log Message:
-----------
warning
Modified Paths:
--------------
trunk/src/dl-learner/org/dllearner/reasoning/OWLAPIDIGConverter.java
Modified: trunk/src/dl-learner/org/dllearner/reasoning/OWLAPIDIGConverter.java
===================================================================
--- trunk/src/dl-learner/org/dllearner/reasoning/OWLAPIDIGConverter.java 2007-08-27 15:20:20 UTC (rev 66)
+++ trunk/src/dl-learner/org/dllearner/reasoning/OWLAPIDIGConverter.java 2007-08-27 15:49:25 UTC (rev 67)
@@ -16,7 +16,6 @@
import org.dllearner.OntologyFileFormat;
import org.semanticweb.owl.apibinding.OWLManager;
-import org.semanticweb.owl.model.OWLOntology;
import org.semanticweb.owl.model.OWLOntologyCreationException;
import org.semanticweb.owl.model.OWLOntologyManager;
import org.w3c.dom.Document;
@@ -33,8 +32,9 @@
/* Load an ontology from a physical URI */
OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
- OWLOntology ontology = manager.loadOntologyFromPhysicalURI(file.toURI());
-
+ //the next function could return an ontology
+ manager.loadOntologyFromPhysicalURI(file.toURI());
+
DIGTranslatorImpl dig=new DIGTranslatorImpl(manager);
Document doc=dig.createTellsDocument(kbURI.toString());
dig.translateToDIG(manager.getOntologies(), doc, doc.getDocumentElement() );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|