next
previous
items

Data table via SPARQL

CO2-emission intensity from public electricity and heat production

Data table via SPARQL Published 20 Jul 2016 Last modified 14 Dec 2016

Download this dataset

Dataset preview

(Live Query)

date ugeo type obsValue
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Sweden" "Public electricity and heat production" "319.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Latvia" "Public electricity and heat production" "212.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Cyprus" "Public electricity and heat production" "847.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Ireland" "Public electricity and heat production" "816.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Public electricity and heat production" "542.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Greece" "Public electricity and heat production" "1264"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Italy" "Public electricity and heat production" "665.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Lithuania" "Public electricity and heat production" "320.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Croatia" "Public electricity and heat production" "451.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Malta" "Public electricity and heat production" "1231.8"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 675 rows in 0.015 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/co2-emission-intensity-2/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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
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 skos: <http://www.w3.org/2004/02/skos/core#> 
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX product: <http://dd.eionet.europa.eu/vocabulary/eurostat/product/>
PREFIX indic_nrg: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_nrg/>
PREFIX clrtap_nec_unfccc: <http://reference.eionet.europa.eu/clrtap_nec_unfccc/schema/>
PREFIX sector: <http://reference.eionet.europa.eu/clrtap_nec_unfccc/unfccc_crf_sector/>
PREFIX unfccc_geo: <http://reference.eionet.europa.eu/clrtap_nec_unfccc/country/>
PREFIX common_countries: <http://dd.eionet.europa.eu/vocabulary/common/countries/>


SELECT DISTINCT
year(xsd:date(?date)) as ?date
?ugeo
'Public electricity and heat production' as ?type
round(( ((sum(?unfccc_crf) ) *1000 ) / ( sum(?nrg_110a) + sum(?nrg_106a) ) ) *10000 /11630 )/10.0  as ?obsValue

WHERE {
  {
  GRAPH <http://r.eionet.europa.eu/rdfdumps/clrtap_nec_unfccc/unfccc_crf.rdf.gz> 
    {
      _:unfccc_crf clrtap_nec_unfccc:country_code ?geo .
       _:unfccc_crf clrtap_nec_unfccc:year ?date .
      FILTER (?date != '1985-1987')
      {
        _:unfccc_crf clrtap_nec_unfccc:unit 'Gg' .
        _:unfccc_crf clrtap_nec_unfccc:pollutant_name 'CO2' .         
        _:unfccc_crf clrtap_nec_unfccc:sector_code sector:1.A.1.a . 
        _:unfccc_crf clrtap_nec_unfccc:emissions ?unfccc_crf .
      }
    }
  } UNION {
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_106a.rdf.gz>
    {
      _:nrg_106a sdmx-dimension:timePeriod ?date . 
      _:nrg_106a property:indic_nrg indic_nrg:B_101109 .
      _:nrg_106a sdmx-dimension:refArea ?geo . 
      _:nrg_106a property:product product:5200 .
      _:nrg_106a sdmx-attribute:unitMeasure unit:KTOE .
      _:nrg_106a sdmx-measure:obsValue ?nrg_106a .
     }
  } UNION {
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_110a.rdf.gz>
    {
      _:nrg_110a sdmx-dimension:timePeriod ?date .
      _:nrg_110a sdmx-attribute:unitMeasure unit:KTOE .
      _:nrg_110a sdmx-dimension:refArea ?geo .
      _:nrg_110a property:indic_nrg indic_nrg:B_101121 .
      _:nrg_110a property:product ?product .
      FILTER (?product in (product:5200, product:6000))
      _:nrg_110a sdmx-measure:obsValue ?nrg_110a .
    } 
  }
  ?geo skos:exactMatch ?eeauri .
  ?eeauri skos:inScheme common_countries: .
  ?eeauri rdfs:label ?ugeo .
  FILTER (?ugeo != 'Turkey' && ?ugeo != 'Norway' && 
          ?ugeo != 'Lichtenstein' && ?ugeo != 'Switzerland' 
          && ?ugeo != 'Iceland' )
  FILTER (year(xsd:date(?date)) >= 1990)
}
GROUP BY year(xsd:date(?date)) ?ugeo
HAVING ((sum(?unfccc_crf) ) *1000 ) / ( sum(?nrg_110a) + sum(?nrg_106a) ) > 0
ORDER BY ?date


Permalinks

Document Actions