I've submitted a batch of new name authority records to VIAF earlier under the contributing organisation NLB and would now like to generate a list displaying the name authorities with the newly assigned VIAF ID. I tried to do this using the reconciliation service in OpenRefine, limiting to those contributed by NLB: http://refine.codefork.com/reconcile/viaf/NLB. However, the success rate of matching is low, with only 172 out of 686 name authorities being matched successfully. I tried to add the original ID of the name authorities (see column TTE UID below) as a property to match against MARC tag 001 in VIAF, but it doesn't seems to be working in OpenRefine. How do I improve the success rate of matching with VIAF?
Below is a sample of the Excel list I've uploaded to OpenRefine for reconciliation with VIAF. I'm using column VIAF Preferred Form for the reconciliation: http://127.0.0.1:3333/project?project=2519255424221&ui=%7B%22facets%22%3A%5B%5D%7D
| TTE UID | TTE PT | VIAF Preferred Form | VIAF Category |
| 18606982 | Abdul Hamid Haji Jumat | Abdul Hamid Haji Jumat | Personal Names |
| 18338826 | Agency for Integrated Care | Agency for Integrated Care | Corporate Names |
| 18603820 | Alkaff Mosque | Alkaff Mosque | Corporate Names |
| 18605517 | Alpha Gallery (Singapore) | Alpha Gallery (Singapore) | Corporate Names |
| 18532899 | Alsagoff, Ali Redha, Syed | Alsagoff, Ali Redha, Syed | Personal Names |
| 18578460 | Ameerali R. Jumabhoy | Ameerali R. Jumabhoy | Personal Names |
Thank you.
--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine/4bab23b4-e2e0-4194-bc1f-958357a77f62o%40googlegroups.com.
Another alternative is to just use the VIAF API directly by using the "Add column by fetching URL" with a URL of the form "http://www.viaf.org/viaf/sourceID/NLB%7C"+value+"/viaf.xml" and then parsing the result using something along the lines of value.parseXml().select('ns1|viafID')[0].xmlText() to extract the VIAF ID (or a similar expression if you want other values).
PS exactly why value.floor().toString() gives a different result to value.toString() I'm not 100% sure but I suspect value.floor() forces a change in how the number is stored behind the scenes and so when you convert to a string it doesn't use the scientific notation
--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine/CAE9vqEHSv04E0iMeMf-16s36K2YpVJO_b0G1q2huJ3aj7Ghi0A%40mail.gmail.com.