User:ChristianSW/Snippets: Difference between revisions

m
...
m (...)
m (...)
Line 8: Line 8:
         wdt:P7471 ?iNat_place_ID ;
         wdt:P7471 ?iNat_place_ID ;
         wdt:P625  ?coord .
         wdt:P625  ?coord .
  OPTIONAL { ?place wdt:P18 ?pic . }
OPTIONAL { ?place wdt:P18 ?pic . }
  BIND(URI(CONCAT("https://www.inaturalist.org/places/", STR(?iNat_place_ID))) AS ?iNatlinkI)
BIND(URI(CONCAT("https://www.inaturalist.org/places/", STR(?iNat_place_ID))) AS ?iNatlinkI)
  BIND(URI(CONCAT("https://www.inaturalist.org/observations?subview=grid&view=species&place_id=", STR(?iNat_place_ID))) AS ?iNatlinkII)
BIND(URI(CONCAT("https://www.inaturalist.org/observations?subview=grid&view=species&place_id=", STR(?iNat_place_ID))) AS ?iNatlinkII)
   ?place rdfs:label ?placename FILTER (lang(?placename) = "de") .
   ?place rdfs:label ?placename FILTER (lang(?placename) = "de") .
   }
   }
}
}
</sparql>
</sparql>
99

edits