Question: What is the connection between John Davis whose British Museum person-institution is 203983 and lawyer?
Choices:
member of
general manager
ethnic group
affiliation
family name
eye color
occupation
main subject
narrative role
airline hub
Program:
function: Find
inputs: John Davis
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
203983
function: Find
inputs: lawyer
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> "203983" . ?e_2 <pred:name> "lawyer" . ?e_1 ?p ?e_2 .  }
Answer: occupation