Question: What is the connection between Rambo III to Rambo (the one whose production company is 20th Century Fox)?
Choices:
followed by
famous people
place of publication
theme music
operator
religion
exclave of
office held by head of state
had as last meal
shares border with
Answer: followed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rambo III" . ?e_2 <pred:name> "Rambo" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rambo III
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Rambo
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4