Skip to main content

Wrapper for Products.ZSPARQLMethod

Project description

EEA Sparql

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

Contents

Introduction

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

Installation

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

  • When you’re reading this you have probably already run easy_install eea.sparql. Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall

  • If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:

    python setup.py install --home /path/to/instance

    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
  • Re-run buildout, e.g. with:

    $ ./bin/buildout

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

Dependecies

  1. Plone 4.x

  2. Products.ZSPARQLMethod

  3. eea.cache

  4. eea.versions

Source code

Latest source code (Plone 4 compatible):

https://svn.eionet.europa.eu/repositories/Zope/trunk/eea.sparql/trunk

Funding

EEA - European Enviroment Agency (EU)

Changelog

1.2 - (2012-04-11)

  • Bug fix: Invalidate memcache and varnish for Sparql instances and related items [voineali #5074]

  • Feature: Made timeout mandatory, and set default value to 10 seconds [szabozo0 #5079]

  • Bug fix: Fixed synchronization problems for sparql bookmark folders [szabozo0 #5078]

  • Bug fix: Remove comments from queries so sparql-query should not fail [szabozo0 #5073]

  • Bug fix: Explicitly close connections with remote servers and serve files in small chuncks on sparql to JSON/XML export. [voineali #5073]

  • Upgrade step: Manually remove apache quickfixes from frontend servers

1.1 - (2012-03-30)

  • Change: Added default workflow mapping. [demarant #5002]

  • Upgrade step: Within ZMI > Site setup > Import types. For workflow change if have old content to migrate: Plone > Types > change workflow: - Sparql -> one_state_workflow - SparqlBookmarksFolder -> folder_workflow define the state mapping as you prefer.

  • Upgrade step: Within “Plone > Site setup > Add-ons” click on upgrade button available for eea.sparql [voineali #4968]

  • Feature: Added a table preview for sparql objects when used togheter with eea.relations and eea.facetednavigation [voineali #4968]

  • Change: moved sparql.css in portal_css [szabozo0 #4968]

  • Feature: added page for syncing all sparql bookmark folders [szabozo0 #5004]

  • Change: added default icons for sparql and sparql bookmarks folder [demarant]

  • Change: Improved table preview dissolve design and template headings [demarant]

  • Bug fix: Fixed default view for sparql, so workflow dropdown is now displayed [szabozo0 #5002]

  • Bug fix: Fixed format of column properties in exhibit json [szabozo0 #4992]

1.0 - (2012-03-05)

  • Initial release [Zoltan Szabo]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eea.sparql-1.2.zip (44.6 kB view details)

Uploaded Source

File details

Details for the file eea.sparql-1.2.zip.

File metadata

  • Download URL: eea.sparql-1.2.zip
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eea.sparql-1.2.zip
Algorithm Hash digest
SHA256 d234a9bf1127cf92507495753da0faa8b9a275dd76970fa3d87141b367abcd06
MD5 f0826242312a20baa98c79a4ef6a2916
BLAKE2b-256 2a4886d6d635e30d6d8adb9ecf84c9abcdaf768c0b45498c4c6789eb72314e5f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page