query-59e66cf9e1495584ba52a4e6ca63b910
donne italiane senza data nascita, viventi (si presume) e con CV SELECT DISTINCT ?q ?qLabel ?desc ?cv ?email WHERE { ?q wdt:P31 wd:Q5; wdt:P27 wd:Q38; wdt:P21 wd:Q6581072; wdt:P8214 ?cv. OPTIONAL { ?q wdt:P968 ?email. } MINUS { ?q wdt:P569 ?dob. } MINUS { ?q wdt:P570 ?dod. } OPTIONAL { ?q schema:description ?desc. } FILTER((LANG(?desc)) = "[AUTO_LANGUAGE]") SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY (?desc)
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# donne italiane senza data nascita, viventi (si presume) e con CV
SELECT DISTINCT ?q ?qLabel ?desc ?cv ?email WHERE {
?q wdt:P31 wd:Q5;
wdt:P27 wd:Q38;
wdt:P21 wd:Q6581072;
wdt:P8214 ?cv.
OPTIONAL { ?q wdt:P968 ?email. }
MINUS { ?q wdt:P569 ?dob. }
MINUS { ?q wdt:P570 ?dod. }
OPTIONAL { ?q schema:description ?desc. }
FILTER((LANG(?desc)) = "[AUTO_LANGUAGE]")
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY (?desc)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?cv"):::projected
v1("?desc"):::projected
v5("?dob")
v6("?dod")
v4("?email"):::projected
v2("?q"):::projected
c7(["wd:Q6581072"]):::iri
c5(["wd:Q38"]):::iri
c14(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c16(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?desc = '#91;AUTO_LANGUAGE#93;'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P27"--> c5
v2 --"wdt:P21"--> c7
v2 --"wdt:P8214"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P968".-> v4
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P569"--> v5
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P570"--> v6
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."schema:description".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c14 --"wikibase:language"--> c16
end