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

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

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

PREFIX bsbm-inst: 
PREFIX bsbm: 
PREFIX rdfs: 
PREFIX rdf: 

SELECT DISTINCT ?product ?label ?propertyTextual
WHERE {

    { 

  # Note: The RTO is only applied to one of the join groups to make the
  # test code simpler.
  #
  # Control all RTO parameters for repeatable behavior.
  hint:Group hint:optimizer "Runtime".
  hint:Group hint:RTO-sampleType "DENSE".
  hint:Group hint:RTO-limit "100".
  hint:Group hint:RTO-nedges "1".

       ?product rdfs:label ?label .
       ?product rdf:type  .
       ?product bsbm:productFeature  .
      ?product bsbm:productFeature  .
       ?product bsbm:productPropertyTextual1 ?propertyTextual .
      ?product bsbm:productPropertyNumeric1 ?p1 .
      FILTER ( ?p1 > 217 )
    } UNION {
       ?product rdfs:label ?label .
       ?product rdf:type  .
       ?product bsbm:productFeature  .
      ?product bsbm:productFeature  .
       ?product bsbm:productPropertyTextual1 ?propertyTextual .
      ?product bsbm:productPropertyNumeric2 ?p2 .
      FILTER ( ?p2> 124 ) 
    } 
}
ORDER BY ?label
OFFSET 5
LIMIT 10




© 2015 - 2024 Weber Informatics LLC | Privacy Policy