Question: Which university has more students, Brandeis University or Swansea University?
Choices:
Birkbeck, University of London
Swansea University
University of Hamburg
University of Michigan
University of Melbourne
Brandeis University
King's College London
San Diego State University
University of Queensland
Panjab University
Program:
function: Find
inputs: Brandeis University
function: Find
inputs: Swansea University
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brandeis University" .  } UNION { ?e <pred:name> "Swansea University" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Swansea University