Question: What is the relationship between Roger Moore (the one whose floruit is 1977) to Hawaii (the one whose subreddit is Hawaii)?
Choices:
had as last meal
work location
residence
sibling
mother
screenwriter
narrator
replaced by
league
country of citizenship
Program:
function: Find
inputs: Roger Moore
function: FilterYear
dependencies: 0
inputs: floruit
1977
=
function: Find
inputs: Hawaii
function: FilterStr
dependencies: 2
inputs: subreddit
Hawaii
function: QueryRelation
dependencies: 1
3
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Moore" . ?e_1 <floruit> ?pv . ?pv <pred:year> 1977 . ?e_2 <pred:name> "Hawaii" . ?e_2 <subreddit> ?pv_1 . ?pv_1 <pred:value> "Hawaii" . ?e_1 ?p ?e_2 .  }
Answer: work location