Question: Which one of the geographic regions, whose width is over 150 km, is the widest ?
Choices:
South America
Andes
Lake District
Pacific Ocean
Transylvania
Rocky Mountains
Atlantic Canada
Piedmont
Southern California
Antarctica
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: width
150 kilometre
>
function: FilterConcept
dependencies: 1
inputs: geographic region
function: SelectAmong
dependencies: 2
inputs: width
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <width> ?pv_1 . ?pv_1 <pred:unit> "kilometre" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "150"^^xsd:double ) . ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rocky Mountains