Closed jamieu closed 6 years ago
https://collection.sciencemuseum.org.uk/api/objects/co8055537
I haven't seen this form of relationships in the index, where do they come from? Are they just a duplicated element (expanded in the included set below?)
relationships
included
"relationships": { "terms": { "data": [ { "type": "term", "id": "ct261592" }, { "type": "term", "id": "ct261875" }, { "type": "term", "id": "ct263070" }, { "type": "term", "id": "ct263345" }, { "type": "term", "id": "ct264119" }, { "type": "term", "id": "ct266462" } ] },
Then we have these terms which live under included
"included": [ { "type": "term", "id": "ct261592", "attributes": { "summary_title": "People & Personal Life" }, "links": { "self": "https://collection.sciencemuseum.org.uk/term/ct261592/people-personal-life" } }, { "type": "term", "id": "ct261875", "attributes": { "role": { "value": "theme" }, "summary_title": "Birth and death" }, "links": { "self": "https://collection.sciencemuseum.org.uk/term/ct261875/birth-and-death" } }, { "type": "term", "id": "ct263070", "attributes": { "summary_title": "clinical diagnosis" }, "links": { "self": "https://collection.sciencemuseum.org.uk/term/ct263070/clinical-diagnosis" } }, { "type": "term", "id": "ct263345", "attributes": { "role": { "value": "subject" }, "summary_title": "uterus" }, "links": { "self": "https://collection.sciencemuseum.org.uk/term/ct263345/uterus" } }, { "type": "term", "id": "ct264119", "attributes": { "role": { "value": "subject" }, "summary_title": "placenta" }, "links": { "self": "https://collection.sciencemuseum.org.uk/term/ct264119/placenta" } }, { "type": "term", "id": "ct266462", "attributes": { "role": { "value": "object name" }, "summary_title": "LP record" }, },
I think we are (correctly?) ignoring the subject and theme values as they relate to other/past projects.
subject
theme
"value": "subject" "value": "theme"
"value": "subject"
"value": "theme"
vs
"value": "object name"
https://collection.sciencemuseum.org.uk/api/objects/co8055537
I haven't seen this form of
relationships
in the index, where do they come from? Are they just a duplicated element (expanded in theincluded
set below?)Then we have these terms which live under
included