Question: What does Michael Kahn (who is educated at Columbia University) have to do with Brooklyn (the birthplace of Maurice Sendak)?
Choices:
family name
official religion
doctoral student
exclave of
place of birth
has part
publisher
voice actor
talk show guest
use
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Kahn" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Columbia University" . ?e_2 <pred:name> "Brooklyn" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Maurice Sendak" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Columbia University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Michael Kahn
function: And
dependencies: 1
2
function: Find
inputs: Maurice Sendak
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7