Question: Which geographic region partly includes the mountain range longer than 700 miles?
Choices:
New England
Florida Keys
Maine
Ohio
East River
New Brunswick
Massachusetts
West Virginia
Connecticut
Southern California
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: length
700 mile
>
function: FilterConcept
dependencies: 1
inputs: mountain range
function: Relate
dependencies: 2
inputs: partially contains
backward
function: FilterConcept
dependencies: 3
inputs: geographic region
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <partially_contains> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "mountain range" . ?e_1 <length> ?pv . ?pv <pred:unit> "mile" . ?pv <pred:value> ?v . FILTER ( ?v > "700"^^xsd:double ) .   }
Answer: New England