Question: Does the University of Ottawa or Duke University have more students?
Choices:
Panjab University
Pennsylvania State University
Imperial College London
University of Manchester
King's College London
McNeese State University
Duke University
Presidency University
University of Ottawa
McMaster University
Program:
function: Find
inputs: University of Ottawa
function: Find
inputs: Duke University
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "University of Ottawa" .  } UNION { ?e <pred:name> "Duke University" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Ottawa