Question: What is the relation that Jim Carrey has with the 1994 release of Dumb and Dumber?
Choices:
office held by head of the organisation
programming language
business division
member of sports team
parent astronomical body
notable people with this condition
office contested
cast member
penalty
symptoms
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dumb and Dumber" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1994 . ?e_2 <pred:name> "Jim Carrey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dumb and Dumber
function: FilterYear
dependencies: 0
inputs: publication date
1994
=
function: Find
inputs: Jim Carrey
function: QueryRelation
dependencies: 1
2