next
previous
items

Data table via SPARQL

EMAS measurements

Data table via SPARQL Published 25 Feb 2017 Last modified 18 Nov 2024
34 min read

Download this dataset

Dataset preview

(Live Query)

id type meter appliance warm waste printerName pageType fte obsValue obsvaluefte unit month year date area
"8dfdc47acf0ff7198f3dd7965d8ca118" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "11290" "color" "211"^^<http://www.w3.org/2001/XMLSchema#int> "7643"^^<http://www.w3.org/2001/XMLSchema#decimal> "36.22274881516587677725"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "11"^^<http://www.w3.org/2001/XMLSchema#int> "2018"^^<http://www.w3.org/2001/XMLSchema#int> "2018-11-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"89d84c5db9493489d18799fd1fa1bf41" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "13202" "color" "211"^^<http://www.w3.org/2001/XMLSchema#int> "17397"^^<http://www.w3.org/2001/XMLSchema#decimal> "82.45023696682464454976"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "11"^^<http://www.w3.org/2001/XMLSchema#int> "2018"^^<http://www.w3.org/2001/XMLSchema#int> "2018-11-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"392d31a595595fde9af99337ca03157d" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "13989" "color" "211"^^<http://www.w3.org/2001/XMLSchema#int> "12942"^^<http://www.w3.org/2001/XMLSchema#decimal> "61.3364928909952606635"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "11"^^<http://www.w3.org/2001/XMLSchema#int> "2018"^^<http://www.w3.org/2001/XMLSchema#int> "2018-11-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"3f97dfc9090623707ca1a3dba469148c" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "12114" "color" "211"^^<http://www.w3.org/2001/XMLSchema#int> "18042"^^<http://www.w3.org/2001/XMLSchema#decimal> "85.50710900473933649289"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "11"^^<http://www.w3.org/2001/XMLSchema#int> "2018"^^<http://www.w3.org/2001/XMLSchema#int> "2018-11-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"ee11e18f0f520357b2b2e8b3323e5255" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "10321" "color" "211"^^<http://www.w3.org/2001/XMLSchema#int> "12379"^^<http://www.w3.org/2001/XMLSchema#decimal> "58.66824644549763033175"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "11"^^<http://www.w3.org/2001/XMLSchema#int> "2018"^^<http://www.w3.org/2001/XMLSchema#int> "2018-11-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"e335730b2b953598c9c6846d27790c1a" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "EEAPR8228" "color" "201"^^<http://www.w3.org/2001/XMLSchema#int> "6350"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.59203980099502487562"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "5"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017-05-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"76dd9397fd7564d360d353ab79721bd4" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "EEAPR8600" "color" "201"^^<http://www.w3.org/2001/XMLSchema#int> "18872"^^<http://www.w3.org/2001/XMLSchema#decimal> "93.8905472636815920398"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "5"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017-05-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"9d93929cb2eaa6650c28b18690456212" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "EEAPR8313" "color" "201"^^<http://www.w3.org/2001/XMLSchema#int> "3010"^^<http://www.w3.org/2001/XMLSchema#decimal> "14.97512437810945273631"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "5"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017-05-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"675d482ed8c7fbdcbf281a98b4f880b6" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "EEAPR8311" "color" "201"^^<http://www.w3.org/2001/XMLSchema#int> "13667"^^<http://www.w3.org/2001/XMLSchema#decimal> "67.99502487562189054726"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "5"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017-05-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>
"efee7487a162f4ef776b94358ddf1fc9" <http://reference.eionet.europa.eu/emas/schema/Print> "" "" "" "" "EEAPR8312" "color" "201"^^<http://www.w3.org/2001/XMLSchema#int> "5817"^^<http://www.w3.org/2001/XMLSchema#decimal> "28.94029850746268656716"^^<http://www.w3.org/2001/XMLSchema#decimal> "Pages" "5"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017-05-15"^^<http://www.w3.org/2001/XMLSchema#date> "7200"^^<http://www.w3.org/2001/XMLSchema#int>

Received 1634 rows in 0.067 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/emas-measurements/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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> 
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> 
PREFIX measurements: <http://reference.eionet.europa.eu/emas/schema/>

SELECT DISTINCT
md5(?emas) as ?id
?type
?meter
?appliance
?warm
?waste
?printerName
?pageType

?fte 
?obsValue*1.0 as ?obsValue
bif:either(?type = measurements:Warm, (?obsValue*10000.0 / ?fte), (?obsValue*1.0 / ?fte)) as ?obsvaluefte
#round(?obsvaluefte*10.0)/10 as ?obsvaluefte
?unit
month(?date) as ?month
?year
?date
?area
WHERE { 
 GRAPH <http://r.eionet.europa.eu/rdfdumps/emas/measurements.rdf.gz> {  
   ?emas rdf:type ?type .
   OPTIONAL {  ?emas measurements:appliance ?appliance } .

   #electricity
   OPTIONAL { ?emas measurements:building ?building } .
   OPTIONAL { ?emas measurements:floor ?floor }.
   OPTIONAL { ?emas measurements:meter ?meter } .
   OPTIONAL { ?emas measurements:month ?month } .

   #warm & water
   OPTIONAL { ?emas measurements:source ?warm } .
   ?emas measurements:area ?area . 

   #waste
   OPTIONAL { ?emas measurements:waste ?waste } .

   #print
   OPTIONAL { ?emas measurements:eeaname ?printerName } .
   OPTIONAL { ?emas measurements:pagetype ?pageType } .
   
   OPTIONAL { ?emas measurements:unit ?unit } .   

   OPTIONAL { ?emas measurements:fte ?fte } .   
   ?emas sdmx-measure:obsValue ?obsValue .
   OPTIONAL { ?emas measurements:obsvaluefte ?obsvaluefte } .   
   ?emas sdmx-dimension:timePeriod ?date .
   ?emas measurements:year ?year .
 } 
}

Error when running query:

Error. Traceback (most recent call last):
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 287, in run_with_timeout
    ret = func(*args, **kwargs)
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 215, in query_and_get_result
    result = sparql.query(*args, timeout = kwargs.get("timeout", 0) or 0)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 747, in query
    return s.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 416, in query
    return q.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 571, in query
    response = self._request(statement, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 558, in _request
    response = self._build_response(query, opener, buf, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 543, in _build_response
    timeout if timeout > 0 else None)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 514, in _get_response
    response = opener.open(request, timeout=timeout)
  File "/usr/local/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/local/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/local/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/local/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] No address found>


Permalinks

Geographic coverage

Temporal coverage

Tags

Filed under:
Filed under: emas
Document Actions