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