Question: Which city is located in Java (whose area is 128297 square kilometres)?
Choices:
Cork
Central Java
Javanese people
Kilkenny
East Java
Jakarta
Chengdu
Kingston
Leipzig
Trieste
Answer: Jakarta
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Java" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "128297"^^xsd:double .   }
Program:
function: Find
inputs: Java
function: FilterNum
dependencies: 0
inputs: area
128297 square kilometre
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3