query-86c849ecbbf0fba6521458a7a4934301
Locating P921 statements referenced to PubMed that are non-MeSH SELECT ?statement ?topic WHERE {?reference pr:P248 wd:Q180686. ?statement prov:wasDerivedFrom ?reference. ?statement ps:P921 ?topic.
MINUS {?topic wdt:P486 [ ]}
}
LIMIT 450
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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/>
#Locating P921 statements referenced to PubMed that are non-MeSH
SELECT ?statement ?topic
WHERE {?reference pr:P248 wd:Q180686.
?statement prov:wasDerivedFrom ?reference.
?statement ps:P921 ?topic.
MINUS {?topic wdt:P486 [ ]}
}
LIMIT 450
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?reference")
v2("?statement"):::projected
v3("?topic"):::projected
a1((" "))
c2(["wd:Q180686"]):::iri
v1 --"pr:P248"--> c2
v2 --"prov:wasDerivedFrom"--> v1
v2 --"ps:P921"--> v3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P486"--> a1
end