Question: What is the connection between The Lord of the Rings: The Two Towers (whose release territory is Uruguay) and Lithuania?
Choices:
location of formation
dedicated to
member of
home world
hair color
film release region
parent club
librettist
official language
family name
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lord of the Rings: The Two Towers" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Uruguay" . ?e_2 <pred:name> "Lithuania" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Uruguay
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lord of the Rings: The Two Towers
function: And
dependencies: 1
2
function: Find
inputs: Lithuania
function: QueryRelation
dependencies: 3
4