Question: Is the cost of a movie that Terminator Salvation (the one whose genre is third-person shooter) was based on, more than 340 million Indian Rupees ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Terminator Salvation" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "third-person shooter" .  ?e <cost> ?pv . ?pv <pred:unit> "Indian rupee" . ?pv <pred:value> ?v . FILTER ( ?v > "340000000"^^xsd:double ) .  }
Program:
function: Find
inputs: third-person shooter
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Terminator Salvation
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttr
dependencies: 5
inputs: cost
function: VerifyNum
dependencies: 6
inputs: 340000000 Indian rupee
>