Question: Of all the county towns that are in or near the River Thames, which has the largest area?
Choices:
Maidstone
Warwick
Guildford
Oxford
Northampton
Reading
Bedford
Dorchester
Ipswich
Aylesbury
Answer: Oxford
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county town" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "River Thames" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: River Thames
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 1
inputs: county town
function: SelectAmong
dependencies: 2
inputs: area
largest