Question: Is Republican Party member Chuck Connors lighter in weight, or is Theofanis Gekas?
Choices:
Max Fleischer
Simon Cowell
Chuck Connors
David Byrne
Sylvester Stallone
Theofanis Gekas
Richard Gere
Paul Simon
Rahul Dev Burman
James E. Reilly
Program:
function: Find
inputs: Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Chuck Connors
function: And
dependencies: 1
2
function: Find
inputs: Theofanis Gekas
function: SelectBetween
dependencies: 3
4
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chuck Connors" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> "Republican Party" .   } UNION { ?e <pred:name> "Theofanis Gekas" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Theofanis Gekas