Question: Does a chicken (the main subject of Chicken Run) or a goat have a higher heart rate?
Choices:
German Shepherd dog
goat
Golden Retriever
bulldog
chicken
India
sheep
Yorkshire Terrier
Labrador Retriever
cattle
Answer: chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "chicken" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Chicken Run" .   } UNION { ?e <pred:name> "goat" .  } ?e <heart_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chicken Run
function: Relate
dependencies: 0
inputs: main subject
forward
function: Find
inputs: chicken
function: And
dependencies: 1
2
function: Find
inputs: goat
function: SelectBetween
dependencies: 3
4
inputs: heart rate
greater