All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.ac.manchester.owl.owlapi.LoadDolce Maven / Gradle / Ivy

The newest version!
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());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy