riazanov / alabai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a very experimental resolution- and paramodulation-based automatic theorem prover Alabai, written in Java. 

The main purpose of the prototype is to serve as a guinea pig for experiments with new architectural ideas (see (see A. Riazanov, New Implementation Framework for Saturation-Based Reasoning, 2006, http://arxiv.org/pdf/0802.2127v1.pdf) and the Incremental Query Rewriting method for semantic querying of relational data (see A. Riazanov and M. A. T. Aragao, Incremental Query Rewriting, Canadian Semantic Web: Technologies and Applications, 2010, http://link.springer.com/chapter/10.1007%2F978-1-4419-7335-1_1 ). 


Project maintainer: Alexandre Riazanov, alexandre.riazanov@gmail.com


Building
--------

Use Maven 2 to build the prover (see ./pom.xml). The dependencies include, in particular,
-- The logic-warehouse library: https://github.com/riazanov/logic-warehouse
-- The cushion library: https://github.com/riazanov/cushion
-- The tptp-parser library: https://github.com/riazanov/tptp-parser

To build Alabai, download these libraries, extract the required commits (check the logs to find the appropriate library versions), and build and install them locally with Maven. 


Command line examples
---------------------


java -enableassertions  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -c config.xml -p logic.is.power.alabai.sample_plugins.SamplePlugIn1 --print-input true ./Test/test0.tptp


java -enableassertions  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -c config.xml -p logic.is.power.alabai.sample_plugins.SamplePlugIn1 --print-input true ./Test/test3.tptp


java -enableassertions  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -c config.xml -p logic.is.power.alabai.sample_plugins.SamplePlugIn1 --print-input true ./Test/test8.tptp



java -enableassertions  -Xss10m  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -I ~/TPTP-v6.2.0/ -c config.xml -p logic.is.power.alabai.sample_plugins.SamplePlugIn1 --print-input true ~/TPTP-v6.2.0/Problems/SET/SET098-6.p


java -enableassertions -cp ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar logic.is.power.alabai.xml_config.Validator config.xml

---------------------------------------------------


java -enableassertions  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -I ./Test -c lubm_query_answering_config.xml ./Test/univ-bench.query1.tptp



java -enableassertions  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -I ./Test/MyUniversityDB -c univ_db_query_answering_config.xml --print-index-performance-summary true ./Test/MyUniversityDB/lubm-style.query1.tptp



java -enableassertions  -Xss10m -jar ./target/alabai-2.2-SNAPSHOT-jar-with-dependencies.jar -I ./Test/MyUniversityDB -c univ_db_query_answering_config.xml --print-answers true --answer-format xml ./Test/MyUniversityDB/lubm-style.query1.tptp

About

License:Apache License 2.0


Languages

Language:Java 95.3%Language:Web Ontology Language 4.4%Language:Shell 0.3%Language:OpenEdge ABL 0.0%