3

Is it possible to run a Jena TDB database from a Python app to store a large amount of RDF data? What would be a native alternative in Python?

TylerH
  • 20,799
  • 66
  • 75
  • 101
Mulone
  • 3,603
  • 9
  • 47
  • 69

3 Answers3

4

An alternative is to use a SPARQL endpoint such as Apache Jena's Fuseki and just use an HTTP client from Python or any other language.

To read more about Fuseki, look here:

castagna
  • 1,349
  • 10
  • 12
4

http://code.google.com/p/python-graphite/ A Python package that make it possible to use Jena in Python

Wang Ruiqi
  • 804
  • 6
  • 19
2

An alternative is to run the python code under Jython not the normal C based Python run time.

Jython converts python code to the JVM language. It cannot therefore call python extensions that use C but it can call all Java classes including the Jena TDB and all pure python modules.

mmmmmm
  • 32,227
  • 27
  • 88
  • 117