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