LD4P / qa_server

A rails engine with questioning authority gem installed to serve as an authority search server with normalized results.
Apache License 2.0
6 stars 3 forks source link

Getty ULAN blank id and label in primary result data (new indexing) #420

Open elrayle opened 3 years ago

elrayle commented 3 years ago

Description

In the primary results data, all results have blank string for id and label.

Query: https://lookup-int.ld4l.org/authorities/search/linked_data/getty_ulan_new_ld4l_cache/person?q=washington&maxRecords=4

First 2 results:

{
  "uri": "http://vocab.getty.edu/ulan/500024881-agent",
  "id": "",
  "label": "",
  "context": []
},
{
  "uri": "http://vocab.getty.edu/ulan/500398173-agent",
  "id": "",
  "label": "",
  "context": []
},

Exploration

elrayle commented 3 years ago

The label is in the data returned from the cache. QA config needs to be updated.

For id, the data at Getty included id = ^foaf:focus / dc:identifier triple, but I don't see it in the data returned from the cache.

<http://vocab.getty.edu/ulan/500225342> <http://purl.org/dc/elements/1.1/identifier> "500225342" .

For now, I will have the id set to the URI, but it is better to set it to the id when it is available in the data.

ACTIONS: