You are using Eclipse, clearly, and this is a question about basic Eclipse 
usage; setting up your dependencies. It has nothing to do with Jena. Please 
redirect your question to an appropriate forum. You may wish to begin here:

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fref-properties-build-path.htm
 

---
A. Soroka
The University of Virginia Library

> On Aug 16, 2016, at 7:52 AM, Azra Nicolas <[email protected]> wrote:
> 
> 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
>> 
>> 

Reply via email to