Question: Does the University of California, San Diego have more students than the University of Hamburg or is it vice versa?
Choices:
University of Queensland
Panjab University
San Diego State University
University of Hamburg
University of Michigan
King's College London
University of Tasmania
McMaster University
University of California, San Diego
University of Melbourne
Program:
function: Find
inputs: University of California, San Diego
function: Find
inputs: University of Hamburg
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "University of California, San Diego" .  } UNION { ?e <pred:name> "University of Hamburg" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Hamburg