开发者

Creating a RDF in Jython

How do we create RDF database in Jyth开发者_StackOverflowon? I use this to implement SparQL in Jython. So I need to create the database first.


See RDFAlchemyJython for reusing most well known Java tools for RDF and SPARQL in Jython; or go for RDFLIB, a wide spread RDF and SPARQL framework for Python.


I was going to say use the Jena libs, but msalvadores got there already, check the RDFAlchemyJython link. I'll add that it is pretty straightforward, just use them like you would any other Java libs in Jython.

TDB is probably the best bet for a SPARQLable database, see: https://jena.apache.org/documentation/tdb/java_api.html

Just put the libs on your classpath, tweak the code to be js not Java.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜