query-8250e8a48b2ef08113251405edb6d8a8
runeberg.org Reference URL as qualifier
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?prop ?val ?url
WHERE
{
?item ?prop ?val.
?val pq:P854 ?url.
FILTER ( STRSTARTS(str(?url),'http://runeberg.org' ) )
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;
v2("?item"):::projected
v3("?prop"):::projected
v1("?url"):::projected
v4("?val"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
f0[["starts-with(str(?url),'http://runeberg.org')"]]
f0 --> v1
v2 -->v3--> v4
v4 --"pq:P854"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end