DigitalPiranesi / Manifest-Generator

Apache License 2.0
0 stars 0 forks source link

Composite vs Media Page #1

Closed waltster closed 1 year ago

waltster commented 1 year ago

The issue we ran into yesterday where we had to find the media page url could be solved by finding the corresponding composite/version url. For example, in the RDF arrays does https://scalar.usc.edu/works/piranesidigitalproject/16-veduta-44 ever point you towards https://scalar.usc.edu/works/piranesidigitalproject/views-of-rome-designed-and-engraved-by-giambattista-piranesi-venetian-architect?

I know it does, and we have all the information in those arrays, but we just need to find it. If we can do that this week, we will solve the problem of finding the media page for each page.

adamskeefer commented 1 year ago

@waltster In the array with the header https://scalar.usc.edu/works/piranesidigitalproject/16-veduta-44, there is a uri with the id http://purl.org/dc/terms/hasVersion. That uri holds a value which in this case is https://scalar.usc.edu/works/piranesidigitalproject/16-veduta-44.23. The .23 suffix seems to be the only thing distinguishing it from the original id uri. I'd assume that in this case, https://scalar.usc.edu/works/piranesidigitalproject/16-veduta-44 is on version 23.

https://scalar.usc.edu/works/piranesidigitalproject/16-veduta-44.23 is the id for another unique array. In that new array, there is a uri http://purl.org/dc/terms/references which holds the value of the desired uri above.

Assuming this type of pathing applies to all the uri's in the project, it looks like we just have to find the version of that uri and in that version, see what it references.

waltster commented 1 year ago

Okay, so if I understand:

If I am understanding all of this correctly, then we can wrap this up pretty easily. Let me know if I'm getting it.

adamskeefer commented 1 year ago

Yes, you understood me correct!

The version also references https://scalar.usc.edu/works/piranesidigitalproject/views-of-rome-designed-and-engraved-translation-1.

I'm not sure if this is another media page, I followed the link and it said it was "notes". Not all composites have multiple references though.

For example, https://scalar.usc.edu/works/piranesidigitalproject/16-veduta-6158 only references one item.

waltster commented 1 year ago

Great!