Question: What is the association between captain (that is followed by major) and major?
Choices: published in
mother
place of publication
facet of
item operated
followed by
father
fabrication method
geographic distribution
captain
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "captain" . ?e_3 <follows> ?e_1 . ?e_3 <pred:name> "major" . ?e_2 <pred:name> "major" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: major
function: Relate
dependencies: 0
inputs: follows
forward
function: Find
inputs: captain
function: And
dependencies: 1
2
function: Find
inputs: major
function: QueryRelation
dependencies: 3
4
Answer: followed by