Difference between revisions of "Main Page"

From iot
Jump to navigation Jump to search
Line 32: Line 32:
 
   # We have a technical debt with P9616 it should just be defined when it is created as an euProtectedAreaCode
 
   # We have a technical debt with P9616 it should just be defined when it is created as an euProtectedAreaCode
 
   # Lesson learned is that the Swedish Agency for Marine and Water Management (Hav) use the same value also before it is "created"
 
   # Lesson learned is that the Swedish Agency for Marine and Water Management (Hav) use the same value also before it is "created"
   # * work around is that we rank it depreciated when its not "created"
+
   # * work around is that we rank it depreciated when its not "created" but used by Hav
 
   BIND(URI(CONCAT("https://dd.eionet.europa.eu/vocabularyconcept/wise/WFDProtectedArea/euProtectedAreaCode.",?BathWaterIdentifier)) AS ?eionet)
 
   BIND(URI(CONCAT("https://dd.eionet.europa.eu/vocabularyconcept/wise/WFDProtectedArea/euProtectedAreaCode.",?BathWaterIdentifier)) AS ?eionet)
 
   SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
 
   SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }

Revision as of 05:21, 21 June 2021

Welcome to iot-device wikibase. This is an experimental sandbox, where we gather IoT devices....


The intention is to

Quicklinks

#defaultView:Map
SELECT ?item ?itemLabel ?itemDescription ?coord ?API WHERE {
  ?item wdt:P625 ?coord.
  OPTIONAL {?item wdt:P6269 ?API}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}
#defaultView:Map
SELECT ?item ?itemLabel ?itemDescription ?coord ?API ?www ?eionet ?Hav WHERE {
  ?item wdt:P625 ?coord.
  OPTIONAL {?item wdt:P6269 ?API} # used as the service we get data from
  OPTIONAL {?item wdt:P856 ?www} # maybe use what is in  Wikidata? 
  OPTIONAL {?item wdt:P9616 ?BathWaterIdentifier} # BathIdentifier defined by eionet.europa.eu
  BIND(URI(CONCAT("https://badplatsen.havochvatten.se/badplatsen/karta/#/bath/",?BathWaterIdentifier)) AS ?Hav) 
  # We have a technical debt with P9616 it should just be defined when it is created as an euProtectedAreaCode
  # Lesson learned is that the Swedish Agency for Marine and Water Management (Hav) use the same value also before it is "created"
  # * work around is that we rank it depreciated when its not "created" but used by Hav
  BIND(URI(CONCAT("https://dd.eionet.europa.eu/vocabularyconcept/wise/WFDProtectedArea/euProtectedAreaCode.",?BathWaterIdentifier)) AS ?eionet)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}


Wikibase

Links