com.bigdata.rdf.sparql.ast.eval.rto.BSBM-Q8.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bigdata-rdf-test Show documentation
Show all versions of bigdata-rdf-test Show documentation
Blazegraph(TM) RDF Test Suites
# BSBM Q8 on pc100.
PREFIX bsbm:
PREFIX dc:
PREFIX rev:
PREFIX foaf:
SELECT (COUNT(*) as ?count)
#SELECT ?title ?text ?reviewDate ?reviewer ?reviewerName ?rating1 ?rating2 ?rating3 ?rating4
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".
?review bsbm:reviewFor .
?review dc:title ?title .
?review rev:text ?text .
FILTER langMatches( lang(?text), "EN" )
?review bsbm:reviewDate ?reviewDate .
?review rev:reviewer ?reviewer .
?reviewer foaf:name ?reviewerName .
OPTIONAL { ?review bsbm:rating1 ?rating1 . }
OPTIONAL { ?review bsbm:rating2 ?rating2 . }
OPTIONAL { ?review bsbm:rating3 ?rating3 . }
OPTIONAL { ?review bsbm:rating4 ?rating4 . }
}
ORDER BY DESC(?reviewDate)
LIMIT 20
© 2015 - 2024 Weber Informatics LLC | Privacy Policy