Question: How is Michelle Williams who started working in 1989 related to heterosexuality?
Choices:
license
honorific suffix
had as last meal
vehicle normally used
place of birth
director
librettist
chief executive officer
sexual orientation
place of burial
Answer: sexual orientation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michelle Williams" . ?e_1 <work_period_(start)> ?pv . ?pv <pred:year> 1989 . ?e_2 <pred:name> "heterosexuality" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michelle Williams
function: FilterYear
dependencies: 0
inputs: work period (start)
1989
=
function: Find
inputs: heterosexuality
function: QueryRelation
dependencies: 1
2