Question: Which has more students, Aligarh Muslim University or University of St Andrews?
Choices:
University of Manchester
University of Tehran
Presidency University
Pennsylvania State University
University of St Andrews
Aligarh Muslim University
McNeese State University
Imperial College London
McMaster University
Panjab University
Program:
function: Find
inputs: Aligarh Muslim University
function: Find
inputs: University of St Andrews
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aligarh Muslim University" .  } UNION { ?e <pred:name> "University of St Andrews" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aligarh Muslim University