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

Exclude deprecated from lowercase_definition check #1224

Merged
merged 4 commits into from
Nov 13, 2024
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
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## Fixed
- Add missing filter for deprecated in lowercase_definition check [#1220]
- Bug was fixed that caused logical axioms with axiom annotations not to be processed correctly when merging axiom annotations [#1223]

## [1.9.7] - 2024-10-30

### Fixed
- Output inferred object property assertions using Whelk reasoner, by updating to Whelk 1.1.3. [#1121]
- Bug was fixed that caused logical axioms with axiom annotations not to be processed correctly when merging axiom annotations [#1223]

### Changed
- Update Whelk to 1.2.1 [#1221]
Expand Down Expand Up @@ -413,7 +416,9 @@ First official release of ROBOT!
[`validate`]: http://robot.obolibrary.org/validate
[`verify`]: http://robot.obolibrary.org/verify

[#1223]: https://github.com/ontodev/robot/pull/1223
[#1221]: https://github.com/ontodev/robot/pull/1221
[#1220]: https://github.com/ontodev/robot/issues/1220
[#1211]: https://github.com/ontodev/robot/pull/1211
[#1194]: https://github.com/ontodev/robot/pull/1194
[#1193]: https://github.com/ontodev/robot/pull/1193
Expand Down
4 changes: 3 additions & 1 deletion docs/report_queries/lowercase_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
**Solution:** Capitalize the first letter of the definition, or disregard this INFO.

```sparql
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX obo: <http://purl.obolibrary.org/obo/>

SELECT DISTINCT ?entity ?property ?value WHERE {
VALUES ?property { obo:IAO_0000115
obo:IAO_0000600 }
?entity ?property ?value .
FILTER (!regex(?value, "^[A-Z0-9]"))
FILTER NOT EXISTS { ?entity owl:deprecated true }
FILTER (!isBlank(?entity))
FILTER (!regex(?value, "^[A-Z0-9]"))
}
ORDER BY ?entity
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
#
# **Solution:** Capitalize the first letter of the definition, or disregard this INFO.

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX obo: <http://purl.obolibrary.org/obo/>

SELECT DISTINCT ?entity ?property ?value WHERE {
VALUES ?property { obo:IAO_0000115
obo:IAO_0000600 }
?entity ?property ?value .
FILTER (!regex(?value, "^[A-Z0-9]"))
FILTER NOT EXISTS { ?entity owl:deprecated true }
FILTER (!isBlank(?entity))
FILTER (!regex(?value, "^[A-Z0-9]"))
}
ORDER BY ?entity
Loading