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