query-bf1ec4a37fbbc4caf70ca88ab3f1dbab

rq turtle/ttl

Locating particular P921 statements referenced to PubMed SELECT DISTINCT ?statement

WHERE { ?reference pr:P248 wd:Q180686. ?statement prov:wasDerivedFrom ?reference. ?statement ps:P921 wd:Q15326. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Locating particular P921 statements referenced to PubMed
SELECT DISTINCT ?statement 

   WHERE {
  ?reference pr:P248 wd:Q180686.
  ?statement prov:wasDerivedFrom ?reference.
  ?statement ps:P921 wd:Q15326.
  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("?reference") v2("?statement"):::projected c5(["wd:Q15326"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q180686"]):::iri v1 --"pr:P248"--> c2 v2 --"prov:wasDerivedFrom"--> v1 v2 --"ps:P921"--> c5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end