query-de6581050a08d2885a8603cc626ec634
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?description1 ?item1 ?item1Label ?item2 ?item2Label
{
{ SELECT DISTINCT ?item1 ?description1 ?item2
{
?item1 wdt:P1415 ?whatever1 .
?item1 schema:description ?description1 .
FILTER (CONTAINS(str(?description1),'['))
}
LIMIT 10000
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
- https://www.wikidata.org/wiki/User:Charles_Matthews/Queries
- https://www.wikidata.org/wiki/User_talk:Charles_Matthews
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?description1"):::projected
v2("?item1"):::projected
v3("?whatever1")
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
f0[["contains(str(?description1),'#91;')"]]
f0 --> v1
v2 --"wdt:P1415"--> v3
v2 --"schema:description"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end