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

后端 未结 2 559
礼貌的吻别
礼貌的吻别 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.

    0 讨论(0)
  • 2020-12-18 11:38

    Another possible tool to look at is OLGA - an Ontology SDK. See https://ecostruxure.github.io/OLGA/ .

    0 讨论(0)
提交回复
热议问题