ArtResearch / artresearch.net

ArtResearch ResearchSpace application hosted at https://artresearch.net
5 stars 1 forks source link

artwork visualization issue #238

Closed lklic closed 3 years ago

lklic commented 3 years ago

on this record:

https://artresearch.net/resource/?repository=ephedra&uri=https%3A%2F%2Fpharos.artresearch.net%2Fresource%2Fpharos%2Fartwork%2Fca730eaacbcd1846e633b1d4ec1b29fb4af2172a

if you click on the second image (that cannot be found as there is an issue with the IIIF manifest), the page resizes and all of the images are shown in the viewer.

AndreasMichelakis commented 3 years ago

Thank you for noticing this. This is a problem with data.

@lklic Please run the following query:

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT DISTINCT ?photo  WHERE {
  ?photo crm:P129i_is_subject_of <https://ids.lib.harvard.edu/ids/iiif/None/full/full/0/native.jpg>.
}

You will notice that 8 photographs are related to the image: https://ids.lib.harvard.edu/ids/iiif/None/full/full/0/native.jpg

So the user-interface tries to return the verso-recto sequence but that sequence is related to 17 works:

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX fr: <https://pharos.artresearch.net/resource/fr/>
SELECT DISTINCT ?work  WHERE {
  ?work fr:Work_depicted_by_Photo ?photo.
  ?photo crm:P129i_is_subject_of <https://ids.lib.harvard.edu/ids/iiif/None/full/full/0/native.jpg>
}
AndreasMichelakis commented 3 years ago

Just noticed that @mafragias has already reported this issue as critical in pharos-mappings: https://github.com/ArtResearch/pharos-mappings/issues/206

AndreasMichelakis commented 3 years ago

I am closing this as it is a duplicate of ArtResearch/pharos-mappings#206