Class FilterOperation


  • public class FilterOperation
    extends Object
    Filter the axioms of an ontology by given criteria. This implementation has been replaced by methods in OntologyHelper and RelatedObjectsHelper. See the remove and filter documentation for more details.
    Author:
    James A. Overton
    • Constructor Detail

      • FilterOperation

        public FilterOperation()
    • Method Detail

      • filter

        public static void filter​(org.semanticweb.owlapi.model.OWLOntology ontology,
                                  Set<org.semanticweb.owlapi.model.OWLObjectProperty> properties)
        Remove axioms from the input ontology. This version expects a set of OWLObjectProperties.
        Parameters:
        ontology - the ontology to filter
        properties - a set of OWLObjectProperties to retain