Question: Was the cost greater than 15000000 USD for Star Trek whose narrative location is Riverside?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Star Trek" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Riverside" .  ?e <cost> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v > "15000000"^^xsd:double ) .  }
Program:
function: Find
inputs: Riverside
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: cost
function: VerifyNum
dependencies: 4
inputs: 15000000 United States dollar
>