Question: What is the connection between Roger Moore (the one whose date of death is 1977-11-30) to basketball coach?
Choices:
software engine
office held by head of government
dissertation submitted to
used by
original language of film or TV show
occupation
general manager
place of birth
has edition
member of sports team
Program:
function: Find
inputs: Roger Moore
function: FilterDate
dependencies: 0
inputs: date of death
1977-11-30
=
function: Find
inputs: basketball coach
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Moore" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1977-11-30"^^xsd:date . ?e_2 <pred:name> "basketball coach" . ?e_1 ?p ?e_2 .  }
Answer: occupation