Hi Edwin,
this is how I install Apache Jena (which includes ARQ):

wget 
http://www.apache.org/dist/incubator/jena/apache-jena-2.7.0-incubating/apache-jena-2.7.0-incubating.zip
unzip apache-jena-2.7.0-incubating.zip
cd apache-jena-2.7.0-incubating
cat README ;-)
export JENAROOT=/tmp/apache-jena-2.7.0-incubating
export PATH=$JENAROOT/bin:$PATH

Load (in-memory, for small datasets only) some data and run a query:

arq --data=filename.nt "SELECT * { ..."
arq --data=filename.nt --query filename.rq

See also:
arq --help

Documentation here:
http://incubator.apache.org/jena/documentation/query/

On a Windows system there are small changes ';' instead of ':' for environment 
variables and a different way to the them.

Paolo

Edwin Relf wrote:
> Ah ha.  That explains it.  Thanks to all of you who have helped me.  (The 
> book's site points to this forum ... and you're right ... it is not this 
> forum's fault.)   Trolling and trolling with Google searches at last I've 
> found not just one but two(!) SPARQL query engines that will unpack and run 
> on Windows 7 'Twinkle ARQ' and 'Sesame 2 Windows Client'.  That, I hope, will 
> serve my purpose ... and maybe this exchange will help anyone after me who 
> comes looking.
> 
> Thanks again,  Edwin 
> 
> -----Original Message-----
> From: Benson Margulies [mailto:[email protected]] 
> Sent: Tuesday, 10 April 2012 1:07 AM
> To: [email protected]
> Subject: Re: Windows 7
> 
> On Mon, Apr 9, 2012 at 10:32 AM, Edwin Relf <[email protected]> wrote:
>> I'm not trying to write a java application.  I'm trying to learn SPARQL - 
>> The book "Learning SPARQL" by Bob DuCharme points to Jena ARQ to download 
>> its SPARQL query engine.  The book indicates it is a simple process to 
>> install. !  Well it isn't.
> 
> The readers of this mailing list are hardly responsible for the accuracy of a 
> book written by none of us.
> 
> However, I think I see the explanation. Pre-Apache, Jena ARQ was distributed 
> as a zip file which contained command-line scripts you could use to work with 
> SPARQL. The current ARQ package is just the jar for the classpath, not this 
> other stuff.
> 
> http://www.apache.org/dist/incubator/jena/apache-jena-2.7.0-incubating.zip,
> the full release, contains this material. Download this, unzip it, and use 
> the files in the 'bat' directory.
> 
> 
>> I see how I could use Eclipse to incorporate Jena to write java script 
>> but I don't want to go there
>>
>> -----Original Message-----
>> From: Benson Margulies [mailto:[email protected]]
>> Sent: Monday, 9 April 2012 11:54 PM
>> To: [email protected]; [email protected]
>> Subject: Re: Windows 7
>>
>> On Mon, Apr 9, 2012 at 10:18 AM, Edwin Relf <[email protected]> wrote:
>>> Ok - then what application are they incorporated into ...
>> Applications you write yourself. If you are not planning on writing Java 
>> applications that process RDF, you very likely don't want to download Jena.
>>
>>> -----Original Message-----
>>> From: Benson Margulies [mailto:[email protected]]
>>> Sent: Monday, 9 April 2012 9:12 PM
>>> To: [email protected]; [email protected]
>>> Subject: Re: Windows 7
>>>
>>> You don't install Jena. it is a Java API. You download jar files and 
>>> incorporate them into an application. What else were you expecting?
>>>
>>> On Mon, Apr 9, 2012 at 12:45 AM, Edwin Relf <[email protected]> wrote:
>>>> For the life of me I cannot find how to or what file to download Jena ARQ.
>>>> Nor can I find how to install it.  I assume others have had this problem.
>>>> Can anyone point me to a forum where a solution to this problem is 
>>>> articulated?   Thanks Edwin.
> 

Reply via email to