User:ChristianSW/Examples: Difference between revisions

m
+1
m (...)
m (+1)
Line 62: Line 62:
     ?wikispecies schema:about ?wikidata_mapping .  
     ?wikispecies schema:about ?wikidata_mapping .  
     ?wikispecies schema:isPartOf <https://species.wikimedia.org/> .
     ?wikispecies schema:isPartOf <https://species.wikimedia.org/> .
    }
}
</sparql>
== My Coccinellidae ==
<sparql tryit="1" list="1">
#defaultView:Map
PREFIX wbt: <http://biodiversity.wiki.opencura.com/prop/direct/>
PREFIX wb: <http://biodiversity.wiki.opencura.com/entity/>
PREFIX observer: <https://www.inaturalist.org/people/>
SELECT DISTINCT ?location ?iNatlink ?layer WHERE {
  ?observation    wbt:P3  observer:christiansw ;
                    wbt:P8  ?location ;
                    wbt:P6  ?iNatlink ;
                    wbt:P9  ?scientific_name .
  ?scientific_name wbt:P11 ?wikidata_mapping .
FILTER(?scientific_name IN (wb:Q5053, wb:Q5526, wb:Q97245, wb:Q128695, wb:Q96351)).
SERVICE <https://query.wikidata.org/sparql> {
  ?wikidata_mapping rdfs:label ?label FILTER (lang(?label) = "de") .
  BIND(?label AS ?layer).
     }
     }
}
}
</sparql>
</sparql>
99

edits