Introduce a special property to make "negation" of edges more visible in a TRAPI message#407
Open
sierra-moxon wants to merge 4 commits into1.4from
Open
Introduce a special property to make "negation" of edges more visible in a TRAPI message#407sierra-moxon wants to merge 4 commits into1.4from
sierra-moxon wants to merge 4 commits into1.4from
Conversation
…rt users of this resource to expect negated edges
Collaborator
|
See also PR #307, which is a little different. That PR includes the idea of adding negated to QueryEdge, too, which probably should be part of it? |
Member
Author
|
Thank you for the pointer; I missed the QEdge. :) I merged that PR branch into this one, but happy to go the other way instead if that makes more sense. |
Member
Author
|
Link to @cmungall's comments on negation of an edge from PR #307 : #307 (comment) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We discussed in the modeling group how to represent a 'negated' edge in our models either as a negated form of each of our predicates, e.g.
predicate: not_affectsandpredicate: affectsor as an edge propertynegation. Ultimately, the DM group decided to include anegationedge property (revisit the discussion and vote here), with the caveat thatnegationshould never be ignored downstream and should always be shown. Right now in TRAPI, thenegationedge property would be treated in TRAPI like any otherattribute.Groups making negated edges still express concern that the negation property will be ignored or less visible than necessary for groups downstream (and ultimately users). This PR attempts to give more transparency to the
negationproperty via a specific property on an edge, as well as adding a flag to MetaEdge so that a resource an alert users that an edge might have both positive and negated edges.