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

Add a workbench for showing SPARQL query results in Noctua #465

Closed
cmungall opened this issue Jul 14, 2017 · 13 comments
Closed

Add a workbench for showing SPARQL query results in Noctua #465

cmungall opened this issue Jul 14, 2017 · 13 comments
Assignees
Milestone

Comments

@cmungall
Copy link
Member

cmungall commented Jul 14, 2017

This workbench will show the results of sparql queries over an individual GO-CAM. The queries may be a mixture of reporting and validation. For validation there will be overlap with SPARTA report.

This could be implemented in different ways

  1. Minerva issues SPARQL queries, and returns payload in some TBD SPARQL format
  2. Workbench sends SPARQL to blazegraph (via barista/minerva) according to SPARQL1.1 protocol
@kltm kltm added this to the wishlist milestone Jul 14, 2017
@kltm
Copy link
Member

kltm commented Jul 14, 2017

When is the interactivity here with a model/set/etc.?

@cmungall
Copy link
Member Author

Analogous to annpreview - no modification of models

As an extension we may want the option to allow repair for a subset of rules. For example, https://github.com/geneontology/go-site/blob/master/metadata/rules/gorule-0000020.md

for 'replaced by', there could be a checkbox for auto-repair with the suggested replacement. For consider there would be a selection.

But we'd need to think about this. The generic way to do the repairs would be via a SPARQL update, which has various issues eg syncing with minerva in memory models

But this ticket is about the reporting aspect

@cmungall cmungall modified the milestones: 2017-10 GOC-Meeting, wishlist Aug 9, 2017
@cmungall
Copy link
Member Author

cmungall commented Sep 8, 2017

@kltm did I imagine there was a bbop-manager-sparql package?

@cmungall
Copy link
Member Author

cmungall commented Sep 8, 2017

I'm going to add some rules to get us started:

(more to come, i will edit ticket)

Note some of these may be implementable by reasoning rather than queries, eg the enables restriction but this gets a bit awkward in some cases, and in any case some redundancy may be OK here.

@dougli1sqrd can you start working on the query bank and implement in sparta for now and we can work on the workbench when @kltm gets back.

@cmungall cmungall changed the title Add a SPARTA workbench Add a workbench for showing SPARQL query results in Noctua Sep 8, 2017
@cmungall
Copy link
Member Author

cmungall commented Sep 8, 2017

Some examples of potentially useful non-violation reports (all in a single GO-CAM)

  • basic aggregate stats (number of distinct classes used, number of instances)
    • broken down by high level category (e.g. MF, BP, CC)

@kltm
Copy link
Member

kltm commented Sep 9, 2017

I’ve had some thoughts on this; I think what we might want is a custom format that can then be compiled to something usable by the UI we select (if we don’t go custom). I think a format with description, variable declarations, context (optional, see Noctua plugins), and template. These would be usable for both the general SPARQL frontend and Noctua/Minerva as canned queries that could appear in different context.

@kltm
Copy link
Member

kltm commented Sep 9, 2017

bbop-manager-sparql will hopefully be a product of this week.

@kltm
Copy link
Member

kltm commented Sep 12, 2017

@cmungall @dougli1sqrd

One use case set we have is both a goose/gannet replacement as well as canned queries for noctua to trigger on the client for minerva (which may partially or completely overlap with this ticket). I'd proposed that these both have the same format more-or-less, with something along the lines of what I'll be using elsewhere in noctua for grabbing external data using SPARQL; three variations of the exact same query in this proposed format:

https://github.com/berkeleybop/bbop-manager-sparql/blob/master/examples/template-01.yaml
https://github.com/berkeleybop/bbop-manager-sparql/blob/master/examples/template-02.yaml
https://github.com/berkeleybop/bbop-manager-sparql/blob/master/examples/template-03.yaml

@kltm
Copy link
Member

kltm commented Sep 14, 2017

There is now a bbop-manager-sparql in play.
As well, https://github.com/geneontology/noctua/blob/master/context/go/sparql-templates/pubmed-info.yaml is used in-repo as well.

kltm added a commit that referenced this issue Sep 15, 2017
…es; as this can be very easily transferred to a model workbench (would need to extend bbop-manager-sparql to just return filled templates) this is essentially completion for geneontology/go-graphstore#9 and #465; TODO: track down cross-site issue
@kltm
Copy link
Member

kltm commented Sep 15, 2017

This is essentially complete, but I'm running into some cross-site issues.

@kltm
Copy link
Member

kltm commented Sep 15, 2017

Completed, except for a talk about what to pass back (and the extension of bbop-manager-sparql) to handle it.

kltm added a commit that referenced this issue Sep 15, 2017
…es; as this can be very easily transferred to a model workbench (would need to extend bbop-manager-sparql to just return filled templates) this is essentially completion for geneontology/go-graphstore#9 and #465; TODO: track down cross-site issue
@kltm kltm modified the milestones: 2017-10 GOC-Meeting, wishlist Oct 11, 2017
@vanaukenk
Copy link

@kltm @cmungall - do you want to keep this ticket open?

@kltm
Copy link
Member

kltm commented Jun 3, 2022

I believe that this is probably safe to close for now, unless we change tack.

@kltm kltm closed this as completed Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants