0

I have 8 ontology files(ttl files). My task is to extract all the triples from it and display the output with all the properties. The task must be done in java. looking forward for your reply.

Rakesh

Rakesh Gourineni
  • 1,361
  • 5
  • 16
  • 30
  • 2
    This is basically the same question you asked before. See http://stackoverflow.com/questions/12305927/stand-alone-application-for-retrieving-data-from-8-ontology-files-ttl-files-an . You got an answer there, which you even accepted. So why the new question? – Jeen Broekstra Sep 20 '12 at 22:53

1 Answers1

4

Jena or RDF4J (formerly known as Sesame) are your two best bets for working with RDF in Java. I prefer RDF4J over Jena; I find it easier to use because it's more lightweight, but ymmv. Jena provides a simple tutorial that will show you the basics of the API, and here is an article on how to use RDF4J RIO to read & write RDF.

Jeen Broekstra
  • 21,642
  • 4
  • 51
  • 73
Michael
  • 4,858
  • 19
  • 32