Dreams:location: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Location data ==
== Steddata ==
{{SPARQL | query=
{{SPARQL | query=
PREFIX target: <https://dreams.wikibase.cloud/entity/Q306>
PREFIX target: <https://dreams.wikibase.cloud/entity/Q306>
Line 7: Line 7:
PREFIX dreamspsv: <https://dreams.wikibase.cloud/prop/statement/value/>  
PREFIX dreamspsv: <https://dreams.wikibase.cloud/prop/statement/value/>  


SELECT DISTINCT ?description ?value ?valueLabel ?valueUrl
SELECT DISTINCT ?beskrivelse ?value ?valueLabel ?valueUrl
WHERE {
WHERE {
   {
   {
     BIND(1 AS ?order)
     BIND(1 AS ?order)
     BIND("Location" AS ?description)
     BIND("Sted" AS ?beskrivelse)
     BIND(target: AS ?value) .
     BIND(target: AS ?value) .
   }
   }
Line 17: Line 17:
   {
   {
     BIND(10 AS ?order)
     BIND(10 AS ?order)
     BIND("OpenStreetMap" AS ?description)
     BIND("OpenStreetMap" AS ?beskrivelse)
     target: dreamsp:P13 ?geo_statement .
     target: dreamsp:P13 ?geo_statement .
     ?geo_statement dreamspsv:P13 / wikibase:geoLatitude ?latitude .
     ?geo_statement dreamspsv:P13 / wikibase:geoLatitude ?latitude .
Line 28: Line 28:
   {
   {
     BIND(21 AS ?order)
     BIND(21 AS ?order)
     BIND("Scholia" AS ?description)
     BIND("Scholia" AS ?beskrivelse)
     target: dreamst:P3 ?value_ .
     target: dreamst:P3 ?value_ .
     BIND(CONCAT(STR(?value_), " ↗") AS ?value)
     BIND(CONCAT(STR(?value_), " ↗") AS ?value)

Navigation menu