query-7d026c23a00679e085e139df6011b905
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ImageGrid
SELECT DISTINCT ?item ?itemLabel (GROUP_CONCAT(DISTINCT ?authorLabel;separator="; ") as ?painter) (SAMPLE(?image) as ?img) (SAMPLE(year(?created)) as ?year)
WHERE
{
?item wdt:P31/wdt:P279* wd:Q3305213 ;
wdt:P571 ?created ;
wdt:P170 ?author;
wdt:P18 ?image ;
wdt:P180 ?subject . filter(year(?created) > 1499)
VALUES ?subject {wd:Q47652 wd:Q35500 }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en" .
?author rdfs:label ?authorLabel .
?item rdfs:label ?itemLabel . }
} GROUP BY ?item ?itemLabel ORDER BY ?year
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?author")
v7("?authorLabel"):::projected
v2("?created"):::projected
v5("?image"):::projected
v10("?img")
v3("?item"):::projected
v8("?itemLabel"):::projected
v9("?painter")
v7("?subject")
v11("?year")
a1((" "))
c12(["#91;AUTO_LANGUAGE#93;,it,en"]):::literal
c4(["wd:Q3305213"]):::iri
c10(["bd:serviceParam"]):::iri
f0[["year-from-dateTime(?created) > '1499^^xsd:integer'"]]
f0 --> v2
v3 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c4
v3 --"wdt:P571"--> v2
v3 --"wdt:P170"--> v4
v3 --"wdt:P18"--> v5
v3 --"wdt:P180"--> v7
bind1[/VALUES ?subject/]
bind1-->v7
bind10(["wd:Q47652"])
bind10 --> bind1
bind11(["wd:Q35500"])
bind11 --> bind1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
v4 --"rdfs:label"--> v7
v3 --"rdfs:label"--> v8
end
bind5[/"?authorLabel"/]
v7 --o bind5
bind5 --as--o v9
bind6[/"sample(?image)"/]
v5 --o bind6
bind6 --as--o v10
bind7[/"sample(year-from-dateTime(?created))"/]
v2 --o bind7
bind7 --as--o v11