User:ChristianSW/Snippets: Difference between revisions

Jump to navigation Jump to search
m
...
m (...)
m (...)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== States of Germany with iNaturalist Search URLs ==
== GBIF occurrence link ==
<sparql tryit="1">
<sparql tryit="1">
#defaultView:Map
PREFIX wb: <http://biodiversity.wiki.opencura.com/entity/>
PREFIX wbt: <http://biodiversity.wiki.opencura.com/prop/direct/>
 
SELECT ?GBIFlink  WHERE {
  VALUES ?observation {wb:Q120840}
  ?observation wbt:P14 ?GBIF_ID .
  BIND(URI(CONCAT("https://www.gbif.org/occurrence/", STR(?GBIF_ID))) AS ?GBIFlink)
}
</sparql>
 
== Wikidata: States of Germany with iNaturalist Search URLs ==
<sparql tryit="1">
#defaultView:Map{"hide":"?coord"}


SELECT ?placename ?pic ?coord ?iNatlinkI ?iNatlinkII  WHERE {
SELECT ?placename ?pic ?coord ?iNatlinkI ?iNatlinkII  WHERE {
Line 16: Line 28:
</sparql>
</sparql>


== Sophox ==
== Sophox -> Biodiversity on Opencura ==
<syntaxhighlight>
<syntaxhighlight>
#defaultView:Map
#defaultView:Map
Line 32: Line 44:
</syntaxhighlight>
</syntaxhighlight>
[https://tinyurl.com/t9vj3ro Sophox Query]
[https://tinyurl.com/t9vj3ro Sophox Query]
== Wikidata -> Sophox -> Biodiversity on Opencura ==
<syntaxhighlight>
#defaultView:Map
PREFIX wbt: <http://biodiversity.wiki.opencura.com/prop/direct/>
PREFIX observer: <https://www.inaturalist.org/people/>
SELECT ?location ?iNatlink WHERE {
  SERVICE <https://sophox.org/sparql> {
  SERVICE <https://biodiversity.wiki.opencura.com/query/sparql> {
  ?observation wbt:P3 observer:christiansw ;
                wbt:P8 ?location ;
                wbt:P6 ?iNatlink .
  }}
}
</syntaxhighlight>
[https://w.wiki/Gpj Wikidata Query]
99

edits

Navigation menu