Relative importance of aquaculture production type by continent

Data table via SPARQL Last modified 19 Sep 2018

Download this dataset

Dataset preview

(Live Query)

year geoarea group environment obsValue
"2016" "Africa" "CRUSTACEA" "Marine" "4.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Africa" "CRUSTACEA" "Freshwater" "0"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Africa" "MOLLUSCA" "Marine" "5.71"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Africa" "PISCES" "Freshwater" "858.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Africa" "PISCES" "Marine" "1112.75"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Africa" "PLANTAE AQUATICAE" "Marine" "139.09"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Africa" "PLANTAE AQUATICAE" "Freshwater" "0.22"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Americas" "CRUSTACEA" "Freshwater" "67.87"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Americas" "CRUSTACEA" "Marine" "727.23"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016" "Americas" "MOLLUSCA" "Marine" "573.78"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 42 rows in 0.054 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/relative-importance-of-aquaculture-production-1/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 skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX tableFile: <http://semantic.eea.europa.eu/project/CSI033/FishStatUnpivot2018.tsv#>
PREFIX countrygroups: <http://dd.eionet.europa.eu/vocabulary/common/countrygroups/>
PREFIX countries: <http://dd.eionet.europa.eu/vocabulary/common/countries/>

SELECT
?year
?geoarea
?group
?environment
round(sum(xsd:double(?obsValue))/10.0)/100.0 as ?obsValue
{{
  SELECT DISTINCT
    ?year
    ?geoarea
    ?group
    bif:either(?environment = 'Brackishwater', 'Marine', ?environment) as ?environment
    sum(xsd:double(?obsValue)) as ?obsValue


  WHERE {
    _:rec tableFile:country ?country .
    _:rec tableFile:continent ?continent .
    _:rec tableFile:iso2 ?iso2 .
    _:rec tableFile:speciesGroup ?speciesGroup .
    _:rec tableFile:species ?species .
    _:rec tableFile:group ?group .
    _:rec tableFile:area ?area .
    _:rec tableFile:environment ?environment .
    _:rec tableFile:unit ?unit .
    _:rec tableFile:year ?year .
    {
      _:rec tableFile:continent ?geoarea .
      FILTER (?geoarea != 'Europe')
      _:rec tableFile:obsValue ?obsValue .
    } UNION {
      ?member skos:inScheme countries: .
      ?member skos:notation ?iso2 .
      ?geoarea_uri skos:member ?member.
      ?geoarea_uri ?o countrygroups: .
      ?geoarea_uri skos:notation ?geoarea .
      _:rec tableFile:obsValue ?obsValue .
      FILTER (?geoarea_uri in (countrygroups:EU28 ))
    } UNION {
      { SELECT 'EEA39' as ?geoarea {} } .
      ?member skos:inScheme countries: .
      ?member skos:notation ?iso2 .
      ?geoarea_uri skos:member ?member.
      ?geoarea_uri ?o countrygroups: .
      _:rec tableFile:obsValue ?obsValue .
      FILTER (?geoarea_uri in (countrygroups:EEA33) || 
              ?member in (countries:AL, countries:BA, countries:MK, 
              countries:ME, countries:RS, countries:XK, countries:CS))
    }
    FILTER (?group in ('PLANTAE AQUATICAE', 'CRUSTACEA', 'PISCES', 'MOLLUSCA'))
    FILTER (xsd:integer(?year) = 2016)
  }
  GROUP BY xsd:integer(?year) ?group ?environment ?geoarea
}}
ORDER BY ?geoarea ?group


Related content

Geographic coverage

Temporal coverage

Document Actions
Filed under: