NationalMuseumAustralia / Collection-API

The public web API of the National Museum of Australia
10 stars 0 forks source link

Links to related objects #38

Closed staplegun closed 5 years ago

staplegun commented 6 years ago

Include links from the current object to known related objects (as selected by NMA curators). EMu field RelatedObject

staplegun commented 6 years ago

Need to exclude target related objects if not in the API.

EMu export does contain API flag <RelatedObject><RelAcsAPI_tab><AcsAPI>Public</AcsAPI></RelAcsAPI_tab></RelatedObject>, but more effective to filter during redact stage when extracting from the SPARQL-store (will have access to the full record for the target related object then).

Conal-Tuohy commented 6 years ago

We can also filter it out in the filter.xsl step (prior to the mapping).

staplegun commented 6 years ago

This is not working. Object 75838 contains a <RelatedObject> field in the EMu export pointing to object 75839 - both are in the API, but there is no dc:relation field in the JSON-LD.