How can I easily convert RDF triples to/from an idiomatic Java POJO business object?

后端 未结 2 560
礼貌的吻别
礼貌的吻别 2020-12-18 10:42

I\'m a Java developer just getting started with linked data/RDF. I can create triples, put them in a triple store, query them, etc, but it\'s very awkward. Most of my code

2条回答
  •  伪装坚强ぢ
    2020-12-18 11:32

    There's Empire which is a partial implementation of JPA 1.0 for Object-Triple mapping. It supports Jena, Sesame, and Stardog out of the box, and is pretty easy to add support for other databases.

    There's also Pinto which is more akin to Jackson. It's more lightweight than Empire and just does round-tripping to/from RDF & Java beans. It will soon be the engine inside of Empire.

    Disclaimer: I'm the author of both.

提交回复
热议问题