Question: How many economic branches make up the product or material produced by a public company headquartered in Seattle until 1st September 2001 ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "economic branch" . ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "public company" . ?e_1 <headquarters_location> ?e_2 . ?e_2 <pred:name> "Seattle" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv . ?qpv <pred:date> "2001-09-01"^^xsd:date .   }
Program:
function: Find
inputs: Seattle
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: QFilterDate
dependencies: 1
inputs: end time
2001-09-01
=
function: FilterConcept
dependencies: 2
inputs: public company
function: Relate
dependencies: 3
inputs: product or material produced
forward
function: FilterConcept
dependencies: 4
inputs: economic branch
function: Count
dependencies: 5
Answer: 1