views:

554

answers:

1

I want to create simple application using Java Jena and SPARQL ,that insert, delete , update and query the OWL/RDF data I worked on protege to create the ontology and noticed SPARQL in it but I want to use SPARQL using java and jena ...

1) I saw this thread and I knew how to use SPARQL with jena (after http)stackoverflow.com/questions/2267333/using-jena-to-create-a-sparql-query-on-dbpedia it did work with me .. but I want my own ontology to work .. I mean to upload it to server or to work on localhost or whatever ...

2) SPARQL doesn't support operations like update or insert .. but querying is there any other languages/methods that support these operations ? or I should created it manually in java in each application ...

3) how can I upload my ontology and I prefer something related to protege ? because I tried this which got bug : (after http )semweb.krasu.ru/protege2joseki/ and this (which gave me lot of issues) (after http and wwwdot)joseki.org/ nothing work ..

4) RDF-store ... is for just RDF ? because I am working on OWL files .. I mean for example using MySQL as RDF-store .. would it work for OWL concept ?

A: 

I think that on StackOverflow you should really ask one question per posting. Asking four questions at once makes it hard for you to indicate when you have got the answer you're looking for.

Answering your questions in turn:

  1. It sounds like you want a endpoint loaded with your queries and ontologies which you and others can query using SPARQL. For this, you can use Joseki.
  2. The SPARQL working group at W3C is currently standardising update extensions to the SPARQL language. Some of the existing query engines, including the one in Jena, already implement the proposed update mechanisms as SPARQL extensions.
  3. I don't understand question 3.
  4. Yes, an RDF-triple store can store OWL, because OWL is a specialisation of RDF that provides additional semantic representations. Many tools, including Jena, provide specialised API's for storing, retrieving and manipulating OWL constructs stored in RDF triple stores.
Ian Dickinson
oh thank you Ian Dickinson , I really found what I wanted. I used SWRL instead of SPARQL since I am interested in queries at higher level than triples level. thank you again
Enigma
You're welcome. Please click the 'accept answer' button to show that you have the response you were looking for - that's how StackOverflow helps other people to find the answers to questions which may have been asked before.
Ian Dickinson
oh amazing system of stackOverflow o.o"
Enigma