Jena rules in owl ontology

2016-06-08 Thread mehmet mehmet
I have created an ontology in Protege called Student.owl. I want to import it in jena and apply some jena rules on the class/subclass of my ontology. Please if some one guide me how to do this and where (in jena code) my rules will fit in. I am working with jena from few weeks but I have never used

Re: Sqllie database

2016-05-20 Thread mehmet mehmet
PM, Nicolas Paris wrote: > Hi, > at least 2 ways > - tomcat JNDI (connection to a mysql database) > - you can store user login/authent as triple > > > > > > 2016-05-19 22:17 GMT+03:00 mehmet mehmet : > > > What is the appropriate way to deal with user lo

Re: Sqllie database

2016-05-19 Thread mehmet mehmet
ibz.it/ > http://d2rq.org/ > > On Wed, May 18, 2016 at 5:15 PM, mehmet mehmet > wrote: > > Is Jena support Sqlite database? If we have some data from database in > > sqlite like user login etc, can we use it inside Jena ? > > I am new to JenJena and MySql. >

Sqllie database

2016-05-18 Thread mehmet mehmet
Is Jena support Sqlite database? If we have some data from database in sqlite like user login etc, can we use it inside Jena ? I am new to JenJena and MySql.

Re: Query display nothing

2016-04-28 Thread mehmet mehmet
>> >> What is the actual endpoint or dataset you are executing on? What is >> the code executing the query? >> >> On Wed, Apr 27, 2016 at 5:12 PM, mehmet mehmet >> wrote: >> >>> String queryString ="PREFIX dbr: <http://dbpe

Query display nothing

2016-04-27 Thread mehmet mehmet
String queryString ="PREFIX dbr: " + "PREFIX dbprop:" + "SELECT * " + "WHERE {" + " dbr:Germany dbprop:capital ?x"+ "}" ; at the end I display it System.out.println(soln.getResource("x".toString())); *But it displays nothing (no err

resource rdfs label

2016-04-25 Thread mehmet mehmet
This is my Jena query "SELECT * " + "WHERE {" ?x tre:has_boss tre:Good." + "}" ; IT gives me correct answer but in URI form www.semanticweb/myontology/IT_Manager *I want just IT_Manager. I tried rdfs:label but does not work.* (IT_Manager is a resource object in my ontology)