|
TomaImplementation
Information about the TOMA implementation for Ontopia.
IntroductionThis page gives information about the status of the TOMA query language implementation for Ontopia. StatusThe implementation currently lives in the sandbox part of Subversion, so you must access the sandbox to find it. The implementation is fully functional, missing parts are as follows:
Compile & RunPrerequisites- Apache Maven 2.0 (or later) Compilecd sandbox/toma mvn compile package CommandlineA simple command-line tool to run queries against a topic map is included. To run it, simply type in the following to get a help message: cd target
java -jar toma-{$version}-full.jarOmnigator IntegrationCopy the current toma package to the common library path of the ontopia tomcat instance. cp target/toma-{$version}.jar {$ontopia-install-path}/apache-tomcat/common/libSelect a topic map within omnigator and use the "Generic Query" plugin, where you can select "Toma" as query processor. Google AppEngineToma can also be tested out using a specific version of omnigator deployed to Google AppEngine: http://toma-demo.appspot.com/. ExamplesSome examples based on the famous Italian Opera topic map:
Note: do not forget to escape '$' with '\' when trying to run the examples in a shell. More examples be found within the 'Generic Query' plugin of Omnigator while using the ItalianOpera.ltm topic map. SpecificationThe current specification can be found here: TOMA Specification |
Sign in to add a comment