Question: Which has more students, University of Oregon or Lafayette College?
Choices:
Lafayette College
Scottish Church College
Williams College
Grinnell College
Barnard College
Trinity College
Colorado College
Hampshire College
Denison University
Clark University
Program:
function: Find
inputs: University of Oregon
function: Find
inputs: Lafayette College
function: SelectBetween
dependencies: 0
1
inputs: students count
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "University of Oregon" .  } UNION { ?e <pred:name> "Lafayette College" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lafayette College