Template-Axiom-Query (TAQ)

Getting Started

Requisites

The first requisite is Git as TAQ is distributed from a public Github repository.

The second requisite is Maven as TAQ is organized as a multi-module Maven project.

The third requisite is Java as TAQ is written in Java,

Installation

Download TAQ to a suitable development location using Git:

git clone https://github.com/cybersearch2/TAQ

Build with Maven:

mvn clean verify

taq.jar

All the examples can be run from the command line using the taq.jar file which contains the TAQ runtime library and dependencies. The file can be found in the root location of the "examples" module. To do a trial run, go to that location in a console and run the following command

java -jar taq.jar high_cities

Import into IDE

It should be possible to import the project with all it's modules into your IDE in a single operation. This will allow you to review the source code and run the examples as applications.

TAQ Overview

TAQ programs are written to files with ".taq" file extension. Executing a TAQ query proceeds in two stages. First the code in taq file is compiled using the high performance JavaCC parser. This creates an assembly of artifacts for the second stage which performs the query. An application can run a query more than once after the first compilation stage is completed.

The reference index lists over 20 topics and provides links to the examples in each topic. Each example has a page containing the syntax-highlighted TAQ program and a description that includes how to run the example using taq.jar.