ARQ === A query processor for Jena that implements SPARQL andy.seaborne@hp.com Releases : SourceForge, Project Jena : Package ARQ http://sourceforge.net/project/showfiles.php?group_id=40417&package_id=143808 Also available via anonymous CVS: cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jena co ARQ Names ----- RDQL - the original query language from Jena 1.2 onwards SPARQL - the DAWG query language and protocol ARQ - The new query engine and the name of its native query language Online demo ----------- http://www.sparql.org/query.html Installation ------------ Unpack zip : it unpacks into a directory. Set environment variable ARQROOT to the path of this direrctory. Put each and every the jar file in lib/ on your classpath. There are some scripts in /bin/ - ensure they are executable and in UNIX line-end format (zipping on Windows does not make this automatic). These scripts are bash scripts and they do run under Cygwin. There are no .bat versions yet. Running from the command line ----------------------------- Some bash scripts are provided to try out SPARQL queries: First, set environment variable ARQROOT to the root of the unzipped distibution. export ARQROOT=$PWD Second, ensure all scripts are executable chmod u+x $ARQROOT/bin/* Command line applications: sparql -- Run a SPARQL query. A wrapper around 'query'. arq -- Run an ARQ query. A wrapper around 'query'. query -- Run a query. qparse -- Parse a query qtest -- Run tests For the 'query' command, files ending .rq are assumed to be SPARQL queries and files ending .arq are ARQ queries, unless the syntax is given explicitly. Unknown files are assumed to be SPARQL queries. sparql --data --query query sparql --data 'Query string' Default output is a text table for SELECT queries, an RDF model for DESCRIBE and CONSTRUCT. Run the script with no argument to get a usage message. Running as Java --------------- Put all the jars files in lib/ on your classpath. All of them, including the version of jena.jar. The arq command line application is: java -cp ... arq.query "$@" Running the test suite: java -cp ... arq.qtest --all Documentation ------------- See doc/javadoc/index.html Misc ---- ARQ has been run under ikvm (http://www.ikvm.net/) after some changes to avoid little things in ikvm that are in progress (full UTF-8 and security) in ikvm or its needed subsystems. Changes ------- See ChangeLog.txt Integration with XML -------------------- Results out for SELECT queries in XML is supported. This can be transformed using XSLT or XQuery. A few examples in ResultSet/ Support and Questions --------------------- Comments on SPARQL to the public comments list: public-rdf-dawg-comments@w3.org Comments and questions about ARQ to the Jena mailing list jena-dev@groups.yahoo.com