next
previous
items

Data table via SPARQL

Share of aquaculture production type by continent

Data table via SPARQL Published 05 Oct 2016 Last modified 05 Oct 2016

Download this dataset

Dataset preview

(Live Query)

year continent group area geoarea obsValue
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "AMPHIBIA, REPTILIA" "Inland waters" "Americas" "0"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Asia" "AMPHIBIA, REPTILIA" "Inland waters" "Asia" "484"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Asia" "AMPHIBIA, REPTILIA" "Inland waters" "EEA39" "0"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Europe" "AMPHIBIA, REPTILIA" "Inland waters" "EEA39" "0"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Europe" "AMPHIBIA, REPTILIA" "Inland waters" "EU28" "0"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Africa" "CRUSTACEA" "Inland waters" "Africa" "7"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Americas" "CRUSTACEA" "Inland waters" "Americas" "63"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Asia" "CRUSTACEA" "Inland waters" "Asia" "2673"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Europe" "CRUSTACEA" "Inland waters" "EEA39" "0"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Europe" "CRUSTACEA" "Inland waters" "EU28" "0"^^<http://www.w3.org/2001/XMLSchema#int>

Received 61 rows in 0.074 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/share-of-aquaculture-production-type/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/FishStatUnpivot.csv#>
PREFIX countrygroups: <http://dd.eionet.europa.eu/vocabulary/common/countrygroups/>
PREFIX countries: <http://dd.eionet.europa.eu/vocabulary/common/countries/>

SELECT DISTINCT
?year
?continent
?group
?area
?geoarea
sum(xsd:decimal(?obsValue))/1000 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: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: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 (?year = 2014)
FILTER (?area != '')

} 
GROUP BY ?year ?group ?area ?continent ?geoarea
ORDER BY ?year ?group ?area ?continent ?geoarea


Permalinks

Document Actions