Question: Which university has fewer students, University of California, Berkeley or University of Minnesota?
Choices:
Iowa State University
North Carolina Agricultural and Technical State University
University of Arkansas
University of Maine
North Dakota State University
University of Minnesota
Virginia Tech
Montana State University - Bozeman
University of California, Berkeley
Kansas State University
Program:
function: Find
inputs: University of California, Berkeley
function: Find
inputs: University of Minnesota
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 Minnesota" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Minnesota