Question: When did the revenue of a business set up in San Bernandino on 15th May 1940, reached its total revenue of 19,832,000,000 USD?
Choices:
1954-03-25
1792-01-01
2005
1777
1800
1766
1770
1806-12-01
1847-01-01
1725-01-01
Answer: 2005
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "San Bernardino" . [ <pred:fact_h> ?e ; <pred:fact_r> <location_of_formation> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:date> "1940-05-15"^^xsd:date . ?e <total_revenue> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "19832000000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: San Bernardino
function: Relate
dependencies: 0
inputs: location of formation
backward
function: QFilterDate
dependencies: 1
inputs: point in time
1940-05-15
=
function: FilterConcept
dependencies: 2
inputs: business
function: QueryAttrQualifier
dependencies: 3
inputs: total revenue
19832000000 United States dollar
point in time