Question: What is the geographic region whose width is 500 kilometres and whose country is Bolivia?
Choices:
South America
Piedmont
Pacific Ocean
Caribbean
Southern California
Africa
Antarctica
Andes
Atlantic Canada
Lake District
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: width
500 kilometre
=
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Bolivia
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <width> ?pv . ?pv <pred:unit> "kilometre" . ?pv <pred:value> "500"^^xsd:double . ?e <country> ?e_1 . ?e_1 <pred:name> "Bolivia" .  }
Answer: Andes