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