All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bigdata.rdf.sparql.ast.eval.rto.BSBM-Q10.rq Maven / Gradle / Ivy

There is a newer version: 2.1.4
Show newest version
# BSBM Q10 on pc100.

PREFIX bsbm: 
PREFIX xsd:  
PREFIX dc: 

SELECT DISTINCT ?offer ?price
WHERE {

  # Control all RTO parameters for repeatable behavior.
  hint:Query hint:optimizer "Runtime".
  hint:Query hint:RTO-sampleType "DENSE".
  hint:Query hint:RTO-limit "100".
  hint:Query hint:RTO-nedges "1".

   ?offer bsbm:product  .
   ?offer bsbm:vendor ?vendor .
    ?offer dc:publisher ?vendor .
   ?vendor bsbm:country  .
   ?offer bsbm:deliveryDays ?deliveryDays .
   FILTER (?deliveryDays <= 3)
   ?offer bsbm:price ?price .
    ?offer bsbm:validTo ?date .
    FILTER (?date > "2008-06-20T00:00:00"^^ )
}
ORDER BY xsd:double(str(?price))
LIMIT 10




© 2015 - 2024 Weber Informatics LLC | Privacy Policy