query-2bd618522f01ecea2f6e098f62f45ad7
Streets named after womenwriters but without named after (P138) property yet. (P138)named after property hasn't been used in the Wikidata item. My (end) goal is to create a map with all the streets named after these women writers, but I assume (hope...) there are a lot of streets that don't have this (P138)named after property. I was wondering if it is possible to create a query with which i would find the streets named after these female authors in the WomenWriters database even when the (P138)named after ). In the query we make use of the (P2533)WomenWriters ID Hi, I have this query in which I am looking for streets that are named after female authors that are in the WomenWriters database (
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 bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel ?itemDescription ?WWid where {
?item wdt:P31 wd:Q79007 .
?item wdt:P138 ?vernoemd .
?vernoemd wdt:P2533 ?WWid .
?vernoemd wdt:P21 wd:Q6581072 .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "nl" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?WWid"):::projected
v1("?item"):::projected
v2("?vernoemd")
c8(["bd:serviceParam"]):::iri
c2(["wd:Q79007"]):::iri
c6(["wd:Q6581072"]):::iri
c10(["nl"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P138"--> v2
v2 --"wdt:P2533"--> v3
v2 --"wdt:P21"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end