Question: How is the William James whose native language name is William James related to the profession of psychologist?
Choices:
taxon rank
architect
honorific prefix
occupation
risk factor
culture
located in or next to body of water
godparent
follows
twinned administrative body
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William James" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "William James" . ?e_2 <pred:name> "psychologist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William James
function: FilterStr
dependencies: 0
inputs: name in native language
William James
function: Find
inputs: psychologist
function: QueryRelation
dependencies: 1
2