Question: What is the relation between Lincoln (the one that has Jared Harris as a cast member) and Hal Holbrook?
Choices: office held by head of the organisation
rector
medical treatment
coextensive with
update method
significant event
cast member
parent astronomical body
risk factor
airline hub
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lincoln" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jared Harris" . ?e_2 <pred:name> "Hal Holbrook" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jared Harris
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Lincoln
function: And
dependencies: 1
2
function: Find
inputs: Hal Holbrook
function: QueryRelation
dependencies: 3
4
Answer: cast member