Question: Which has the most students, Johns Hopkins University or the University of Tehran?
Choices:
Imperial College London
Pennsylvania State University
University of Tehran
McNeese State University
Panjab University
Presidency University
University of Manchester
King's College London
McMaster University
Johns Hopkins University
Program:
function: Find
inputs: Johns Hopkins University
function: Find
inputs: University of Tehran
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 Tehran" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Tehran