Implementation of two algorithms for Façade-X BGP satisfiability.
Top down / Search: AnalyserAsSearch (inefficient)
Bottom up / CSP: AnalyserGrounder (efficient)
See EXPERIMENTS.md for an example of output.
Building or running tests with maven will also re-generate the file EXPERIMENTS.md
mvn clean install
or
mvn test
Use the script runAll.sh to generate 10 execution files EXPERIMENTS-run-N
.md/.csv
The script was tested only on a MacBook Pro environment.
We use SPARQL Anything, fx
stands for java -jar -Xmx=4g sparql-anything-v1.0.0.jar
:
fx -q experiments-tables.sparql -v algorithm=T -v complete=false -o "TopDown_Satisfiability.csv"
fx -q experiments-tables.sparql -v algorithm=T -v complete=true -o "TopDown_SolutionPatterns.csv"
fx -q experiments-tables.sparql -v algorithm=B -v complete=false -o "BottomUp_Satisfiability.csv"
fx -q experiments-tables.sparql -v algorithm=B -v complete=true -o "BottomUp_SolutionPatterns.csv"