owlcollab / owltools

OWLTools
BSD 3-Clause "New" or "Revised" License
108 stars 33 forks source link

Add option to Oort to filter relationship types for basic/simple release #59

Open ShahimEssaid opened 9 years ago

ShahimEssaid commented 9 years ago

From cmung...@gmail.com on March 28, 2013 11:38:35

Essentially the same as this chunk from CommandRunner

        else if (opts.nextEq("--make-subset-by-properties")) {
            opts.info("PROPERTY-LIST","make an ontology subset that excludes axioms that use properties not in the specified set. The property list should be terminated by //");
            Set<OWLObjectProperty> props = this.resolveObjectPropertyList(opts);
            Mooncat m = new Mooncat(g);
            m.retainAxiomsInPropertySubset(g.getSourceOntology(),props,reasoner);
            m.removeDanglingAxioms();
        }

Original issue: http://code.google.com/p/owltools/issues/detail?id=59

ShahimEssaid commented 9 years ago

From HDie...@lbl.gov on March 28, 2013 18:23:17

Hello,

we already have an option to specify a list of properties for the simple ontology release. The option is: "--simple-filtered"

It accepts property IDs and uses them to filter, see OboOntologyReleaseRunner#handleSimpleOntology() for more details.

Labels: -Type-Defect Type-Enhancement