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