Question: Of all the water areas that have a basin in Croatia, which is the smallest in size?
Choices:
English Channel
Aegean Sea
North Sea
Mediterranean Sea
Wuthering Heights
Mark Twain
Caribbean Sea
Green Bay
San Diego
Adriatic Sea
Program:
function: Find
inputs: Croatia
function: Relate
dependencies: 0
inputs: basin country
backward
function: FilterConcept
dependencies: 1
inputs: water area
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "water area" . ?e <basin_country> ?e_1 . ?e_1 <pred:name> "Croatia" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adriatic Sea