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