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