Question: How is Kate Walsh of Channel 5 related to television presenter?
Choices:
art director
educated at
risk factor
located on terrain feature
capital
head of state
godparent
occupation
cast member
parent astronomical body
Program:
function: Find
inputs: Channel 5
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Kate Walsh
function: And
dependencies: 1
2
function: Find
inputs: television presenter
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kate Walsh" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "Channel 5" . ?e_2 <pred:name> "television presenter" . ?e_1 ?p ?e_2 .  }
Answer: occupation