Question: Which has more students, Princeton University or University of Adelaide?
Choices:
Princeton University
University of Michigan
Birkbeck, University of London
University of Melbourne
Panjab University
University of Queensland
McMaster University
University of Hamburg
King's College London
University of Adelaide
Program:
function: Find
inputs: Princeton University
function: Find
inputs: University of Adelaide
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Princeton University" .  } UNION { ?e <pred:name> "University of Adelaide" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Adelaide