Question: About Titanic, which has a duration of 194 minutes, does it have a review score equal to 3.5/4 (this statement reviewer was Gene Siskel)
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Titanic" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "194"^^xsd:double . ?e <review_score> ?pv . ?pv <pred:value> "3.5/4" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv . ?qpv <pred:value> "Gene Siskel" .  }
Program:
function: Find
inputs: Titanic
function: FilterNum
dependencies: 0
inputs: duration
194 minute
=
function: QueryAttrUnderCondition
dependencies: 1
inputs: review score
review score by
Gene Siskel
function: VerifyStr
dependencies: 2
inputs: 3.5/4
Answer: yes