Question: Among the group of organisms known by one particular common name with heart rate is not 240 beats per minute, Which has the largest heart rate?
Choices:
Golden Retriever
sheep
cattle
Labrador Retriever
German Shepherd dog
bulldog
India
chicken
Yorkshire Terrier
goat
Answer: chicken
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "group of organisms known by one particular common name" . ?e <heart_rate> ?pv_1 . ?pv_1 <pred:unit> "beats per minute" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "240"^^xsd:double ) . ?e <heart_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: heart rate
240 beats per minute
!=
function: FilterConcept
dependencies: 1
inputs: group of organisms known by one particular common name
function: SelectAmong
dependencies: 2
inputs: heart rate
largest