Question: What is the connection between William Shakespeare (the one whose British Museum person-institution is 46005) to playwright?
Choices:
language used
member of sports team
original language of film or TV show
capital
home venue
medical treatment
worshipped by
season starts
occupation
successful candidate
Program:
function: Find
inputs: William Shakespeare
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
46005
function: Find
inputs: playwright
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Shakespeare" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> "46005" . ?e_2 <pred:name> "playwright" . ?e_1 ?p ?e_2 .  }
Answer: occupation