query-0dcd5b977bae6a4a0e4e55192e215060
Citizens of Italy known to be without children (better use cats but 0 hits at the moment)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel
#citizens of Italy (P38 Q142) with a "novalue" as a value of the child property (P40)
WHERE
{
?item wdt:P27 wd:Q38 . #find humans
?item rdf:type wdno:P40 . #with at least one P40 (child) statement defined to be "no value"
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c2(["wd:Q38"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wdno:P40"]):::iri
v1 --"wdt:P27"--> c2
v1 --"a"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end