使用Python的Jena TDB? [英] Jena TDB in Python?

查看:222
本文介绍了使用Python的Jena TDB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Python应用程序中运行 Jena TDB数据库来存储大量的RDF数据?什么是Python的本机替代方案?

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?

推荐答案

另一种方法是在 Jython 不是基于C的普通Python运行时.

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

Jython将python代码转换为JVM语言.因此,它不能调用使用C的python扩展,但可以调用所有Java类,包括Jena TDB和所有纯python模块.

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.

这篇关于使用Python的Jena TDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆