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