query-52a0e1223b12be8dc2bc8e05e66c4169
title:Humans needing fundamental statements SELECT DISTINCT ?item ?itemLabel ?db ?dd ?pb ?pd { ?item wdt:P7613 ?bf . OPTIONAL { ?item wdt:P569 ?db . } OPTIONAL { ?item wdt:P570 ?dd . } OPTIONAL { ?item wdt:P19 ?pb . } OPTIONAL { ?item wdt:P20 ?pd . } ?item wdt:P31 wd:Q5 . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?db ?dd ?pb ?pd
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#>
#title:Humans needing fundamental statements
SELECT DISTINCT ?item ?itemLabel ?db ?dd ?pb ?pd {
?item wdt:P7613 ?bf .
OPTIONAL { ?item wdt:P569 ?db . }
OPTIONAL { ?item wdt:P570 ?dd . }
OPTIONAL { ?item wdt:P19 ?pb . }
OPTIONAL { ?item wdt:P20 ?pd . }
?item wdt:P31 wd:Q5 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?db ?dd ?pb ?pd
Query found at
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/Queries
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/sandbox
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?bf")
v1("?db"):::projected
v2("?dd"):::projected
v5("?item"):::projected
v3("?pb"):::projected
v4("?pd"):::projected
c9(["bd:serviceParam"]):::iri
c7(["wd:Q5"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v5 --"wdt:P7613"--> v6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P569".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P570".-> v2
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P19".-> v3
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P20".-> v4
end
v5 --"wdt:P31"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end