Question: Which university has more students, Villanova University or Harvard University?
Choices:
Harvard University
Villanova University
University of Chicago
Carnegie Institute of Technology
Valparaiso University
Yale University
Texas Christian University
Bradley University
Ateneo de Manila University
American University of Beirut
Program:
function: Find
inputs: Villanova University
function: Find
inputs: Harvard University
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Villanova University" .  } UNION { ?e <pred:name> "Harvard University" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harvard University