query-e7ede12c75b1c21f10482bf31f1dc9b3
Works by Canova SELECT ?work ?workLabel (GROUP_CONCAT(DISTINCT ?instanceLabel; separator=", ") AS ?inst) (GROUP_CONCAT(DISTINCT STR(YEAR(?date)); separator=", ") AS ?date) (GROUP_CONCAT(DISTINCT ?genreLabel; separator=", ") AS ?genre) (GROUP_CONCAT(DISTINCT ?materialLabel; separator=", ") AS ?material) (SAMPLE(?image) AS ?image) WHERE { ?work wdt:P170 wd:Q5547; wdt:P31 ?instance; wdt:P136 ?genre; wdt:P571 ?date; wdt:P186 ?material; wdt:P18 ?image . SERVICE wikibase:label { bd:serviceParam wikibase:language "it,fr" . ?work rdfs:label ?workLabel . ?instance rdfs:label ?instanceLabel . ?genre rdfs:label ?genreLabel . ?material rdfs:label ?materialLabel . } . } GROUP BY ?work ?workLabel ORDER BY ?date
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#>
# Works by Canova
SELECT
?work ?workLabel (GROUP_CONCAT(DISTINCT ?instanceLabel; separator=", ") AS ?inst)
(GROUP_CONCAT(DISTINCT STR(YEAR(?date)); separator=", ") AS ?date)
(GROUP_CONCAT(DISTINCT ?genreLabel; separator=", ") AS ?genre)
(GROUP_CONCAT(DISTINCT ?materialLabel; separator=", ") AS ?material) (SAMPLE(?image) AS ?image)
WHERE {
?work wdt:P170 wd:Q5547;
wdt:P31 ?instance;
wdt:P136 ?genre;
wdt:P571 ?date;
wdt:P186 ?material;
wdt:P18 ?image .
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,fr" .
?work rdfs:label ?workLabel .
?instance rdfs:label ?instanceLabel .
?genre rdfs:label ?genreLabel .
?material rdfs:label ?materialLabel .
} .
} GROUP BY ?work ?workLabel
ORDER BY ?date