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