Question: Which has more students, Johns Hopkins University or University of Hamburg?
Choices:
University of Queensland
Johns Hopkins University
McMaster University
University of Melbourne
San Diego State University
Panjab University
University of Hamburg
King's College London
University of Michigan
University of Tasmania
Program:
function: Find
inputs: Johns Hopkins University
function: Find
inputs: University of Hamburg
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johns Hopkins University" .  } 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