Page MenuHomePhabricator

Pipe 3: Take precision into account when matching geo-coordinates
Open, Needs TriagePublic

Description

When running the pipeline, we noticed that there are a lot of potential references we might be missing due to the fact that we are currently matching Geo-coordinates without taking precision into account.

To enable us to get more potential references, the Geo coordinates value matcher needs to be extended to make sure that precision is accounted for.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Should this pass value matching?

{"statement": {"pid": "P625", "datatype": "globe-coordinate", "value": {"latitude": 42.335083333333, "longitude": -71.170361111111, "altitude": null, "precision": null, "globe": "http://www.wikidata.org/entity/Q2"}}, "itemId": "Q49118", "reference": {"referenceMetadata": {"P2427": "grid.208226.c", "P248": "Q27768150", "dateRetrieved": "2020-05-12 20:15:12"}, "extractedData": [{"http://schema.org/latitude": ["42.335083"], "http://schema.org/longitude": ["-71.170361"]}]}}
{"statement": {"pid": "P625", "datatype": "globe-coordinate", "value": {"latitude": 35.142222222222, "longitude": 126.93305555556, "altitude": null, "precision": null, "globe": "http://www.wikidata.org/entity/Q2"}}, "itemId": "Q56143", "reference": {"referenceMetadata": {"P2427": "grid.254187.d", "P248": "Q27768150", "dateRetrieved": "2020-05-12 20:32:01"}, "extractedData": [{"http://schema.org/latitude": ["35.142222"], "http://schema.org/longitude": ["126.933056"]}]}}