query-0b7c55faee6b839263397d9c5abaea3a

rq turtle/ttl

title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa? SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE { VALUES ?taxon { wd:Q158695 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?children (wdt:P171) ?taxon. # Include children taxa ?structure wdt:P703 ?children; # Get the taxon of the structure wdt:P234 ?structure_inchi. # Get the InChI SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } LIMIT 10000 title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa? SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE { VALUES ?taxon { wd:Q158695 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?children (wdt:P171) ?taxon. # Include children taxa ?structure wdt:P703 ?children; # Get the taxon of the structure wdt:P234 ?structure_inchi. # Get the InChI SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } LIMIT 10000 title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa? SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE { VALUES ?taxon { wd:Q158695 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?children (wdt:P171) ?taxon. # Include children taxa ?structure wdt:P703 ?children; # Get the taxon of the structure wdt:P234 ?structure_inchi. # Get the InChI SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } LIMIT 10000 title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa? SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE { VALUES ?taxon { wd:Q158695 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?children (wdt:P171) ?taxon. # Include children taxa ?structure wdt:P703 ?children; # Get the taxon of the structure wdt:P234 ?structure_inchi. # Get the InChI SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } LIMIT 10000 title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa? SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE { VALUES ?taxon { wd:Q158695 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?children (wdt:P171) ?taxon. # Include children taxa ?structure wdt:P703 ?children; # Get the taxon of the structure wdt:P234 ?structure_inchi. # Get the InChI SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } LIMIT 10000 title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa? SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE { VALUES ?taxon { wd:Q158695 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?children (wdt:P171) ?taxon. # Include children taxa ?structure wdt:P703 ?children; # Get the taxon of the structure wdt:P234 ?structure_inchi. # Get the InChI SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } LIMIT 10000

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa?
SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE {
  VALUES ?taxon {
    wd:Q158695                          # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete
  }
  ?children (wdt:P171*) ?taxon.         # Include children taxa
  ?structure wdt:P703 ?children;        # Get the taxon of the structure
             wdt:P234 ?structure_inchi. # Get the InChI
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
LIMIT 10000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?children") v3("?structure"):::projected v4("?structure_inchi"):::projected v1("?taxon") c5(["bd:serviceParam"]):::iri c7(["en"]):::literal bind0[/VALUES ?taxon/] bind0-->v1 bind00(["wd:Q158695"]) bind00 --> bind0 v2 --"wdt:P171"--> v1 v3 --"wdt:P703"--> v2 v3 --"wdt:P234"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end