Closed elrayle closed 5 years ago
For authority LOC and subauthority classification, there are no results returned.
http://localhost:3000/qa/show/linked_data/loc/classification/KF26
Should return...
{ "uri":"http://id.loc.gov/authorities/classification/KF26", "id":"KF26", "label":["Monographs. By committee"], "altlabel":[ "Law--United States (General)--Congressional documents--Committee hearings--Senate--Standing committees--Monographs. By committee", "Legislative hearings--Congress (U.S.)--Senate"] ... }
Returns...
{ "uri":"", "id":"", "label":[], }
LOC authority is configured to retrieve the id from the graph using loc:lccn. When the subauthority is classification, there isn't a triple for loc:lccn. Instead, the id is in madsrdf:code.
loc:lccn
madsrdf:code
Description
For authority LOC and subauthority classification, there are no results returned.
Expected
http://localhost:3000/qa/show/linked_data/loc/classification/KF26
Should return...
Actual
http://localhost:3000/qa/show/linked_data/loc/classification/KF26
Returns...
Cause
LOC authority is configured to retrieve the id from the graph using
loc:lccn
. When the subauthority is classification, there isn't a triple forloc:lccn
. Instead, the id is inmadsrdf:code
.