query-fa16d521ea973fb176f2cc20b302e626
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel ?relation ?relationLabel ?pm20
where {
?item p:P4293 ?statement .
?statement pq:P4390 ?relation ;
ps:P4293 ?pm20Id .
filter(isLiteral(?pm20Id))
bind(uri(concat('http://purl.org/pressemappe20/folder/', ?pm20Id)) as ?pm20)
service wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v5("?pm20"):::projected
v1("?pm20Id")
v4("?relation"):::projected
v3("?statement")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en,de"]):::literal
f0[["isLiteral(?pm20Id)"]]
f0 --> v1
v2 --"p:P4293"--> v3
v3 --"p:qualifier/P4390"--> v4
v3 --"p:statement/P4293"--> v1
bind1[/"concat('http://purl.org/pressemappe20/folder/',?pm20Id)"/]
v1 --o bind1
bind1 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end