GDD-Nantes / FedShop

Code for FedShop: The Federated Shop Benchmark
GNU General Public License v3.0
8 stars 1 forks source link

Not the same behavior with debug mode and execution [semagrow] #49

Open Yotlan opened 1 year ago

Yotlan commented 1 year ago

This bug is about this line in engines/semagrow/rdf4j/src/main/java/org/semagrow/repository/SemagrowRepositoryResolver.java (line 80) :

RDFFormat format = Rio.getParserFormatForFileName(filename).get();

When we use the debug mode of Visual Studio Code, we get the following content:

But with the execution mode, we get the following content:

Yotlan commented 1 year ago

How to reproduce this bug ?

You need to go in engines/semagrow and enter this command :

java -classpath rdf4j/target/semagrow-rdf4j-2.2.1-jar-with-dependencies.jar:rdf4j/target/* org.semagrow.cli.CliMain repository.ttl http://localhost:34209/sparql ../../experiments/bsbm/benchmark/evaluation/semagrow/q07/instance_7/batch_0/attempt_0/results.txt ../../experiments/bsbm/benchmark/evaluation/semagrow/q07/instance_7/batch_0/attempt_0/source_selection.txt ../../experiments/bsbm/benchmark/evaluation/semagrow/q07/instance_7/batch_0/attempt_0/query_plan.txt ../../experiments/bsbm/benchmark/evaluation/semagrow/q07/instance_7/batch_0/attempt_0/stats.csv 120 metadata.ttl ../../experiments/bsbm/benchmark/generation/q07/instance_7/injected.sparql http://www.ratingsite0.fr/ http://www.ratingsite1.fr/ http://www.ratingsite2.fr/ http://www.ratingsite3.fr/ http://www.ratingsite4.fr/ http://www.ratingsite5.fr/ http://www.ratingsite6.fr/ http://www.ratingsite7.fr/ http://www.ratingsite8.fr/ http://www.ratingsite9.fr/ http://www.vendor0.fr/ http://www.vendor1.fr/ http://www.vendor2.fr/ http://www.vendor3.fr/ http://www.vendor4.fr/ http://www.vendor5.fr/ http://www.vendor6.fr/ http://www.vendor7.fr/ http://www.vendor8.fr/ http://www.vendor9.fr/
mhoangvslev commented 1 year ago