Question: What is the connection between Roger Moore (the one that has the occupation of basketball coach) to Roger Moore (the one that is an ethnic group of English people)?
Choices:
production company
different from
place of birth
licensed to broadcast to
worshipped by
studied by
published in
candidacy in election
killed by
parent astronomical body
Program:
function: Find
inputs: basketball coach
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: Find
inputs: English people
function: Relate
dependencies: 4
inputs: ethnic group
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Moore" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "basketball coach" . ?e_2 <pred:name> "Roger Moore" . ?e_2 <ethnic_group> ?e_4 . ?e_4 <pred:name> "English people" . ?e_1 ?p ?e_2 .  }
Answer: different from