query-0efaa866d6ac3b6f9e1ada83f34cdab5
Vermeer exhibition in the Louvre 07:55, 7 April 2017 (UTC)) talk (Jane023. I just want to know how you are modelling this so I know what is going on. Thanks for working on this exhibition btw - it looks really interesting. (Q28854991)Vermeer and the Masters of Genre Painting. Inspiration and Rivalry. and (Q28940890)Vermeer and the Masters of Genre Painting (I hope I fixed it!) and the exhibition items I am talking about are (Q4014797)The Doctor's Visit in a Rich Interior Hi Shonagon, I made a mistake and reverted one of your edits to a painting because I thought it was a mistake of mine. I fixed it, but then I noticed it was linking to an art exhibition at the Louvre, and there are now two items for this. I am not sure this is the right way to do this. Usually I just make one item for the exhibition catalog and then the paintings just link to that, but Nicolas Vigneron wanted separate items for the exhibition catalog and the exhibition (which is OK I guess). Now you are using the art exhibition for the catalog code, but I think this should be pointing to the book. Maybe there is a way to point to both? It is sometimes true for traveling exhibitions that some paintings are in the catalog but don't "travel" with the exhibition. The item I was talking about is ) and I have never seen an paticular exhibiton code different from the catalog when there is one; catalog code is indeed the common reference in art history. You can find all artworks of this exhibition ordered by catalog code with this query:https://www.wikidata.org/w/index.php?title=Q4014797&diff=466429675&oldid=466429671: (Q4014797)The Doctor's Visit in a Rich Interior should be used with the catalog, but that's what was done for this items (for example in : (P528)catalog code . An art exhibition is first an event, and not all exhibitions have a catalog. I agree with you that (P528)catalog code , the other is a book, used in particular with (P608)exhibition history , imho the correct way should be to have 2 items : one is an event, used in particular with VIGNERON. I'm not sure to understand the issue. Like Jane023Hello
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?numCatalogue ?itemLabel ?creaLabel ?date (CONCAT(STR(?hauteur),"×",STR(?largeur)," cm") AS ?dimensions)
(GROUP_CONCAT(distinct ?collLb; separator=" - ") as ?collection) (GROUP_CONCAT(distinct ?ninv; separator=" - ") as ?inv) ?img (SAMPLE(?url) as ?URL)
WHERE
{
?item wdt:P608 wd:Q28854991 ;
wdt:P170 ?crea ;
wdt:P18 ?img ;
wdt:P195 ?coll ;
wdt:P2048 ?hauteur ;
wdt:P2049 ?largeur ;
p:P528 [ ps:P528 ?numCatalogue ;
pq:P972 wd:Q28940890 ] ;
p:P571 ?declarationdate .
OPTIONAL { ?item wdt:P217 ?ninv }
OPTIONAL { ?item wdt:P973 ?url }
OPTIONAL { MINUS {?declarationdate pq:P1319 ?pasavant }
MINUS {?declarationdate pq:P1480 wd:Q5727902 }
?declarationdate ps:P571 ?dateunique .
BIND (year(?dateunique) AS ?date)}
OPTIONAL { MINUS {?declarationdate pq:P1319 ?pasavant }
?declarationdate pq:P1480 wd:Q5727902.
?declarationdate ps:P571 ?dateunique .
BIND (CONCAT("c.",STR(year(?dateunique))) AS ?date)}
OPTIONAL { ?declarationdate pq:P1319 ?pasavant .
?declarationdate pq:P1326 ?pasapres.
BIND (CONCAT(STR(year(?pasavant)),"-",STR(year(?pasapres))) AS ?date)}
?coll rdfs:label ?collLb . filter (lang(?collLb) = "fr") .
SERVICE wikibase:label {bd:serviceParam wikibase:language "fr"}
} GROUP BY ?item ?itemLabel ?numCatalogue ?creaLabel ?date ?hauteur ?largeur ?img
ORDER BY xsd:integer(?numCatalogue)