#18599 closed enhancement (fixed)
Use josm.openstreetmap.de/remote for SPARQL queries
Reported by: | simon04 | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | 20.02 |
Component: | Core tag2link | Version: | |
Keywords: | remote privacy | Cc: |
Description
ticket:18542#comment:11 stoecker:
I did setup a caching proxy on JOSM server:
https://josm.openstreetmap.de/remote/wikidata-sparql
https://josm.openstreetmap.de/remote/sophox-sparql
That works fine for the first link, but I can't get sophox to work, neither as cache nor direct.
Attachments (0)
Change History (7)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Milestone: | → 20.02 |
---|
comment:3 by , 5 years ago
The redirect works. I only got never a useful response from sophox. Maybe you only get this if you pass additional aeguments to the URL?
comment:5 by , 5 years ago
Component: | Core → Core tag2link |
---|
Replying to stoecker:
Maybe you only get this if you pass additional aeguments to the URL?
Sure, the query needs to be specified:
2020-02-15 21:10:32.578 INFO: GET https://josm.openstreetmap.de/remote/wikidata-sparql?query=SELECT+%3FOSM_key+%3Fformatter_URL+WHERE+%7B%0A++%7B+%3Fitem+wdt%3AP1282+%3FOSM_key.+%7D%0A++FILTER%28STRSTARTS%28%3FOSM_key%2C+%27Key%3A%27%29%29+.%0A%0A++%7B%0A++++%7B+%3Fitem+wdt%3AP1630+%3Fformatter_URL.+%7D%0A++++UNION%0A++++%7B+%3Fitem+wdt%3AP3303+%3Fformatter_URL.+%7D%0A++%7D%0A%7D%0A -> HTTP/1.1 200 (1.1 s) 2020-02-15 21:10:32.589 INFO: Obtained 52 Tag2Link rules from https://josm.openstreetmap.de/remote/wikidata-sparql 2020-02-15 21:10:32.842 INFO: GET https://josm.openstreetmap.de/remote/sophox-sparql?query=SELECT+%28CONCAT%28%22Key%3A%22%2C+%3Fpermanent_key_ID%29+as+%3FOSM_key%29+%3Fformatter_URL+WHERE+%7B%0A++%3Fitem+osmdt%3AP2+osmd%3AQ7.%0A++%3Fitem+osmdt%3AP16+%3Fpermanent_key_ID.%0A++%3Fitem+osmdt%3AP8+%3Fformatter_URL.%0A%7D%0A -> HTTP/1.1 200 (252 ms) 2020-02-15 21:10:32.846 INFO: Obtained 11 Tag2Link rules from https://josm.openstreetmap.de/remote/sophox-sparql
comment:7 by , 5 years ago
Keywords: | remote privacy added |
---|
@Dirk can you please detail what's not working?