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

Propose QEdge.negated and Edge.negated #307

Closed
wants to merge 1 commit into from
Closed
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
13 changes: 12 additions & 1 deletion TranslatorReasonerAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ components:
type: object
description: >-
An edge in the QueryGraph used as an filter pattern specification in a
query. If the optional predicate property is not specified,
query. If the optional predicates property is not specified,
it is assumed to be a wildcard match to the target knowledge space.
If specified, the ontological inheritance hierarchy associated with
the term provided is assumed, such that edge bindings returned may be
Expand All @@ -600,6 +600,12 @@ components:
$ref: '#/components/schemas/BiolinkPredicate'
minItems: 1
nullable: true
negated:
type: boolean
description: >-
If set to true, then the query seeks assertions that are
explictly negated. i.e. evidence of absence is required, rather
than absence of evidence.
subject:
type: string
example: https://omim.org/entry/603903
Expand Down Expand Up @@ -820,6 +826,11 @@ components:
allOf:
- $ref: '#/components/schemas/BiolinkPredicate'
nullable: true
negated:
type: boolean
description: >-
If set to true, then the assertion is explictly negated with
evidence of absence, rather than absence of evidence.
subject:
$ref: '#/components/schemas/CURIE'
example: OMIM:603903
Expand Down