query-961abfa6a9d0a47e7742a5a188fa0a45
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?Test ?reference
WHERE
{
?item wdt:P31 wd:Q5.
?item wdt:P2632 ?Test.
?Test wdt:P31 wd:Q61927259.
?item p:P2632 [ prov:wasDerivedFrom [ pr:P248 ?reference ] ] ;
SERVICE wikibase:label { bd:serviceParam wikibase:language "de, en, fr, pl, it, eo". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Test"):::projected
v1("?item"):::projected
v3("?reference"):::projected
a2((" "))
a1((" "))
c4(["wd:Q61927259"]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c11(["de, en, fr, pl, it, eo"]):::literal
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P2632"--> v2
v2 --"p:direct/P31"--> c4
a1 --"p:reference/P248"--> v3
a2 --"prov:wasDerivedFrom"--> a1
v1 --"p:P2632"--> a2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end