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