query-c35536589b4269868ea70d2807c5f0c8

rq turtle/ttl

regex WIGOS from Italy (code int.wmo.wigos-0-20000-0-16226) do not qualify. Template:Q3971411 from Canada (code: int.wmo.wigos-0-20000-0-71727), and Template:Q42393053The WIGOS code of the every weather stations does not qualify for the regex. For example, You can see that all the stations with WIGOS code follow the same pattern as above, hence none qualify for this regex:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?weather_station ?weather_stationLabel ?WIGOS_station_ID WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?weather_station wdt:P31 wd:Q190107.
  OPTIONAL { ?weather_station wdt:P4136 ?WIGOS_station_ID. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?WIGOS_station_ID"):::projected v1("?weather_station"):::projected c6(["wd:Q190107"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P31"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P4136".-> v2 end