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