Question: How is Max Fleischer who uses German related to chemist?
Choices:
occupation
performer
inspired by
operator
production designer
director/manager
tributary
licensed to broadcast to
is a list of
permanent resident of
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Max Fleischer" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "German" . ?e_2 <pred:name> "chemist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Max Fleischer
function: And
dependencies: 1
2
function: Find
inputs: chemist
function: QueryRelation
dependencies: 3
4