Class ExpandOperation


  • public class ExpandOperation
    extends Object
    Expand ontology macro relations.
    Author:
    Jim Balhoff
    • Constructor Detail

      • ExpandOperation

        public ExpandOperation()
    • Method Detail

      • expand

        public static void expand​(org.semanticweb.owlapi.model.OWLOntology ontology,
                                  ExpandOperation.ExpandConfig config,
                                  Set<org.semanticweb.owlapi.model.IRI> includeTerms,
                                  Set<org.semanticweb.owlapi.model.IRI> excludeTerms)
                           throws org.semanticweb.owlapi.model.OWLOntologyStorageException
        Expand macro relations using SPARQL CONSTRUCT
        Parameters:
        ontology - the ontology to expand from
        config - configuration for expansion operation
        includeTerms - IRIs of annotation properties whose expansion to perform. If empty, all found expansion are included.
        excludeTerms - IRIs of annotation properties whose expansion to exlude; subtracted from inclusion list.
        Throws:
        org.semanticweb.owlapi.model.OWLOntologyStorageException - on exception converting OWLOntology to Jena Dataset