-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
(related to reconciliation-api/specs#52 and reconciliation-api/specs#55)
https://reconciliation-api.github.io/testbench/ shows lang-specific URLs for the first two services.
- It takes data from WD, eg the first row https://wikidata.reconci.link/en/api is from http://www.wikidata.org/entity/Q2013#P6269
- I added "language of work or name: English" for that URL:
Wikidata
API endpoint: https://wikidata.reconci.link/en/api
protocol: OpenRefine reconciliation service API
described at URL: https://wikidata.reconci.link/
source code repository: https://github.com/wetneb/openrefine-wikibase
language of work or name: English
- However, WD has a gazillion service URLs that vary by lang, eg https://wikidata.reconci.link/bg/api
- It would be counter-productive to add them all as separate instances of P6269, and that would overload the testbench table
How to indicate endpoint URL variation by a fixed param? I imagine it as an extra column Varies By in the table.
How to express this in Wikidata? URL templates are called formatters in WD. I looked at available props, and maybe https://www.wikidata.org/wiki/Property:P8183 is what we need. The data needs to be restructured as follows:
Wikidata
online service (P2361): Wikidata OpenRefine reconciliation service
Wikidata OpenRefine reconciliation service
protocol: OpenRefine reconciliation service API
# API endpoint: no language-independent endpoint
general property-based URL formatter (P8183): https://wikidata.reconci.link/{P407}/api # language of work
described at URL: https://wikidata.reconci.link/
source code repository: https://github.com/wetneb/openrefine-wikibase
OpenCorporates
online service (P2361): OpenCorporates OpenRefine reconciliation service
OpenCorporates OpenRefine reconciliation service
protocol: OpenRefine reconciliation service API
API endpoint: https://opencorporates.com/reconcile # ALL jurisdictions
general property-based URL formatter (P8183): https://opencorporates.com/reconcile/{P1001} # applies to jurisdiction
described at URL: https://api.opencorporates.com/documentation/Open-Refine-Reconciliation-API
Metadata
Metadata
Assignees
Labels
No labels