Question: Which has more students, Auburn University or University of California, Berkeley?
Choices:
University of California, Berkeley
University of Maine
Iowa State University
University of Idaho
Kansas State University
University of Arkansas
Virginia Tech
North Dakota State University
Auburn University
Montana State University - Bozeman
Program:
function: Find
inputs: Auburn University
function: Find
inputs: University of California, Berkeley
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Auburn University" .  } UNION { ?e <pred:name> "University of California, Berkeley" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of California, Berkeley