3
edits
(example) |
|||
Line 20: | Line 20: | ||
GROUP BY ?scientific_nameURL ?scientific_nameIRILabel | GROUP BY ?scientific_nameURL ?scientific_nameIRILabel | ||
ORDER BY DESC(?counts) | ORDER BY DESC(?counts) | ||
</syntaxhighlight> | |||
== Observations of selected bird species as map layers == | |||
<syntaxhighlight> | |||
# Observations of frequent bird species and their geoocoordinates | |||
# Species: | |||
# - Anas platyrhynchos (Q367) | |||
# - Larus occidentalis (Q37) | |||
# - Branta canadensis (Q345) | |||
# - Turdus migratorius (Q107) | |||
# - Zenaida macroura (Q257) | |||
#defaultView:Map | |||
PREFIX wbt: <http://biodiversity.wiki.opencura.com/prop/direct/> | |||
PREFIX wb: <http://biodiversity.wiki.opencura.com/entity/> | |||
SELECT DISTINCT ?s ?o ?layer WHERE { | |||
?s wbt:P8 ?o . | |||
?s wbt:P9 ?t. | |||
FILTER(?t IN (wb:Q367, wb:Q37, wb:Q345, wb:Q107, wb:Q257)). | |||
BIND(?t AS ?layer). | |||
} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits