next
previous
items

Data table via SPARQL

Relative importance of aquaculture production type by continent

Data table via SPARQL Published 05 Sep 2018 Last modified 24 Jun 2020

Download this dataset

Dataset preview

(Live Query)

year geoarea group environment obsValue
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "CRUSTACEA" "Marine" "6.16"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "CRUSTACEA" "Freshwater" "0.01"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "MOLLUSCA" "Marine" "4.82"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "PISCES" "Marine" "1222.33"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "PISCES" "Freshwater" "843.76"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "PLANTAE AQUATICAE" "Freshwater" "0.09"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "PLANTAE AQUATICAE" "Marine" "136.49"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "CRUSTACEA" "Marine" "792.97"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "CRUSTACEA" "Freshwater" "63.88"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "MOLLUSCA" "Marine" "609.26"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 41 rows in 0.041 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/FishStatUnpivot2019.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
    if(?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) = 2017)
  }
  #GROUP BY xsd:integer(?year) ?group ?environment ?geoarea
}}
ORDER BY ?geoarea ?group


Permalinks

Geographic coverage

Temporal coverage

Tags

Filed under:
Filed under: aquaculture
Document Actions