-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validator does not check annotationProperty bindings #82
- Loading branch information
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/schema/test/negative_test_set/undeclared_annotation_prop.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
pattern_name: acute | ||
|
||
pattern_iri: http://purl.obolibrary.org/obo/mondo/patterns/acute.yaml | ||
|
||
description: 'This pattern is applied to diseases that are described as having an acute onset, i.e. the sudden appearance of disease manifestations over a short period of time. | ||
Examples: [acute bronchiolitis](http://purl.obolibrary.org/obo/MONDO_0020680), | ||
[acute liver failure](http://purl.obolibrary.org/obo/MONDO_0019542)' | ||
|
||
contributors: | ||
- https://orcid.org/0000-0002-6601-2165 | ||
- https://orcid.org/0000-0001-5208-3432 | ||
|
||
classes: | ||
acute: PATO:0000389 | ||
disease: MONDO:0000001 | ||
|
||
relations: | ||
has modifier: RO:0002573 | ||
|
||
annotationProperties: | ||
# exact_synonym: oio:hasExactSynonym | ||
related_synonym: oio:hasRelatedSynonym | ||
|
||
vars: | ||
disease: '''disease''' | ||
|
||
name: | ||
text: acute %s | ||
vars: | ||
- disease | ||
|
||
annotations: | ||
- annotationProperty: exact_synonym | ||
text: '%s, acute' | ||
vars: | ||
- disease | ||
|
||
def: | ||
text: Acute form of %s. | ||
vars: | ||
- disease | ||
|
||
equivalentTo: | ||
text: '%s and ''has modifier'' some ''acute''' | ||
vars: | ||
- disease |