Question: Which Ireland county in the country of Ireland (whose marriageable age is 18 years old) has the largest area?
Choices:
County Galway
County Roscommon
County Cork
County Waterford
County Clare
County Kerry
County Meath
County Sligo
County Limerick
County Tipperary
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_1 <marriageable_age> ?pv_1 . ?pv_1 <pred:unit> "years old" . ?pv_1 <pred:value> "18"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ireland
function: FilterNum
dependencies: 0
inputs: marriageable age
18 years old
=
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: county of Ireland
function: SelectAmong
dependencies: 3
inputs: area
largest