query-d7bc3d9fd2e6ef35b75b1ae7134736f4
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?publisher ?publisherLabel # ?entry ?entryLabel
WHERE
{
?entry ?p ?statement .
?statement prov:wasDerivedFrom ?source.
?source pr:P123 ?publisher.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry")
v2("?p")
v5("?publisher"):::projected
v4("?source")
v3("?statement")
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
v1 -->v2--> v3
v3 --"prov:wasDerivedFrom"--> v4
v4 --"pr:P123"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end