Question: Which has the most area among the states that have a diplomatic relation with the European Union?
Choices:
Denmark
Moldova
Kazakhstan
Luxembourg
Liechtenstein
Cuba
Kosovo
Fiji
Monaco
Tajikistan
Program:
function: Find
inputs: European Union
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "European Union" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kazakhstan