EEA & Eionet documentation hub

Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.

EEA Sparql


EEA Sparql is a plone product for fetching data from Linked open data servers (sparql endpoints).


  • Introduction
  • Main features
  • Installation
  • Dependecies
  • Source code
  • Copyright and license
  • Links
  • Funding


It is simple to use, you only have to specify the sparql endpoint url and the sparql query. The results will be converted in an exhibit json, what can easily be reused (ex. by eea.daviz).

Main features

The main features are:

  1. create sparql queries
  2. create sparql bookmark folders, sparql queries are created automatically, and can be synchronized manually or automatically (with a cronjob). If a query is changed, a new version of the object is created, so older ones are not lost.
  3. results are downloadable in various formats: JSON, Exhibit JSON, HTML, XML, XML with Schema, CSV, TSV


To install eea.sparql into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this:

into your Zope instance.

  • Create a file called eea.sparql-configure.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this:

    <include package="eea.sparql" />

Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Add eea.sparql to the list of eggs to install, e.g.:

    [buildout] eggs = eea.sparql
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance] recipe = plone.recipe.zope2instance zcml = eea.sparql

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

You will also need a worker instance to be set up. This is required for the async update of the last working results.

  • For both, normal and worker instances, the should be added in the EGG slug:

    eggs =   ...
  • For the normal instances, the should be added in the ZCML slug:

    zcml =   ...
  • For the worker instances, the should be added in the ZCML slug:

    zcml =   ...
  • Re-run buildout, e.g. with:

    $ ./bin/buildout


  • Products.ZSPARQLMethod
  • eea.versions
  • eea.cache 7.0+ (optional)

Source code

Latest source code (Plone 4 compatible): - Plone Collective on Github - EEA on Github

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

The EEA Sparql (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

More details under docs/License.txt



EEA - European Environment Agency (EU)

Edit this page