Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for exporting domain and range #1061

Merged
merged 2 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- Checking for empty strings in addition to missing ones in `missing_label.rq` [#1017]
- Add "domain" and "range" support to export [#1061]

### Fixed
- Fix missing labels in [`diff`] output. [#1026]
Expand Down Expand Up @@ -323,6 +324,7 @@ First official release of ROBOT!
[`template`]: http://robot.obolibrary.org/template
[`validate`]: http://robot.obolibrary.org/validate

[#1061]: https://github.com/ontodev/robot/issues/1061
[#1009]: https://github.com/ontodev/robot/issues/1009
[#979]: https://github.com/ontodev/robot/pull/979
[#978]: https://github.com/ontodev/robot/pull/978
Expand Down
2 changes: 2 additions & 0 deletions docs/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ Various `--header` types are supported:
* `Equivalent Property`: creates an "Equivalent Properties" column based on `owl:equivalentProperty`
* `Disjoint With`: creates a "Disjoint With" column based on `owl:disjointWith`
* `Type`: creates an "Instance Of" column based on `rdf:type` for named individuals or the OWL EntityType for all others (e.g., `Class`)
* `Domain`: creates a "Domain" column based on `rdfs:domain`
* `Range`: creates a "Range" column based on `rdfs:range`
* **Property CURIES**: you can always reference a property by the short form of the unique identifier (e.g. `oboInOwl:hasDbXref`). Any prefix used [must be defined](global#prefixes).
* **Property Labels**: as long as a property label is defined in the input ontology, you can reference a property by label (e.g. `database_cross_reference`). This label will also be used as the column header.

Expand Down
Loading