Question: Which area is smaller, Annapolis (the one that is the twinned administrative body of Tallinn) or Enid (the one whose official website is http://www.enid.org)?
Choices:
Compton
Waukegan
Greenville
Boulder
Annapolis
New Haven
Enid
Columbus
Oakland
Franklin
Program:
function: Find
inputs: Tallinn
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Annapolis
function: And
dependencies: 1
2
function: Find
inputs: Enid
function: FilterStr
dependencies: 4
inputs: official website
http://www.enid.org
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Annapolis" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Tallinn" . } UNION { ?e <pred:name> "Enid" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.enid.org" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Annapolis