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