Question: What is the link between the German Army loyal to Nazi Germany and Wehrmacht?
Choices:
screenwriter
illustrator
voice type
vehicle normally used
field of work
winner
parent organization
official religion
penalty
enclave within
Answer: parent organization
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "German Army" . ?e_1 <allegiance> ?e_3 . ?e_3 <pred:name> "Nazi Germany" . ?e_2 <pred:name> "Wehrmacht" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nazi Germany
function: Relate
dependencies: 0
inputs: allegiance
backward
function: Find
inputs: German Army
function: And
dependencies: 1
2
function: Find
inputs: Wehrmacht
function: QueryRelation
dependencies: 3
4