RobokopU24 / Feedback

Feedback on the ROBOKOP project
https://robokop.renci.org
0 stars 0 forks source link

Improve the sample queries - Templated Queries #203

Open Woozl opened 3 months ago

Woozl commented 3 months ago

Currently the sample queries are provided in a dropdown underneath the query graph, but the button is not especially prominent for new users. In addition to adding new queries (and organizing them into sections), Alex suggested we directly link to some select queries from the landing page (robokop.renci.org)[^tech].

@karafecho let me know if I missed anything

[^tech]: This is going to be tricky since the landing page and UI are distinct apps, and there is no way to link directly to the UI (qgraph) with a query pre-populated. We probably want this functionality, but this involves some amount of de/serialization of the application state into query parameters for instance

karafecho commented 3 months ago

Suggested sample queries include:

  1. AOPs: see https://github.com/RobokopU24/Use-Cases/issues/17
  2. Given a disease, show me all drugs that might treat that disease
  3. Given a drug, show me all diseases that might be treated with that drug
cbizon commented 3 months ago

There were a number of queries that Alex used to use a lot - I think that they were often 2 or 3 hops like (disease)-(gene)-(chemical) type things.

karafecho commented 3 months ago

We had a COP and an AOP included as sample queries in the ROBOKOP prototype. Our current users are interested in AOPs. I'll add one.

cbizon commented 3 months ago

Yeah, that's a good idea @karafecho

I do want to distinguish between adding new sample queries and creating the ability to do templated queries. Both are important, maybe they need 2 issues?

karafecho commented 3 months ago

I created a ticket to post a sample AOP: https://github.com/RobokopU24/qgraph/issues/278. The sample queries can be configured by users, so in that sense, they are templated, but I agree that they are also distinct.

As such, I also created a ticket to begin thinking through an approach for automating AOPs and creating true templates. See https://github.com/RobokopU24/Feedback/issues/213.