开发者

Jena TDB in Python?

开发者 https://www.devze.com 2023-04-09 23:14 出处:网络
Is it possible to run a Jena TDB database from a Python app to store a large amount of RDF data? What wou开发者_JS百科ld be a native alternative in Python?An alternative is to use a SPARQL endpoint su

Is it possible to run a Jena TDB database from a Python app to store a large amount of RDF data? What wou开发者_JS百科ld be a native alternative in Python?


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:

  • http://incubator.apache.org/jena/documentation/serving_data/


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消