Question: What is the length of a river that is partially contained by South Dakota ?
Choices:
3767 kilometre
491 kilometre
5000 foot
140 kilometre
11095 foot
3444 metre
7001 foot
10885 foot
8400 foot
2400 kilometre
Answer: 3767 kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e_1 <partially_contains> ?e . ?e_1 <pred:name> "South Dakota" .  ?e <length> ?pv .  }
Program:
function: Find
inputs: South Dakota
function: Relate
dependencies: 0
inputs: partially contains
forward
function: FilterConcept
dependencies: 1
inputs: river
function: QueryAttr
dependencies: 2
inputs: length