Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ISNI Direct lookup. #390

Open
sfolsom opened this issue Nov 6, 2023 · 1 comment
Open

Add ISNI Direct lookup. #390

sfolsom opened this issue Nov 6, 2023 · 1 comment

Comments

@sfolsom
Copy link
Contributor

sfolsom commented Nov 6, 2023

In order to pull this lookup off, we'd have to use the free SRU API described here: https://isni.oclc.org:2443/isni/docs/isni-sru-search-api-guidelines.pdf (searching the name keyword), and then map the XML to the QA response.

< mainName > values = "label": "Value"
< forename > and < surname > values concatenated = "label": "Concatenated string"
results with < personalName > = "type": "Person"
< organisationType > values = "type": "Value"

@chrisrlc
Copy link

For next time:

Search endpoint: https://isni.oclc.org/sru/DB=1.2/

A couple of sample queries using name keyword:

RDF response format nested in SRU SearchRetrieveResponse XML (multiple rdf:RDF/rdf:Description per srw:record??):
https://isni.oclc.org/sru/DB=1.2/?query=pica.nw+%3D+%22maloy%22&version=1.1&operation=searchRetrieve&recordSchema=isni-rdf&maximumRecords=10&startRecord=1&sortKeys=none&x-info-5-mg-requestGroupings=none

Note maximumRecords keyword and recordSchema parameters. Also can try experimenting with sortKeys.

Default ISNI basic response format in SRU SearchRetrieveResponse XML (only 1 / per srw:record):
https://isni.oclc.org/sru/DB=1.2/?query=pica.nw+%3D+%22maloy%22&operation=searchRetrieve&recordSchema=isni-b

Other documentation:
https://www.loc.gov/standards/sru/sru-1-1.html
https://isni.org/page/linked-data/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants