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