Take the 2-minute tour ×

I am Rakesh. I am working on semantic web and came across a issue. I have 10 .ttl(Turtle) files. I need to find the mappings from these files and display the output in JSON format. The entire project must be like a standalone application.

I googled for the solution. I found out that I need to find APIs to do the mapping. Then I think I need to write a Java program to get the JSON output.I am new to semantic web and need some help from you. Please guys help me.


share|improve this question
What do you mean by “find the mappings”? Mapping from what to what? And how do you want to “find” them? –  cygri Sep 4 '12 at 22:00
add comment

1 Answer

You can use Jena. It's currently an Apache project and provides you with a powerful library for working with RDF models and graphs alongside much more.

You can find it here: http://jena.apache.org/

This page in the documentation (RDF I/O) is probably all you need for now: http://jena.apache.org/documentation/io/iohowto.html

share|improve this answer
Arash thanks for your reply. Can we find mapping using Jena? –  Rakesh Gourineni Sep 4 '12 at 20:33
I'm not sure I understand what you call "mapping". If you want to list the statements (Subject-Predicate-Object triples), it's one of the most fundamental things Jena helps you to do. Using Jena you can create a RDF model from its serialized form, of which Turtle is just one of the formats, process it, and serialize it into another form such as JSON. –  Arash Shahkar Sep 5 '12 at 13:43
What i think about mapping is to get the properties which are in relation within the ontology files. My question is can we parse all the 10 ontology files and find the the properties which are in relation within other ontology files? –  Rakesh Gourineni Sep 5 '12 at 18:05
add comment

Your Answer


