Thank you Soroka; ok I have some errors in these imports "import com.hp.hpl.jena.query.Dataset; import com.hp.hpl.jena.query.DatasetFactory; import com.hp.hpl.jena.query.Query; import com.hp.hpl.jena.query.QueryExecution; import com.hp.hpl.jena.query.QueryExecutionFactory; import com.hp.hpl.jena.query.QueryFactory; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.query.ResultSetFormatter;" they are not accepted in my program and they are indicated as errors. when I try to know where is the problem the error indicate "Remove unused import Organize imports Fix project Setup " I hope that the idea is clear. As I tell you I add all the jar file in Protege and in jena 3 Thanks in advance
2016-08-16 12:40 GMT+01:00 A. Soroka <[email protected]>: > There are no attached figures. I'm fairly sure that this mailing list does > not permit attachments. Please use a service like Gist or Pastebin or copy > the errors directly into your email. > > https://stackoverflow.com/help/mcve > > --- > A. Soroka > The University of Virginia Library > > > On Aug 16, 2016, at 6:43 AM, Azra Nicolas <[email protected]> > wrote: > > > > Hello, > > I try to execute an SPARQL query from my ontology that is created with > > protege 5.0.0 > > for that I download the last version of jena apache from this link > > https://jena.apache.org/download/index.cgi > > I unzipe it and I add all jars to my project (adds external jars). > > I add also the Jar file of Protege > > Unfortunately I got several errors in my code that are shown in the > > attached figures > > I think that the problem is in the Jar files. > > how may I resolve this problem please > > > > Thanks in advance > >
