Question: Which company has the smallest revenue between Google who goes by google on GitHub and Delta Air Lines?
Choices:
Delta Air Lines
Silver Pictures
Pfizer
Entertainment One
McDonald's
Adobe Inc.
Google
Vodafone
Skidmore Owings Merrill
Sega
Program:
function: Find
inputs: Google
function: FilterStr
dependencies: 0
inputs: GitHub username
google
function: Find
inputs: Delta Air Lines
function: SelectBetween
dependencies: 1
2
inputs: total revenue
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Google" . ?e <GitHub_username> ?pv_1 . ?pv_1 <pred:value> "google" . } UNION { ?e <pred:name> "Delta Air Lines" . } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Delta Air Lines