query-2bf32f1ef9b95b7b9dfcce1c6ec9f20a
title: Tagesgeschehen nach Jahr und Monat SELECT ?pit ?de_title ?dewiki ?item WHERE { ?item wdt:P31 wd:Q47018478. ?dewiki schema:about ?item; schema:isPartOf https://de.wikipedia.org/; schema:name ?de_title. OPTIONAL { ?item wdt:P585 ?pit. } FILTER((YEAR(?pit)) > 1999 ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY (YEAR(?pit)) (MONTH(?pit))
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#>
#title: Tagesgeschehen nach Jahr und Monat
SELECT ?pit ?de_title ?dewiki ?item WHERE {
?item wdt:P31 wd:Q47018478.
?dewiki schema:about ?item;
schema:isPartOf <https://de.wikipedia.org/>;
schema:name ?de_title.
OPTIONAL { ?item wdt:P585 ?pit. }
FILTER((YEAR(?pit)) > 1999 )
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY (YEAR(?pit)) (MONTH(?pit))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?de_title"):::projected
v3("?dewiki"):::projected
v2("?item"):::projected
v1("?pit"):::projected
c6([https://de.wikipedia.org/]):::iri
c10(["bd:serviceParam"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q47018478"]):::iri
f0[["year-from-dateTime(?pit) > '1999^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v3 --"schema:about"--> v2
v3 --"schema:isPartOf"--> c6
v3 --"schema:name"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P585".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end