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

com.bigdata.rdf.sparql.ast.eval.query-hints-05.rq Maven / Gradle / Ivy

There is a newer version: 2.1.4
Show newest version
PREFIX rdf:  
PREFIX rdfs: 
PREFIX foaf: 

SELECT ?x ?o
WHERE {

  # disable join order optimizer
  hint:Group hint:optimizer "None" .

  # One-bound using P___ index.
  ?x rdfs:label ?o .

  # Two-bound.  Uses POCS index by default, which is optimal.
  ?x rdf:type foaf:Person .

  # Request a hash join against the statement index.
  hint:Prior hint:hashJoin "true" .

  # Override the statement index.
  hint:Prior hint:com.bigdata.bop.IPredicate.keyOrder "PCSO" .

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy