开发者

Creating a RDF in Jython

开发者 https://www.devze.com 2023-02-18 17:02 出处:网络
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 tool

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

精彩评论

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

关注公众号