Question: How is CNN worker Tom Johnson related to Harvard University?
Choices:
officeholder
production company
cast member
student of
heritage designation
statistical leader
killed by
educated at
business division
use
Program:
function: Find
inputs: CNN
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 1
2
function: Find
inputs: Harvard University
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Johnson" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "CNN" . ?e_2 <pred:name> "Harvard University" . ?e_1 ?p ?e_2 .  }
Answer: educated at