Question: What is the connection between William James (the one whose British Museum person-institution is 148914) to politician?
Choices: original network
contributor(s) to the creative work
operating system
patron saint
film crew member
capital of
league
occupation
allegiance
enclave within
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William James" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> "148914" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William James
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
148914
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
Answer: occupation