2

I am trying to try out storing N-triple and querying them. What is the simplest way to store N-triple in triple store or rather the simplest server do that.

I would highly appreciate help in this.

2 Answers2

2

Try Apache Jena, and its TDB database:

$ tdbloader --loc mystore file.nt
$ tdbquery --loc mystore "select * {?s ?p ?o}" # direct query
$ tdbquery --loc mystore --query myquery.sparql # from a file
user205512
  • 8,798
  • 29
  • 28
1

Try Fuseki if you would prefer using a web based query form or the ability to query your data like any SPARQL endpoint via http.

For more details see my answer on this question: Where do I test my queries for my RDF written in SPARQL

Pablo Bianchi
  • 1,824
  • 1
  • 26
  • 30
Thomas
  • 2,155
  • 16
  • 22