ROBOT

- - - - - - - - - -
view on github
getting started
common errors
chaining commands
global options
makefile
plugins
- - - - - - - - - -
annotate
collapse
convert
diff
expand
explain
export
export-prefixes
extract
filter
materialize
measure
merge
mirror
python
query
reason
reduce
relax
remove
rename
repair
report
template
unmerge
validate-profile
verify
- - - - - - - - - -
ROBOT is licensed under the
BSD 3-Clause License.
Theme by orderedlist

Reduce

ROBOT can be used to remove redundant subClassOf axioms:

robot reduce --reasoner ELK \
  --input ribosome.owl \
  --output results/reduced.owl

See reason for details on supported reasoners (EMR is not supported in reduce).

Available options for reduce:

Warning

Reciprocal subclass axioms (e.g. A SubClassOf B, B SubClassOf A), entailing equivalence between A and B, may be removed by reduce. In this case it is important to assert an equivalence axiom (A EquivalentTo B) using the reason command before running reduce.

Subproperties and property chains

For backwards compatibility reasons, by default subObjectPropertyOf axioms are ignored when evaluating the redundancy of subClassOf axioms. This means that, given the following example:

C SubClassOf P some D
C SubClassOf Q some D
P SubObjectPropertyOf Q

the first subClassOf axiom would by default not be considered redundant and therefore not be removed.

To force the reduce command to factor in subproperties (including property chains) when evaluating redundancy, use the --include-subproperties option:

robot reduce --reasoner ELK \
  --input redundant-over-subproperties.ofn \
  --include-subproperties true \
  --output results/reduced-redundant-over-subproperties.ofn