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