query-fec12bedeebd1c5d24b87165a97e4d1b
Unmarried Human @ Odiawiki PREFIX schema: http://schema.org/ SELECT ?human ?humanLabel ?genderLabel ?humanDescription ?pobLabel ?dob WHERE { ?human p:P26 ?spouceStatement . ?spouceStatement a wdno:P26 . ?wikilink schema:about ?human. ?wikilink schema:isPartOf https://or.wikipedia.org/. OPTIONAL { ?human wdt:P21 ?gender. } OPTIONAL { ?human wdt:P569 ?dob. } OPTIONAL { ?human wdt:P19 ?pob. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } GROUP BY ?human ?humanLabel ?gender ?genderLabel ?humanDescription ?pobLabel ?dob ORDER BY ?dob LIMIT 123
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Unmarried Human @ Odiawiki
PREFIX schema: <http://schema.org/>
SELECT ?human ?humanLabel ?genderLabel ?humanDescription ?pobLabel ?dob
WHERE {
?human p:P26 ?spouceStatement .
?spouceStatement a wdno:P26 .
?wikilink schema:about ?human.
?wikilink schema:isPartOf <https://or.wikipedia.org/>.
OPTIONAL { ?human wdt:P21 ?gender. }
OPTIONAL { ?human wdt:P569 ?dob. }
OPTIONAL { ?human wdt:P19 ?pob. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?human ?humanLabel ?gender ?genderLabel ?humanDescription ?pobLabel ?dob
ORDER BY ?dob
LIMIT 123
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dob"):::projected
v5("?gender")
v2("?human"):::projected
v6("?pob")
v3("?spouceStatement")
v4("?wikilink")
c6([https://or.wikipedia.org/]):::iri
c11(["bd:serviceParam"]):::iri
c3(["p:novalue/P26"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"p:P26"--> v3
v3 --"a"--> c3
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P21".-> v5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P569".-> v1
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P19".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end