Talk:Sophox

From OpenStreetMap Wiki
Jump to navigation Jump to search

osmm:key coverage

This page says every data item has an osmm:key predicate, giving bridge (Q103) as an example, but Sophox isn't returning any results for osmd:Q103 osmm:key ?key. 889 items have permanent key ID (P16) but no osmm:key:

SELECT * WHERE {
  ?subject osmdt:P16 ?key.
  FILTER NOT EXISTS {
    ?subject osmm:key [].
  }
}

Run it (edit query)

What's special about these keys? Does it have something to do with when the data items were created?

 – Minh Nguyễn 💬 10:37, 19 August 2020 (UTC)

Received fatal alert: handshake_failure

@Yurik: Hi, this federated query fails with Caused by: javax.net.ssl.SSLException: Received fatal alert: handshake_failure. It sounds like bad certificate, it would be nice if you could what the error actually is?

prefix taxmeon: <http://www.yso.fi/onto/taxmeon/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT *
WHERE 
{
    SERVICE <https://api.finto.fi/sparql> { 
     SELECT * WHERE {
        ?scifi taxmeon:hasVernacularName <http://www.yso.fi/onto/kassu/k20487> 
     }
    }
}

Run it (edit query)

--Zache (talk) 13:30, 24 October 2020 (UTC)

Could be also just that https is not supported by server and request is downgraded to http? In any case http://api.finto.fi/sparql works --Zache (talk) 05:42, 25 October 2020 (UTC)

Tag usage statistics

It seem that this is possible to get usage statistics from taginfo only for keys.

Is it possible to add it also for tags ?

osmd:Q5043  osmm:count_all    54856951  # Number of objects in the OSM database with this tag.

--Pyrog (talk) 09:45, 7 November 2020 (UTC)