query-2bd567bb40c116396b87fb44e9517d8a

rq turtle/ttl

title: Which organisms are known to contain Beta-Sitosterol (Q121802)? SELECT DISTINCT ?taxon ?taxon_name WHERE { VALUES ?compound { wd:Q121802 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?compound wdt:P703 ?taxon. # Found in taxon ?taxon wdt:P225 ?taxon_name. # Get scientific name of the taxon } LIMIT 10000 title: Which organisms are known to contain Beta-Sitosterol (Q121802)? SELECT DISTINCT ?taxon ?taxon_name WHERE { VALUES ?compound { wd:Q121802 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?compound wdt:P703 ?taxon. # Found in taxon ?taxon wdt:P225 ?taxon_name. # Get scientific name of the taxon } LIMIT 10000 title: Which organisms are known to contain Beta-Sitosterol (Q121802)? SELECT DISTINCT ?taxon ?taxon_name WHERE { VALUES ?compound { wd:Q121802 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?compound wdt:P703 ?taxon. # Found in taxon ?taxon wdt:P225 ?taxon_name. # Get scientific name of the taxon } LIMIT 10000 title: Which organisms are known to contain Beta-Sitosterol (Q121802)? SELECT DISTINCT ?taxon ?taxon_name WHERE { VALUES ?compound { wd:Q121802 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?compound wdt:P703 ?taxon. # Found in taxon ?taxon wdt:P225 ?taxon_name. # Get scientific name of the taxon } LIMIT 10000 title: Which organisms are known to contain Beta-Sitosterol (Q121802)? SELECT DISTINCT ?taxon ?taxon_name WHERE { VALUES ?compound { wd:Q121802 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?compound wdt:P703 ?taxon. # Found in taxon ?taxon wdt:P225 ?taxon_name. # Get scientific name of the taxon } LIMIT 10000 title: Which organisms are known to contain Beta-Sitosterol (Q121802)? SELECT DISTINCT ?taxon ?taxon_name WHERE { VALUES ?compound { wd:Q121802 # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete } ?compound wdt:P703 ?taxon. # Found in taxon ?taxon wdt:P225 ?taxon_name. # Get scientific name of the taxon } LIMIT 10000

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#title: Which organisms are known to contain Beta-Sitosterol (Q121802)?
SELECT DISTINCT ?taxon ?taxon_name WHERE {
  VALUES ?compound {
    wd:Q121802                       # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete
  }
  ?compound wdt:P703 ?taxon.         # Found in taxon
  ?taxon wdt:P225 ?taxon_name.       # Get scientific name of the taxon
}
LIMIT 10000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?compound") v2("?taxon"):::projected v3("?taxon_name"):::projected bind0[/VALUES ?compound/] bind0-->v1 bind00(["wd:Q121802"]) bind00 --> bind0 v1 --"wdt:P703"--> v2 v2 --"wdt:P225"--> v3