next
previous
items

Data table via SPARQL

Total aquaculture production of finfish, shellfish and aquatic plants

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

Download this dataset

Dataset preview

(Live Query)

year geoarea environment group obsValue
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "" "PLANTAE AQUATICAE" "18.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "" "MOLLUSCA" "3.17"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "Freshwater" "PISCES" "43.49"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "Marine" "PISCES" "34.03"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "" "MOLLUSCA" "148.36"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "" "PLANTAE AQUATICAE" "48.71"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "Freshwater" "PISCES" "343.23"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "Marine" "PISCES" "124.45"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Asia" "" "PLANTAE AQUATICAE" "7649.12"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1993"^^<http://www.w3.org/2001/XMLSchema#int> "Asia" "" "MOLLUSCA" "4834.8"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 600 rows in 0.012 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/total-aquaculture-production-of-finfish-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 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/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>


SELECT DISTINCT
?year 
?geoarea
?environment
?group
round(sum(xsd:double(?obsValue))/10.0)/100.0 as ?obsValue

{{
  SELECT DISTINCT
    xsd:integer(?year) as ?year
    ?geoarea
    ?group
    ?obsValue

    bif:either(?group != 'PISCES', '', 
           if(?environment = 'Brackishwater', 'Marine', ?environment) ) as ?environment

  WHERE {
    _: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 (xsd:integer(?year) > 1992)
  FILTER (?group IN ('MOLLUSCA', 'PISCES', 'PLANTAE AQUATICAE'))
  #FILTER (?group IN ('PISCES'))
  #FILTER (?geoarea IN ('EU28'))
  }
}}

GROUP BY ?year ?geoarea ?environment ?group
ORDER BY ?year ?geoarea ?environment


Permalinks

Geographic coverage

Temporal coverage

Tags

Filed under:
Filed under: aquaculture
Document Actions