Question: In Wichata (postal code is 67260) how many subsidiary companies have legal agents?
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> "subsidiary company" . ?e <legal_form> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_1 <location_of_formation> ?e_2 . ?e_2 <pred:name> "Wichita" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "67260" .   }
Program:
function: Find
inputs: Wichita
function: FilterStr
dependencies: 0
inputs: postal code
67260
function: Relate
dependencies: 1
inputs: location of formation
backward
function: FilterConcept
dependencies: 2
inputs: agent
function: Relate
dependencies: 3
inputs: legal form
backward
function: FilterConcept
dependencies: 4
inputs: subsidiary company
function: Count
dependencies: 5
Answer: 0