Question: Does the Royal Academy of Music or the University of Waterloo have a larger student population?
Choices:
Panjab University
Royal Academy of Music
McMaster University
University of Michigan
San Diego State University
University of Waterloo
King's College London
University of Hamburg
University of Melbourne
University of Queensland
Program:
function: Find
inputs: Royal Academy of Music
function: Find
inputs: University of Waterloo
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Royal Academy of Music" .  } UNION { ?e <pred:name> "University of Waterloo" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Waterloo