Question: How is Ed Wood the film producer connected to the United States Marine Corps?
Choices: location of formation
candidate
librettist
political ideology
military branch
hair color
diplomatic relation
registered with
original film format
commander of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ed Wood" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" . ?e_2 <pred:name> "United States Marine Corps" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Ed Wood
function: And
dependencies: 1
2
function: Find
inputs: United States Marine Corps
function: QueryRelation
dependencies: 3
4
Answer: military branch