You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/extract.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -79,12 +79,14 @@ For more details see the [MIREOT paper](http://dx.doi.org/10.3233/AO-2011-0087).
79
79
80
80
The subset method extracts a sub-ontology that contains only the seed terms (that you specify with `--term` and `--term-file` options) and the relations between them. This method uses the [relation-graph](https://github.com/balhoff/relation-graph) to materialize the existential relations among the seed terms. Procedurally, the subset method materializes the input ontology and adds the inferred axioms to the input ontology. Then filters the ontology with the given seed terms. Finally, it reduces the filtered ontology to remove redundant subClassOf axioms.
81
81
82
-
robot extract --method subset \
83
-
--input subset.obo \
84
-
--term "obo:ONT_1" \
85
-
--term "obo:ONT_5" \
86
-
--term "BFO:0000050" \
87
-
--output results/subset_result.owl
82
+
```
83
+
robot extract --method subset \
84
+
--input subset.obo \
85
+
--term "obo:ONT_1" \
86
+
--term "obo:ONT_5" \
87
+
--term "BFO:0000050" \
88
+
--output results/subset_result.owl
89
+
```
88
90
89
91
ROBOT expects any `--term` or IRI in the `--term-file` to exist in the input ontology. If none of the input terms exist, the command will fail with an [empty terms error](errors#empty-terms-error). This can be overridden by including `--force true`.
0 commit comments