Question: Of counties in Ireland, country of Fine Gael, which occupies the greatest space?
Choices:
County Monaghan
County Galway
County Roscommon
County Wicklow
County Donegal
County Sligo
County Mayo
County Dublin
County Cork
County Meath
Answer: County Cork
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e <country> ?e_1 . ?e_1 <pred:name> "Ireland" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "Fine Gael" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fine Gael
function: Relate
dependencies: 0
inputs: country
forward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: SelectAmong
dependencies: 5
inputs: area
largest