Question: Which has fewer students, University of Chicago or York University?
Choices:
Yale University
Carnegie Institute of Technology
Bradley University
Valparaiso University
Boston University School of Law
University of Chicago
York University
Texas Christian University
American University of Beirut
Ateneo de Manila University
Program:
function: Find
inputs: University of Chicago
function: Find
inputs: York University
function: SelectBetween
dependencies: 0
1
inputs: students count
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "University of Chicago" .  } UNION { ?e <pred:name> "York University" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: University of Chicago