Question: What business has a beginning date that is after 1865 and total revenue that is not 201800000000000 South Korean won in the year 2015?
Choices:
eBay
PepsiCo
Sega
McDonald's
Lufthansa
Vodafone
Silver Pictures
Skidmore Owings Merrill
Samsung Electronics
KLM
Answer: Samsung Electronics
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1865 ) . ?e <total_revenue> ?pv_1 . ?pv_1 <pred:unit> "South Korean won" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "201800000000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2015 .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1865
>
function: FilterConcept
dependencies: 1
inputs: business
function: FindAll
function: FilterNum
dependencies: 3
inputs: total revenue
201800000000000 South Korean won
!=
function: QFilterYear
dependencies: 4
inputs: point in time
2015
=
function: FilterConcept
dependencies: 5
inputs: business
function: And
dependencies: 2
6
function: What
dependencies: 7