Question: Mars, the guardian of agriculture, is related in what way to agriculture?
Choices:
domain of saint or deity
sex or gender
ethnic group
director
properties for this type
facet of
operator
shares border with
interested in
chief executive officer
Answer: domain of saint or deity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mars" . ?e_1 <domain_of_saint_or_deity> ?e_3 . ?e_3 <pred:name> "agriculture" . ?e_2 <pred:name> "agriculture" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: agriculture
function: Relate
dependencies: 0
inputs: domain of saint or deity
backward
function: Find
inputs: Mars
function: And
dependencies: 1
2
function: Find
inputs: agriculture
function: QueryRelation
dependencies: 3
4