Question: How does James Arness relate to Purple Heart (the one that was received by James Arness) ?
Choices:
award received
soundtrack album
industry
capital
based on
official color
copyright holder
killed by
tributary
patron saint
Answer: award received
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Arness" . ?e_2 <pred:name> "Purple Heart" . ?e_3 <award_received> ?e_2 . ?e_3 <pred:name> "James Arness" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Arness
function: Find
inputs: James Arness
function: Relate
dependencies: 1
inputs: award received
forward
function: Find
inputs: Purple Heart
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4