query-598154402088cd46280308aaecce0cb6
Seizoenen
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel ?season ?year where {
?item wdt:P31 wd:Q3464665;
wdt:P179 wd:Q2330424;
wdt:P577 ?pubdate;
p:P179 ?series.
?series pq:P1545 ?season.
bind (year(?pubdate) as ?year).
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;
v1("?item"):::projected
v2("?pubdate")
v4("?season"):::projected
v3("?series")
v5("?year"):::projected
c9(["bd:serviceParam"]):::iri
c4(["wd:Q2330424"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q3464665"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P179"--> c4
v1 --"p:direct/P577"--> v2
v1 --"p:P179"--> v3
v3 --"p:qualifier/P1545"--> v4
bind0[/"year-from-dateTime(?pubdate)"/]
v2 --o bind0
bind0 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end