Question: What is the connection between Heroes, with Ali Larter as a cast member, and Tokyo, with an area of 2187.66 square kilometres?
Choices:
is a list of
educated at
afflicts
owner of
place served by transport hub
heritage designation
narrative location
creator
opposite of
model item
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heroes" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ali Larter" . ?e_2 <pred:name> "Tokyo" . ?e_2 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "2187.66"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ali Larter
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: Find
inputs: Tokyo
function: FilterNum
dependencies: 4
inputs: area
2187.66 square kilometre
=
function: QueryRelation
dependencies: 3
5