WDscholia / scholia

Wikidata-based scholarly profiles
https://scholia.toolforge.org
Other
221 stars 78 forks source link

Build sequential queries #303

Open Daniel-Mietchen opened 6 years ago

Daniel-Mietchen commented 6 years ago

E.g. the current queries for metabolome and genome in the taxon aspect both depend on found in taxon (P703), so if some scout query (while something like "querying Wikidata ..." is displayed in the meantime, perhaps with a progress indicator) for the presence of any P703 statements does not yield anything, then the metabolome and genome panels would not even be queried for.

Another way to go sequentially could be to do scout queries without labels, with some basic counts (example) and without visualizations (so with output just as tables), and if that yields any results, then the actual panel could be loaded, with a message like "found some results, now rendering them for you" on display.

This might also help address #302 .

Daniel-Mietchen commented 6 years ago

Pinging #304 on the genome panel.

Daniel-Mietchen commented 5 years ago

Here is a blog post that highlights one way to approach this: http://www.snee.com/bobdc.blog/2018/08/pipelining-sparql-queries-in-m.html

carlinmack commented 3 years ago

by scout query you mean ask query? #617 and #1613