I like the redland RDF libraries. RDF parsing, storage, SPARQL/RDQL queries, fairly complete, but modular enough to use only what you want. They have Java bindings, but I have only used the C API (and also wrote a (partial) Lua binding)
AllegroGraph 支持开源 Jena API,通过该 API 可以执行写入操作。 这很酷; 有用。 也许这对于您的目的来说已经足够抽象了。
One issue that makes this question
more difficult is that unlike SQL, the
SPARQL standard only supports read
operations, so writes are done via the
RDF store's proprietary API, and I'd
really like to abstract away those
details in our application.details in our application.
AllegroGraph supports the open-source Jena API, through which you can perform write operations. It's cool; it works. Maybe that's abstraction enough for your purposes.
For the OO-RDF mapping in general, you might want to have a look at:
OpenRDF Elmo http://www.openrdf.org/ (works only with sesame but designed to be extensible and extending sesame to work on top of allegrograph(look at the sail (Storage and inference Layer) architecture)
There is also RDFReactor http://semanticweb.org/wiki/RDFReactor which works on top of RDF2go. RDF2go is an abstraction layer with implementation for jena or sesame. Again nothing about AllegroGraph so you would need an implementation of the binding.
I don't know for RDFReactor but i know that sommer and elmo are both based on annotation of POJO and allows the updates via direct triple-based-API or the queries using SPARQL.
As for AllegroGraph itself, I'm not aware of anything specific but they seems to support Sesame and to interface with it, so you might be able to work this way.
发布评论
评论(3)
我喜欢 redland RDF 库。 RDF 解析、存储、SPARQL/RDQL 查询,相当完整,但足够模块化,可以只使用您想要的内容。 他们有 Java 绑定,但我只使用了 C API(并且还编写了(部分)Lua 绑定)
I like the redland RDF libraries. RDF parsing, storage, SPARQL/RDQL queries, fairly complete, but modular enough to use only what you want. They have Java bindings, but I have only used the C API (and also wrote a (partial) Lua binding)
AllegroGraph 支持开源 Jena API,通过该 API 可以执行写入操作。 这很酷; 有用。 也许这对于您的目的来说已经足够抽象了。
AllegroGraph supports the open-source Jena API, through which you can perform write operations. It's cool; it works. Maybe that's abstraction enough for your purposes.
对于一般的 OO-RDF 映射,您可能需要查看:
但我知道 sommer 和 elmo 都基于 POJO 的注释,并允许通过直接基于三元组的 API 进行更新或使用 SPARQL 进行查询。
至于 AllegroGraph 本身,我不知道任何具体信息,但它们似乎支持 Sesame 并与其交互,因此您也许可以这样工作。
For the OO-RDF mapping in general, you might want to have a look at:
I don't know for RDFReactor but i know that sommer and elmo are both based on annotation of POJO and allows the updates via direct triple-based-API or the queries using SPARQL.
As for AllegroGraph itself, I'm not aware of anything specific but they seems to support Sesame and to interface with it, so you might be able to work this way.