Question: How is Eragon (the one that origins from Hungary) related to Robert Carlyle ?
Choices: separated from
languages spoken, written or signed
cast member
occupant
soundtrack album
dedicated to
followed by
political alignment
programming paradigm
draft pick from school
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Eragon" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Hungary" . ?e_2 <pred:name> "Robert Carlyle" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hungary
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Eragon
function: And
dependencies: 1
2
function: Find
inputs: Robert Carlyle
function: QueryRelation
dependencies: 3
4
Answer: cast member