next
previous
items

Data table via SPARQL

Nationally designated areas by IUCN category and major ecosystem type

Data table via SPARQL Published 29 Sep 2016 Last modified 04 Jun 2018
35 min read
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

country major_ecosystem_type iucncat sites site_area order
"Albania" "Marine ecosystem" "II" "1"^^<http://www.w3.org/2001/XMLSchema#int> "12428"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Mixed marine and terrestrial ecosystem" "II" "1"^^<http://www.w3.org/2001/XMLSchema#int> "9424"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Terrestrial ecosystem" "Ia" "2"^^<http://www.w3.org/2001/XMLSchema#int> "4800"^^<http://www.w3.org/2001/XMLSchema#decimal> "0"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Terrestrial ecosystem" "II" "13"^^<http://www.w3.org/2001/XMLSchema#int> "188648"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Terrestrial ecosystem" "III" "749"^^<http://www.w3.org/2001/XMLSchema#int> "8193"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Terrestrial ecosystem" "IV" "24"^^<http://www.w3.org/2001/XMLSchema#int> "144685"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Terrestrial ecosystem" "V" "5"^^<http://www.w3.org/2001/XMLSchema#int> "95864"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Albania" "Terrestrial ecosystem" "VI" "4"^^<http://www.w3.org/2001/XMLSchema#int> "18245"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Austria" "Terrestrial ecosystem" "II" "9"^^<http://www.w3.org/2001/XMLSchema#int> "235609"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>
"Austria" "Terrestrial ecosystem" "III" "145"^^<http://www.w3.org/2001/XMLSchema#int> "1271"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#int>

Received 346 rows in 0.016 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/number-of-cdda-sites-in/daviz.json

For system integrators

The following info can be used by a system developer / database administrator in order to retrieve this dataset programmatically over the web using a SPARQL client.

Are you new to Linked Data technology? visit http://linkeddata.org



http://semantic.eea.europa.eu/sparql

PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> 
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> 
PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> 
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX schema: <http://reference.eionet.europa.eu/cdda/schema/>
PREFIX eunis-schema: <http://eunis.eea.europa.eu/rdf/schema.rdf#>

SELECT
  ?country
  bif:either(UCASE(?major_ecosystem_type) = 'T', 'Terrestrial ecosystem',
         bif:either(?major_ecosystem_type = 'MT', 'Mixed marine and terrestrial ecosystem',
         bif:either(?major_ecosystem_type = 'M', 'Marine ecosystem',
         'Ecosystem type not available'))) as ?major_ecosystem_type

  bif:either(UCASE(?iucncat) in ('UA', 'NA', 'NOTREPORTED'), 'Not reported', 
          bif:either(UCASE(?iucncat) in ('NOTAPPLICABLE'), 'Not applicable',
          bif:either(UCASE(?iucncat) in ('NOTASSIGNED'), 'Not assigned',
         REPLACE(STR(?iucncat),'A','a')))) as ?iucncat #'IA' -> 'Ia'

  count(?site_code) as ?sites
  sum(?site_area) as ?site_area
  bif:either(strlen(?iucncat) > 3, 2,
  bif:either(?iucncat in ('Ia','Ib') , 0,
  1)) as ?order

WHERE {
GRAPH <http://r.eionet.europa.eu/rdfdumps/cdda/cddasites.rdf.gz> 
  {
    ?sites schema:site_code ?site_code .
    ?sites schema:parent_iso ?parent_iso .
    ?sites schema:site_area ?site_area .
    ?sites schema:iucncat ?iucncat .
    OPTIONAL { ?sites schema:major_ecosystem_type ?major_ecosystem_type } .
  }
  ?eunis_country eunis-schema:iso_3_wcmc ?parent_iso .
  ?eunis_country rdfs:label ?country .

}
GROUP BY ?country ?major_ecosystem_type ?order ?iucncat
ORDER BY ?country ?major_ecosystem_type ?order ?iucncat


Permalinks

Geographic coverage

Temporal coverage

Tags

Document Actions