This tool translates datalog programs to Unix bash scripts. It can be used to preprocess large tabular datasets. Please have a look at the technical report if you are interested how it works. You can also try it online.
- Download bashlog-datalog.jar from the releases
- Write a datalog program (examples).
- Generate the script with
java -jar bashlog-datalog.jar --query-file <datalog-program> --query-pred <predicate> > query.sh
- Execute it with
bash query.sh > result.txt
If you use bashlog in your research, please cite:
@inproceedings{bashlog,
author = {Thomas Rebele and Thomas Pellissier Tanon and Fabian M. Suchanek},
title = {Bash Datalog: Answering Datalog Queries with Unix Shell Commands},
booktitle = {International Semantic Web Conference},
pages = {566--582},
year = {2018}
}