query-9f69feb648ed178dcae2a7a50d3f7fa5

rq turtle/ttl

Chemical compound

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wbt: <https://wikifcd.wikibase.cloud/prop/direct/>
PREFIX wb: <https://wikifcd.wikibase.cloud/entity/>
PREFIX p: <https://wikifcd.wikibase.cloud/prop/>
PREFIX prov: <http://www.w3.org/ns/prov#>

SELECT
  ?chemical_compound ?chemical_compoundLabel
  (CONCAT("#chemicalcompound/", SUBSTR(STR(?chemical_compound), 39)) AS ?chemical_compoundUrl)
  ?chemical_compoundDescription 
WHERE {
  ?chemical_compound wbt:P1 wb:Q567677 . 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?chemical_compound"):::projected v2("?chemical_compoundUrl") c4(["bd:serviceParam"]):::iri c2([https://wikifcd.wikibase.cloud/entity/Q567677]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --https://wikifcd.wikibase.cloud/prop/direct/P1--> c2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end bind0[/"concat('#chemicalcompound/',substring(str(?chemical_compound),'39^^xsd:integer'))"/] v1 --o bind0 bind0 --as--o v2