Question: Does University of Detroit Mercy or University of St Andrews have greater number of students ?
Choices:
University of Detroit Mercy
University of Manchester
University of Tehran
McNeese State University
King's College London
Panjab University
Imperial College London
University of St Andrews
Presidency University
Pennsylvania State University
Program:
function: Find
inputs: University of Detroit Mercy
function: Find
inputs: University of St Andrews
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "University of Detroit Mercy" .  } UNION { ?e <pred:name> "University of St Andrews" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of St Andrews