Question: When did a business, headquartered in Prague (the one that is the twinned administrative body of Madrid), on 4a street number, reach the net profit of 82380000 Czech Koruna?
Choices:
2015
2002-12-01
350
2013-06-30
1800-12-01
1972-04-10
1963-04-08
2005-12-31
1859
2017-09-05
Answer: 2015
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Prague" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Madrid" . [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <street_number> ?qpv_1 . ?qpv_1 <pred:value> "4a" . ?e <net_profit> ?pv . ?pv <pred:unit> "Czech koruna" . ?pv <pred:value> "82380000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_profit> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Madrid
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Prague
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: QFilterStr
dependencies: 4
inputs: street number
4a
function: FilterConcept
dependencies: 5
inputs: business
function: QueryAttrQualifier
dependencies: 6
inputs: net profit
82380000 Czech koruna
point in time