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