-
Notifications
You must be signed in to change notification settings - Fork 5
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
Set up OpenRefine reconciliation endpoint #65
Comments
Deployed to test: http://test.lobid.org/gnd/reconcile http://test.lobid.org/gnd/api#openrefine
|
Shouldn't it say {
"defaultTypes":[
{
"id":"AuthorityResource",
"name":"authority resource"
}
]
} |
Right, if we actually support multiple types that would make sense. The types allow restricting the reconciliation in the OpenRefine UI. So with a single default type the name makes no difference (in lobid-organisations it's 'lobid-organisation', thus 'lobid-gnd' here). Restricting by top-level type would probably be a useful feature, both here and in lobid-organisations. I suggest we add the funtionality in lobid-gnd in this issue, and open a new issue in lobid-organisations. |
We have the phenomenon again that OpenRefine not automatically picks a match which is quite comfortable for Open Refine users. Querying both the Wikidata endpoint as well as the OER World Map endpoint with an identical string to be found there, automatically matches the item but it doesn't for lobid-gnd. I think this has to do with the score we give back, we would have to give back a score of
|
As it seems to be very simple, we should also add a |
Re. preview API, it might make sense to just deliver the default suggestion string plus a small image if available, similar to wikidata, see e.g. https://tools.wmflabs.org/openrefine-wikidata/en/preview?id=Q42. Providing this as small HTML snippet makes this a bit more complicated, so we might skip this for now. |
Strange, testing this again with the following data yielded four automatic matches: id label
01 Ford Taurus
02 Adrian Pohl
03 Niederrhein-Gebiet
04 Puerto Rico. Water Resources Authority
05 Twain, Mark |
Deployed restriction by type, see: http://test.lobid.org/gnd/reconcile About the preview API: it should be quite straightforward to implement, but we're not sure if or where it is used in the OpenRefine UI (I tested with OpenRefine 2.7 and both Wikidata and a local preview implementation for lobid-gnd, @acka47 tested with OpenRefine 3.0 beta and Wikidata reconciliation). |
+1 |
https://github.com/OpenRefine/OpenRefine/wiki/Reconciliation-Service-API
See also hbz/lobid-organisations#55 & hbz/lobid-organisations#385.
The text was updated successfully, but these errors were encountered: