This script defines a class, quadriga_api, that makes it easier to pull data from a Quadriga web service. Right now it focuses on retrieving statements -- consisting of nested contextual triples, or quadruples -- created using Vogon (http://gobtan.sourceforge.net/), and transforming them into more traditional triples for use in online exhibits.
Warning
This was hacked together in a short amount of time to serve my own purposes. It is far from polished. If you find this useful and would like to whip it into shape, go right ahead (and publish your code here)!
Getting Started
- You'll need Python (http://www.python.org/). This has been tested with v2.7.
- You'll need a few extras on hand:
- To use the quadriga_api class, just put it into your project directory, and add this to your code:
from python-quadriga import quadriga_api
Questions?
erick [dot] peirson [at] asu [dot] edu