query-dff272f6c41f76613f8bbd531c8d80ea
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
SELECT ?date ?item ?itemLabel ?nameLabel ?surnameLabel ?sexLabel ?countryLabel WHERE {
?item wdt:P106 wd:Q10833314 ; schema:dateModified ?date .
FILTER ( ?date > "2019-04-01T00:00:00Z"^^xsd:dateTime )
OPTIONAL { ?item wdt:P735 ?name } .
OPTIONAL { ?item wdt:P734 ?surname } .
OPTIONAL { ?item wdt:P21 ?sex } .
OPTIONAL { ?item wdt:P27 ?country } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } .
}
ORDER BY ?date
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?country")
v1("?date"):::projected
v2("?item"):::projected
v3("?name")
v5("?sex")
v4("?surname")
c3(["wd:Q10833314"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?date > '2019-04-01T00:00:00Z^^xsd:dateTime'"]]
f0 --> v1
v2 --"wdt:P106"--> c3
v2 --"schema:dateModified"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P735".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P734".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P21".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P27".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end