Hi
I’m trying to set up a reconciliation service for the Getty vocabularies as documented here: http://vocab.getty.edu/queries#OpenRefine_Reconciliation_Service. However, I only have the RDF extension installed. I’m trying to install/use LODrefine and I am stymied. I’ve cloned the repo locally but I don’t see any executable file. Also, the links are broken, same for the Deri links. I feel that I am missing something obvious – thanks for any help! I am on a 64-bit Windows 10 machine if that matters.
-Jennifer
Jennifer B. Young
Metadata Coordinator
Northwestern University Libraries
Northwestern University
The DERI extension includes a "SPARQL full-text search-based Reconciliation" that unfortunately cannot be used, because there's no way to specify that the luc:term index should be used (see issue/33). Nevertheless, one can use the GVP SPARQL service by querying for a fixed label (similar to Find Subject by Exact English PrefLabel), getting JSON format and parsing the result.
@Stuart : You've just released a new version ? Thanks, it's pretty useful for DBpedia reconciliation !
Thanks for your responses – I was misreading the instructions and assuming I needed the LODrefine installed. I have the Openrefine with the RDF extension already installed.
However, the SPARQL query in the instructions doesn’t seem to work or I’m not following it correctly. I added a column by fetching URLS based on column:
All I get back is a json file containing this:
Any help most appreciated!
Thank you!
'http://vocab.getty.edu/sparql.json?query=select+distinct*{?x+skos:inScheme+aat:;(xl:prefLabel|xl:altLabel)/gvp:term"' + escape(value.toLowercase(), 'url') + '"@en}'
{ "head" : { "vars" : [ "x" ] }, "results" : { "bindings" : [ { "x" : { "type" : "uri", "value" : "http://vocab.getty.edu/aat/300026819" } } ] }}
"http://vocabsservices.getty.edu/AATService.asmx/AATGetTermMatch?term=" + value.escape('url') + "&logop=and¬es="
forEach(value.parseHtml().select("Subject_ID"), e, e.ownText()).join('||')
forEach(value.parseHtml().select("Term"), e, e.ownText()).join('||')