ROBOT

- - - - - - - - - -
view on github
usage
common errors
chaining commands
prefixes
makefile
- - - - - - - - - -
annotate
convert
diff
extract
filter
materialize
merge
mirror
query
reason
reduce
relax
repair
template
unmerge
validate
verify
- - - - - - - - - -

Filter

Some ontologies contain more axioms than you want to use. You can use the filter command to keep only those axioms with ObjectProperties that you specify. For example, Uberon contains rich logical axioms, but sometimes you only want to keep the ‘part of’ and ‘has part’ relations. Here we start with a fragment of Uberon and filter for parthood relations:

robot filter --input uberon_fragment.owl \
  --term obo:BFO_0000050 \
  --term obo:BFO_0000051 \
  --output results/filtered.owl