Answering Datalog Queries with Unix Shell Commands
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
module/bashlog-web
src
.gitattributes
.gitignore
LICENSE
README.md
exec.sh
pom.xml

README.md

bashlog

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.

How to run it locally

  1. Download bashlog-datalog.jar from the releases
  2. Write a datalog program (examples).
  3. Generate the script with java -jar bashlog-datalog.jar --query-file <datalog-program> -query-predicate <predicate> > query.sh
  4. Execute it with bash query.sh > result.txt

References

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}
}