Closed elrayle closed 2 years ago
Data from the cache...
curl -L -D - -H 'Accept: application/n-triples' 'http://services.ld4l.org/ld4l_services/agrovoc_batch.jsp?query=milk&maxRecords=4&startRecord=1&lang=en'
In this case, I see the <subject_uri><narrower><object_uri>
triple, but there are 0 triples with <object_uri>
as the subject.
curl -L -D - -H 'Accept: application/n-triples' 'http://services.ld4l.org/ld4l_services/agrovoc_batch.jsp?query=milk%20fat%20yield&maxRecords=4&startRecord=1&lang=en'
With this one, I can see what is happening. If the broader or narrower term is also a result of the search, then the label is in the graph and QA uses it to complete the extended context.
payload construct didn't include picking up the bt/nt prefLabel.
Looks good! Thanks
The extended context labels are blank sometimes and sometimes present. Need to explore whether this is happening on the QA side or cache side.
The following query has a mix of blank and present labels for both broader and narrower.
https://lookup.ld4l.org/authorities/search/linked_data/agrovoc_ld4l_cache?q=milk%20fat%20yield&maxRecords=4&context=true
For this query, all the extended context labels are blank.
https://lookup.ld4l.org/authorities/search/linked_data/agrovoc_ld4l_cache?q=milk&maxRecords=4&context=true