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