Question: Among independent cities located in Virginia (the one that is the burial place of Douglas MacArthur), which one covers the largest area ?
Choices:
Suffolk
Virginia Beach
Richmond
Norfolk
Hampton
Danville
Petersburg
Winchester
Falls Church
Alexandria
Answer: Virginia Beach
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Virginia" . ?e_2 <place_of_burial> ?e_1 . ?e_2 <pred:name> "Douglas MacArthur" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Douglas MacArthur
function: Relate
dependencies: 0
inputs: place of burial
forward
function: Find
inputs: Virginia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: independent city
function: SelectAmong
dependencies: 5
inputs: area
largest