Examples of OWLFacetRestriction


Examples of org.semanticweb.owlapi.model.OWLFacetRestriction

    OWLDataFactory factory = manager.getOWLDataFactory();
    OWLOntology ontology = manager.createOntology(IRI
        .create("http://example.org"));
   
    OWLDatatype dataRange = factory.getOWLDatatype(OWL2Datatype.XSD_INTEGER.getIRI());
    OWLFacetRestriction dataRangeFacetRestriction = factory
        .getOWLFacetRestriction(
            OWLFacet.MIN_EXCLUSIVE, 1);
    OWLDataRange dataRangeRestriction = factory
        .getOWLDatatypeRestriction(dataRange,
            dataRangeFacetRestriction);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.