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