query-747fe1ca42888a57e8e18680d43bd3b6
TODO
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?creatorLabel (year(?incept) as ?inception) WHERE {
?item wdt:P31/wdt:P279* wd:Q838948.
?item wdt:P170 ?creator.
values ?creator {wd:Q3103467 wd:Q16169658} #list creator QIds here, in the same format as the examples.
?item wdt:P571 ?incept.
filter(year(?incept) > 1956)
filter(year(?incept) < 1961)
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;
v4("?creator")
v1("?incept"):::projected
v4("?inception")
v2("?item"):::projected
a1((" "))
c5(["wd:Q838948"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["year-from-dateTime(?incept) < '1961^^xsd:integer'"]]
f0 --> v1
f1[["year-from-dateTime(?incept) > '1956^^xsd:integer'"]]
f1 --> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
v2 --"wdt:P170"--> v4
bind2[/VALUES ?creator/]
bind2-->v4
bind20(["wd:Q3103467"])
bind20 --> bind2
bind21(["wd:Q16169658"])
bind21 --> bind2
v2 --"wdt:P571"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind3[/"year-from-dateTime(?incept)"/]
v1 --o bind3
bind3 --as--o v4