[semantics-public] SOLUTION: How to run arq queries from command line

yottzumm at gmail.com yottzumm at gmail.com
Thu Dec 5 00:45:17 PST 2019


Have confirmed that setting a single JENA_HOME variable in Git Bash succeeds.  I still have a desire to record my site specific JENA_HOME somewhere other than email.  With maven, I store things in my .m2 folder, for example.  I will probably proceed with a file which isn't checked in in the short term.

John
-----Original Message-----
From: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu> 
Sent: Thursday, November 14, 2019 1:33 PM
To: yottzumm at gmail.com
Cc: Jakub Flotyński <flotynski at kti.ue.poznan.pl>; X3D Semantic Web Working Group <semantics-public at web3d.org>
Subject: Re: SOLUTION: How to run arq queries from command line

Given the differences in various OS, have stuck with Ant and avoided OS-specific scripts.

Thus editing one property to match your local installation is the only modification needed.  Striving for simple.

I'll keep gradually building out the documentation.  Functional improvements and suggestions remain welcome.

Your solution can work but it seems like a pretty heavy-duty incantation with much that can go sideways.  Thus sticking with one property as simplest solution so far.

=======================================
$ cd /c/x3d-code/www.web3d.org/semantics/
$ export JENA_HOME=~/Downloads/apache-jena-3.13.0/apache-jena-3.13.0/
$ export PATH=${PATH}:${JENA_HOME}/bat
$ ~/apache-ant-1.10.5/bin/ant SPARQL.query.tests =======================================

Again thanks John for independent testing, this is critically important.

On 11/14/2019 11:17 AM, yottzumm at gmail.com wrote:
> Suggestion:
> 
> Put below “script” in semantics.html or build.xml for reference.
> 
> Likely there will be needed variables in the configuration.

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman




More information about the semantics-public mailing list