简体   繁体   中英

Relational Database to Triple Store

I am trying to write a java program to transform the information from a MySQL table into triples, so I can later import them into a triple store. Is it possible to do so without creating an auxilliary RDF/XML file? How?

There are a lot of different interfaces for interacting with triples in Java. You have Jena, Sesame, and OWLApi. Jena has an in-memory store for triples. It can output to several different notations, including RDF/XML but also N3, binary format, SQL database...

I think these APIs also allow you to directly connect to a triple store using standard protocols.

See http://www.scribd.com/doc/32983777/An-open-portable-AST-for-software-engineering-tools#outer_page_46 for more information, I have written a small part about this in my thesis :-)

Python script :dbview.py provides a mapping from a mySQL, producing linked virtual RDF data files.

http://www.w3.org/wiki/ConverterToRdf

Never did it directly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM