Question: Which one has fewer students, the University of Birmingham or the University of Ottawa?
Choices:
Pennsylvania State University
Presidency University
University of Ottawa
University of Tehran
King's College London
University of Birmingham
McMaster University
University of Manchester
McNeese State University
Panjab University
Program:
function: Find
inputs: University of Birmingham
function: Find
inputs: University of Ottawa
function: SelectBetween
dependencies: 0
1
inputs: students count
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "University of Birmingham" .  } UNION { ?e <pred:name> "University of Ottawa" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: University of Birmingham