GDD-Nantes / FedShop

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

Randomly selected constant for "$!" operator #12

Closed mhoangvslev closed 1 year ago

mhoangvslev commented 1 year ago

In query q03 and q04, "$!" is used:

# const ?ProductFeature2 $! ?ProductFeature1
?localProduct bsbm:productFeature ?localProductFeature2 .
?localProductFeature2 owl:sameAs ?ProductFeature2 .

Sometimes the chosen constant for ?ProductFeature2 is the same for ?ProductFeature1.

mhoangvslev commented 1 year ago

In query.py, the injection_cache is saved after shortening the selected constant. This step should be done before the shortening so that the values in the cache are the same as in value_selection table.