Question: Is Indiana Jones and the Kingdom of the Crystal Skull the title of the film shot in Hampshire that borders the Isle of Wight?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Hampshire" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Isle of Wight" .  ?e <title> ?pv . ?pv <pred:value> "Indiana Jones and the Kingdom of the Crystal Skull" .  }
Program:
function: Find
inputs: Isle of Wight
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Hampshire
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: Indiana Jones and the Kingdom of the Crystal Skull