Question: What relation does Boys Don't Cry have to Peter Sarsgaard?
Choices:
cast member
dialect of
contributor(s) to the creative work
award disciplines or subjects
licensed to broadcast to
godparent
update method
place of birth
works in collection
official language
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Boys Don't Cry" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Christine Vachon" . ?e_2 <pred:name> "Peter Sarsgaard" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Christine Vachon
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Boys Don't Cry
function: And
dependencies: 1
2
function: Find
inputs: Peter Sarsgaard
function: QueryRelation
dependencies: 3
4