Skip to main content

SGVizler integration for Plone 4

Project description

SGVizler is a library that can directly question SPARQL endpoint to visualize opendat in your site. This intregration of version 0.6 use dexterity type to be flexible with parameters.

Due to time limitation for the exercise this package is not done in the Plone 5 way.



  • SGVizler 0.6
  • Dexterity type to make the rendering

See the SGVizler documentation and screenshot below to see examples.


TODO #Full documentation for end users can be found in the “docs” folder, and is also available online at

Local Setup

As SPARQL works with prefix in its query, a good thing can be to overload the sgvizler-setup.js file.

Proxy Configuration

SGVizler does AJAX request between domains. You need to configure your front proxy to accept data from domains where are SPARQL endpoints, id est you need to add connect-src and script-src provider in the Content-Security-Policy HTTP header.

Example with NGinx:

add_header X-Frame-Options "SAMEORIGIN";
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' 'unsafe-inline'; media-src 'self'; font-src 'self' 'unsafe-inline'; object-src 'self'; connect-src 'self'";

Notice that you need to open your server to JS api ( until a better implementation of requirements in this project.


This product has been translated into

  • French (TODO)


Install collective.sgvizler by adding it to your buildout:



eggs =

and then running bin/buildout


If you are having issues, please let us know. You can contact the owner (don’t abuse please):


This work was planned and done with the courtesy of the IFÉ - École Normale Supérieure de Lyon.

The project is licensed under the BSD.



1.0.1 (2015-12-17)

  • Fix double compression problem on minified javascript library [encolpe]

1.0 2015-12-16

  • Initial release. [encolpe]
  • Integrate SGVizler 0.6 [encolpe]
  • Add a Dexterity type to customize SGVizler rendering [encolpe]

Project details

Download files

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

Files for collective.sgvizler, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size collective.sgvizler-1.0.1.tar.gz (167.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page