views:

190

answers:

3

Hi,

Im trying to create a semantic search using java as a base programming language. My task is to create a search prototype which contains triples namely patients, visits and doctors. If i search with a patient name the result should be the patients name and the the time of visit and the corresponding doctors name. Im going to use triples in the form of text files say patients, visits and doctors information will be contained in each text file for e.g. patient.txt, visits.txt and doctors.txt respectively. Here im going to create the search using java along with some integrity constraints to fetch the results which im sure i would be able to do it. But i had been asked to do this using RDF concepts. This is where the confusion starts, im not really sure how to integrate RDF cconcepts and triples with java and im also not really where to start it. I would really appreciate if someone could advice me on this who has already worked on same kind of prototype.

Thanks, Sreenath

+2  A: 

Jena http://jena.sourceforge.net/ is a good API to start a semantic web application with JAVA. Build your file using a RDF or a N3 syntax. You can store your data in a mysql-based database (RDF-store) and query it with the SPARQL language.

Pierre
+1  A: 

Here are some of the APIs that provide RDF support for Java. You can check those out and decide which one will work best for you.

  1. Jena
  2. JRDF
  3. Sesame
Babar
A: 

This link is a general introduction to SPARQL query development using Jena and Joseki.

Andrew Matthews