uk.ac.manchester.owl.owlapi.LoadDolce Maven / Gradle / Ivy
package uk.ac.manchester.owl.owlapi;
import java.io.File;
import org.semanticweb.owlapi.apibinding.OWLManager;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;
public class LoadDolce {
public static void main(String[] args) throws OWLOntologyCreationException {
OWLOntology o = OWLManager.createOWLOntologyManager()
.loadOntologyFromOntologyDocument(new File("/Users/ignazio/Downloads/dul.n3"));
System.out.println("LoadDolce.main() " + o.getAxiomCount());
}
}