query-240fcd84c9d58f67fff2a50c1e664166
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 DISTINCT ?item ?itemLabel ?country ?countryLabel WHERE {
?item wdt:P31/wdt:P279* wd:Q178561 .
?item schema:dateModified ?date .
FILTER("2024-02-02"^^xsd:date <= ?date &&
?date < "2024-02-03"^^xsd:dat)
?item wdt:P17 ?country .
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;
v3("?country"):::projected
v1("?date")
v2("?item"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c5(["wd:Q178561"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["'2024-02-02^^xsd:date' <= ?date?date < s2024-02-03^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
v2 --"schema:dateModified"--> v1
v2 --"wdt:P17"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end