Package org.obolibrary.robot
Class ExpandOperation
- java.lang.Object
-
- org.obolibrary.robot.ExpandOperation
-
public class ExpandOperation extends Object
Expand ontology macro relations.- Author:
- Jim Balhoff
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExpandOperation.ExpandConfig
-
Constructor Summary
Constructors Constructor Description ExpandOperation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
Expand macro relations using SPARQL CONSTRUCT
-
-
-
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 fromconfig
- configuration for expansion operationincludeTerms
- 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
-
-