Giter VIP home page Giter VIP logo

Comments (4)

bill-baumgartner avatar bill-baumgartner commented on August 27, 2024

Thanks Jason. Sorry for that oversight. I will see if I can convert the queries to use qualified predicates and then will figure out which environment to use for testing. FWIW - when I tested this last week, results were returned.

from clinical-data-committee-tracking-voting.

bill-baumgartner avatar bill-baumgartner commented on August 27, 2024

Note: I may have spoken too soon on the comment below. If all of the predicates are now represented as biolink:affects then it might be possible to OR together their constraints to replicate the original predicates shown above.

Interestingly, it does not look like we can fully replicate this query using qualifiers. Mixing qualifiers with different predicates on the same edge is not currently supported in TRAPI. See the TRAPI documentation on qualifier_constraints (which I have copied here for convenience).

 qualifier_constraints:
          type: array
          description: >-
            A list of QualifierConstraints that provide nuance to the QEdge.
            If multiple QualifierConstraints are provided, there is an OR
            relationship between them. If the QEdge has multiple
            predicates or if the QNodes that correspond to the subject or
            object of this QEdge have multiple categories or multiple
            curies, then qualifier_constraints MUST NOT be specified
            because these complex use cases are not supported at this time.

from clinical-data-committee-tracking-voting.

bill-baumgartner avatar bill-baumgartner commented on August 27, 2024

@jdr0887 See updated queries in PR #24. These should now comply with Biolink 3.x. Let me know if there are further issues.

from clinical-data-committee-tracking-voting.

nlharris avatar nlharris commented on August 27, 2024

@sierra-moxon commented:

These eliminated predicates are prime use cases for the qualifier methodology.
Many examples here: https://biolink.github.io/biolink-model/guidelines/association-examples-with-qualifiers.html
and here: https://biolink.github.io/biolink-model/guidelines/reading-a-qualifier-based-statement.html

from clinical-data-committee-tracking-voting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.