Question: Which has more employees, York University or Loughborough University?
Choices:
University of Manchester
York University
University of Tehran
McMaster University
Panjab University
Loughborough University
King's College London
Presidency University
Imperial College London
Pennsylvania State University
Program:
function: Find
inputs: York University
function: Find
inputs: Loughborough University
function: SelectBetween
dependencies: 0
1
inputs: employees
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "York University" .  } UNION { ?e <pred:name> "Loughborough University" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: York University