Question: Which river in Montana, native label State of Montana, has a discharge rate different from 12000 cubic meters a second?
Choices: Hudson River
Missouri River
Columbia River
Amazon
Michel Legrand
River Thames
Rhine
Mississippi River
Danube
Ohio River
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Montana" . ?e_1 <native_label> ?pv . ?pv <pred:value> "State of Montana" .  ?e <discharge> ?pv_1 . ?pv_1 <pred:unit> "cubic metre per second" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "12000"^^xsd:double ) .  }
Program:
function: Find
inputs: Montana
function: FilterStr
dependencies: 0
inputs: native label
State of Montana
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: river
function: FindAll
function: FilterNum
dependencies: 4
inputs: discharge
12000 cubic metre per second
!=
function: FilterConcept
dependencies: 5
inputs: river
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Missouri River