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