Question: What is the relation between Transformers: Dark of the Moon (the one whose release region was Taiwan) and Shia LaBeouf?
Choices:
territory claimed by
has quality
set in period
kit supplier
member of sports team
make-up artist
office held by head of the organisation
part of
member of
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Transformers: Dark of the Moon" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Taiwan" . ?e_2 <pred:name> "Shia LaBeouf" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Transformers: Dark of the Moon
function: And
dependencies: 1
2
function: Find
inputs: Shia LaBeouf
function: QueryRelation
dependencies: 3
4