You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by "Joshua P. Janzen" <jo...@gmail.com> on 2012/06/02 19:41:13 UTC

ARQ Installation for SPARQL Test Queries

Hello,

I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor from
the book* Learning SPARQL* by DuCharme.  He states: For queries against a
data file on your own hard disk, the free, Java-based program ARQ makes it
pretty simple. (You can download ARQ from http://jena.sourceforge.net/ARQ/.)
 I have Java JDK 7 installed and use IDE Blujay to develop simple Java
programs.

I'm looking to just test some of the examples from his text of SPARQL.  I
went to the download section of  http://jena.sourceforge.net/ARQ/ and
downloaded ARQ-2.8.8, but am unclear how to install and where I can access
the batch file and shell script.  Please, and help would be greatly
appreciated.  Thank you!

Josh

Re: ARQ Installation for SPARQL Test Queries

Posted by Andy Seaborne <an...@apache.org>.
On 06/06/12 02:54, Joshua P. Janzen wrote:
> How do I know whether to set JENAROOT or ARQROOT?

Follow the details in the README.

The SPARQL book details may well be are out of date (ask the author to 
note this) but the book does not originate from the project so you'l 
have to email Bob DuCharme about it.

Set JENAROOT (but of course you could set both.)

[[ARQROOT applies to the development system, not to the distribution]]

	Andy

>
> On Tue, Jun 5, 2012 at 5:54 AM, Andy Seaborne<an...@apache.org>  wrote:
>
>> On 05/06/12 02:43, Joshua P. Janzen wrote:
>>
>>> I have set JENROOT, but when I try to run bat\sparql.bat from the command
>>> line, I get the response "No query string or query file".  Any thoughts to
>>> help me get started?
>>>
>>
>> The command is working.
>>
>> bat\sparql.bat --data RDFdata --query QueryFile.rq
>>
>> or
>>
>> bat\sparql.bat --data RDFdata 'query string here'
>>
>> Try:
>>
>> bat\sparql.bat --help
>>
>>         Andy
>>
>>
>>
>>> On Mon, Jun 4, 2012 at 12:53 PM, Rob Vesse<rv...@yarcdata.com>   wrote:
>>>
>>>   Joshua
>>>>
>>>> I would strongly recommend you follow Andy's advice and use the latest
>>>> releases from jena.apache.org rather than the old releases from
>>>> SourceForge
>>>>
>>>> Rob
>>>>
>>>>
>>>> On 6/4/12 5:56 AM, "Nelson Piedra (UTPL)"<no...@utpl.edu.ec>   wrote:
>>>>
>>>>   Hi Josue.
>>>>>
>>>>> 1. You can download ARQ 2.8.8 from
>>>>> http://sourceforge.net/**projects/jena/files/ARQ/ARQ-2.**8.8/<http://sourceforge.net/projects/jena/files/ARQ/ARQ-2.8.8/>
>>>>> 2. In http://jena.apache.org/**tutorials/sparql_query1.html<http://jena.apache.org/tutorials/sparql_query1.html>you lok at a
>>>>> simple first query
>>>>>
>>>>>
>>>>> best regards,
>>>>>
>>>>> Nelson
>>>>>
>>>>> P.D. What's your platform?
>>>>>
>>>>> 2012/6/2 Joshua P. Janzen<jo...@gmail.com>
>>>>>
>>>>>   Hello,
>>>>>>
>>>>>> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor
>>>>>> from
>>>>>> the book* Learning SPARQL* by DuCharme.  He states: For queries against
>>>>>> a
>>>>>> data file on your own hard disk, the free, Java-based program ARQ makes
>>>>>> it
>>>>>> pretty simple. (You can download ARQ from
>>>>>> http://jena.sourceforge.net/**ARQ/<http://jena.sourceforge.net/ARQ/>
>>>>>> .)
>>>>>>   I have Java JDK 7 installed and use IDE Blujay to develop simple Java
>>>>>> programs.
>>>>>>
>>>>>> I'm looking to just test some of the examples from his text of SPARQL.
>>>>>> I
>>>>>> went to the download section of  http://jena.sourceforge.net/**ARQ/<http://jena.sourceforge.net/ARQ/>and
>>>>>> downloaded ARQ-2.8.8, but am unclear how to install and where I can
>>>>>> access
>>>>>> the batch file and shell script.  Please, and help would be greatly
>>>>>> appreciated.  Thank you!
>>>>>>
>>>>>> Josh
>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>
>


Re: ARQ Installation for SPARQL Test Queries

Posted by "Joshua P. Janzen" <jo...@gmail.com>.
How do I know whether to set JENAROOT or ARQROOT?

On Tue, Jun 5, 2012 at 5:54 AM, Andy Seaborne <an...@apache.org> wrote:

> On 05/06/12 02:43, Joshua P. Janzen wrote:
>
>> I have set JENROOT, but when I try to run bat\sparql.bat from the command
>> line, I get the response "No query string or query file".  Any thoughts to
>> help me get started?
>>
>
> The command is working.
>
> bat\sparql.bat --data RDFdata --query QueryFile.rq
>
> or
>
> bat\sparql.bat --data RDFdata 'query string here'
>
> Try:
>
> bat\sparql.bat --help
>
>        Andy
>
>
>
>> On Mon, Jun 4, 2012 at 12:53 PM, Rob Vesse<rv...@yarcdata.com>  wrote:
>>
>>  Joshua
>>>
>>> I would strongly recommend you follow Andy's advice and use the latest
>>> releases from jena.apache.org rather than the old releases from
>>> SourceForge
>>>
>>> Rob
>>>
>>>
>>> On 6/4/12 5:56 AM, "Nelson Piedra (UTPL)"<no...@utpl.edu.ec>  wrote:
>>>
>>>  Hi Josue.
>>>>
>>>> 1. You can download ARQ 2.8.8 from
>>>> http://sourceforge.net/**projects/jena/files/ARQ/ARQ-2.**8.8/<http://sourceforge.net/projects/jena/files/ARQ/ARQ-2.8.8/>
>>>> 2. In http://jena.apache.org/**tutorials/sparql_query1.html<http://jena.apache.org/tutorials/sparql_query1.html>you lok at a
>>>> simple first query
>>>>
>>>>
>>>> best regards,
>>>>
>>>> Nelson
>>>>
>>>> P.D. What's your platform?
>>>>
>>>> 2012/6/2 Joshua P. Janzen<jo...@gmail.com>
>>>>
>>>>  Hello,
>>>>>
>>>>> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor
>>>>> from
>>>>> the book* Learning SPARQL* by DuCharme.  He states: For queries against
>>>>> a
>>>>> data file on your own hard disk, the free, Java-based program ARQ makes
>>>>> it
>>>>> pretty simple. (You can download ARQ from
>>>>> http://jena.sourceforge.net/**ARQ/ <http://jena.sourceforge.net/ARQ/>
>>>>> .)
>>>>>  I have Java JDK 7 installed and use IDE Blujay to develop simple Java
>>>>> programs.
>>>>>
>>>>> I'm looking to just test some of the examples from his text of SPARQL.
>>>>> I
>>>>> went to the download section of  http://jena.sourceforge.net/**ARQ/<http://jena.sourceforge.net/ARQ/>and
>>>>> downloaded ARQ-2.8.8, but am unclear how to install and where I can
>>>>> access
>>>>> the batch file and shell script.  Please, and help would be greatly
>>>>> appreciated.  Thank you!
>>>>>
>>>>> Josh
>>>>>
>>>>>
>>>
>>>
>>
>

Re: ARQ Installation for SPARQL Test Queries

Posted by Andy Seaborne <an...@apache.org>.
On 05/06/12 02:43, Joshua P. Janzen wrote:
> I have set JENROOT, but when I try to run bat\sparql.bat from the command
> line, I get the response "No query string or query file".  Any thoughts to
> help me get started?

The command is working.

bat\sparql.bat --data RDFdata --query QueryFile.rq

or

bat\sparql.bat --data RDFdata 'query string here'

Try:

bat\sparql.bat --help

	Andy

>
> On Mon, Jun 4, 2012 at 12:53 PM, Rob Vesse<rv...@yarcdata.com>  wrote:
>
>> Joshua
>>
>> I would strongly recommend you follow Andy's advice and use the latest
>> releases from jena.apache.org rather than the old releases from
>> SourceForge
>>
>> Rob
>>
>>
>> On 6/4/12 5:56 AM, "Nelson Piedra (UTPL)"<no...@utpl.edu.ec>  wrote:
>>
>>> Hi Josue.
>>>
>>> 1. You can download ARQ 2.8.8 from
>>> http://sourceforge.net/projects/jena/files/ARQ/ARQ-2.8.8/
>>> 2. In http://jena.apache.org/tutorials/sparql_query1.html you lok at a
>>> simple first query
>>>
>>>
>>> best regards,
>>>
>>> Nelson
>>>
>>> P.D. What's your platform?
>>>
>>> 2012/6/2 Joshua P. Janzen<jo...@gmail.com>
>>>
>>>> Hello,
>>>>
>>>> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor
>>>> from
>>>> the book* Learning SPARQL* by DuCharme.  He states: For queries against
>>>> a
>>>> data file on your own hard disk, the free, Java-based program ARQ makes
>>>> it
>>>> pretty simple. (You can download ARQ from
>>>> http://jena.sourceforge.net/ARQ/
>>>> .)
>>>>   I have Java JDK 7 installed and use IDE Blujay to develop simple Java
>>>> programs.
>>>>
>>>> I'm looking to just test some of the examples from his text of SPARQL.
>>>> I
>>>> went to the download section of  http://jena.sourceforge.net/ARQ/ and
>>>> downloaded ARQ-2.8.8, but am unclear how to install and where I can
>>>> access
>>>> the batch file and shell script.  Please, and help would be greatly
>>>> appreciated.  Thank you!
>>>>
>>>> Josh
>>>>
>>
>>
>


Re: ARQ Installation for SPARQL Test Queries

Posted by "Joshua P. Janzen" <jo...@gmail.com>.
I have set JENROOT, but when I try to run bat\sparql.bat from the command
line, I get the response "No query string or query file".  Any thoughts to
help me get started?

On Mon, Jun 4, 2012 at 12:53 PM, Rob Vesse <rv...@yarcdata.com> wrote:

> Joshua
>
> I would strongly recommend you follow Andy's advice and use the latest
> releases from jena.apache.org rather than the old releases from
> SourceForge
>
> Rob
>
>
> On 6/4/12 5:56 AM, "Nelson Piedra (UTPL)" <no...@utpl.edu.ec> wrote:
>
> >Hi Josue.
> >
> >1. You can download ARQ 2.8.8 from
> >http://sourceforge.net/projects/jena/files/ARQ/ARQ-2.8.8/
> >2. In http://jena.apache.org/tutorials/sparql_query1.html you lok at a
> >simple first query
> >
> >
> >best regards,
> >
> >Nelson
> >
> >P.D. What's your platform?
> >
> >2012/6/2 Joshua P. Janzen <jo...@gmail.com>
> >
> >> Hello,
> >>
> >> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor
> >>from
> >> the book* Learning SPARQL* by DuCharme.  He states: For queries against
> >>a
> >> data file on your own hard disk, the free, Java-based program ARQ makes
> >>it
> >> pretty simple. (You can download ARQ from
> >>http://jena.sourceforge.net/ARQ/
> >> .)
> >>  I have Java JDK 7 installed and use IDE Blujay to develop simple Java
> >> programs.
> >>
> >> I'm looking to just test some of the examples from his text of SPARQL.
> >>I
> >> went to the download section of  http://jena.sourceforge.net/ARQ/ and
> >> downloaded ARQ-2.8.8, but am unclear how to install and where I can
> >>access
> >> the batch file and shell script.  Please, and help would be greatly
> >> appreciated.  Thank you!
> >>
> >> Josh
> >>
>
>

Re: ARQ Installation for SPARQL Test Queries

Posted by Rob Vesse <rv...@yarcdata.com>.
Joshua

I would strongly recommend you follow Andy's advice and use the latest
releases from jena.apache.org rather than the old releases from SourceForge

Rob


On 6/4/12 5:56 AM, "Nelson Piedra (UTPL)" <no...@utpl.edu.ec> wrote:

>Hi Josue.
>
>1. You can download ARQ 2.8.8 from
>http://sourceforge.net/projects/jena/files/ARQ/ARQ-2.8.8/
>2. In http://jena.apache.org/tutorials/sparql_query1.html you lok at a
>simple first query
>
>
>best regards,
>
>Nelson
>
>P.D. What's your platform?
>
>2012/6/2 Joshua P. Janzen <jo...@gmail.com>
>
>> Hello,
>>
>> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor
>>from
>> the book* Learning SPARQL* by DuCharme.  He states: For queries against
>>a
>> data file on your own hard disk, the free, Java-based program ARQ makes
>>it
>> pretty simple. (You can download ARQ from
>>http://jena.sourceforge.net/ARQ/
>> .)
>>  I have Java JDK 7 installed and use IDE Blujay to develop simple Java
>> programs.
>>
>> I'm looking to just test some of the examples from his text of SPARQL.
>>I
>> went to the download section of  http://jena.sourceforge.net/ARQ/ and
>> downloaded ARQ-2.8.8, but am unclear how to install and where I can
>>access
>> the batch file and shell script.  Please, and help would be greatly
>> appreciated.  Thank you!
>>
>> Josh
>>


Re: ARQ Installation for SPARQL Test Queries

Posted by "Nelson Piedra (UTPL)" <no...@utpl.edu.ec>.
Hi Josue.

1. You can download ARQ 2.8.8 from
http://sourceforge.net/projects/jena/files/ARQ/ARQ-2.8.8/
2. In http://jena.apache.org/tutorials/sparql_query1.html you lok at a
simple first query


best regards,

Nelson

P.D. What's your platform?

2012/6/2 Joshua P. Janzen <jo...@gmail.com>

> Hello,
>
> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor from
> the book* Learning SPARQL* by DuCharme.  He states: For queries against a
> data file on your own hard disk, the free, Java-based program ARQ makes it
> pretty simple. (You can download ARQ from http://jena.sourceforge.net/ARQ/
> .)
>  I have Java JDK 7 installed and use IDE Blujay to develop simple Java
> programs.
>
> I'm looking to just test some of the examples from his text of SPARQL.  I
> went to the download section of  http://jena.sourceforge.net/ARQ/ and
> downloaded ARQ-2.8.8, but am unclear how to install and where I can access
> the batch file and shell script.  Please, and help would be greatly
> appreciated.  Thank you!
>
> Josh
>

Re: ARQ Installation for SPARQL Test Queries

Posted by Andy Seaborne <an...@apache.org>.
On 03/06/12 14:07, Joshua P. Janzen wrote:
> Thank you.  I downloaded and extracted the apache-jena-2.7.0-incubating
> and jena-arq-2.9.0-incubating.  My question is did I download the
> correct version and is how to install and run the program so I can test
> my SPARQL queries?  I've tried to gather from the README docs that I'll
> need to move the path around to access from the command prompt?  Thank
> you, Josh.

Set JENAROOT to the full path for apache-jena-2.7.0-incubating

Run bat or bin scripts as needed.

	Andy

>
> On Sun, Jun 3, 2012 at 7:14 AM, Andy Seaborne <andy@apache.org
> <ma...@apache.org>> wrote:
>
>     On 02/06/12 18:41, Joshua P. Janzen wrote:
>
>         Hello,
>
>         I'm new to ARQ and Jena.  Your site was referred as a SPARQL
>         processor from
>         the book* Learning SPARQL* by DuCharme.  He states: For queries
>         against a
>
>         data file on your own hard disk, the free, Java-based program
>         ARQ makes it
>         pretty simple. (You can download ARQ from
>         http://jena.sourceforge.net/__ARQ/
>         <http://jena.sourceforge.net/ARQ/>.)
>           I have Java JDK 7 installed and use IDE Blujay to develop
>         simple Java
>         programs.
>
>         I'm looking to just test some of the examples from his text of
>         SPARQL.  I
>         went to the download section of
>         http://jena.sourceforge.net/__ARQ/
>         <http://jena.sourceforge.net/ARQ/> and
>         downloaded ARQ-2.8.8, but am unclear how to install and where I
>         can access
>         the batch file and shell script.  Please, and help would be greatly
>         appreciated.  Thank you!
>
>         Josh
>
>
>     The project is now at Apache:
>
>     http://jena.apache.org/
>
>     the apache-jena download has the scripts in it.
>
>             Andy
>
>
>


Re: ARQ Installation for SPARQL Test Queries

Posted by "Joshua P. Janzen" <jo...@gmail.com>.
Thank you.  I downloaded and extracted the apache-jena-2.7.0-incubating and
jena-arq-2.9.0-incubating.  My question is did I download the correct
version and is how to install and run the program so I can test my SPARQL
queries?  I've tried to gather from the README docs that I'll need to move
the path around to access from the command prompt?  Thank you, Josh.

On Sun, Jun 3, 2012 at 7:14 AM, Andy Seaborne <an...@apache.org> wrote:

> On 02/06/12 18:41, Joshua P. Janzen wrote:
>
>> Hello,
>>
>> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor
>> from
>> the book* Learning SPARQL* by DuCharme.  He states: For queries against a
>>
>> data file on your own hard disk, the free, Java-based program ARQ makes it
>> pretty simple. (You can download ARQ from http://jena.sourceforge.net/**
>> ARQ/ <http://jena.sourceforge.net/ARQ/>.)
>>  I have Java JDK 7 installed and use IDE Blujay to develop simple Java
>> programs.
>>
>> I'm looking to just test some of the examples from his text of SPARQL.  I
>> went to the download section of  http://jena.sourceforge.net/**ARQ/<http://jena.sourceforge.net/ARQ/>and
>> downloaded ARQ-2.8.8, but am unclear how to install and where I can access
>> the batch file and shell script.  Please, and help would be greatly
>> appreciated.  Thank you!
>>
>> Josh
>>
>>
> The project is now at Apache:
>
> http://jena.apache.org/
>
> the apache-jena download has the scripts in it.
>
>        Andy
>
>
>

Re: ARQ Installation for SPARQL Test Queries

Posted by Andy Seaborne <an...@apache.org>.
On 02/06/12 18:41, Joshua P. Janzen wrote:
> Hello,
>
> I'm new to ARQ and Jena.  Your site was referred as a SPARQL processor from
> the book* Learning SPARQL* by DuCharme.  He states: For queries against a
> data file on your own hard disk, the free, Java-based program ARQ makes it
> pretty simple. (You can download ARQ from http://jena.sourceforge.net/ARQ/.)
>   I have Java JDK 7 installed and use IDE Blujay to develop simple Java
> programs.
>
> I'm looking to just test some of the examples from his text of SPARQL.  I
> went to the download section of  http://jena.sourceforge.net/ARQ/ and
> downloaded ARQ-2.8.8, but am unclear how to install and where I can access
> the batch file and shell script.  Please, and help would be greatly
> appreciated.  Thank you!
>
> Josh
>

The project is now at Apache:

http://jena.apache.org/

the apache-jena download has the scripts in it.

	Andy