Skip to content

thomasrebele/bashlog

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Answering Datalog Queries with Unix Shell Commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages