Question: What is the number of economic branches that use train and are the industry that Walmart is a part of?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "economic branch" . ?e_1 <use> ?e . ?e_1 <pred:name> "train" .  ?e_2 <industry> ?e . ?e_2 <pred:name> "Walmart" .  }
Program:
function: Find
inputs: train
function: Relate
dependencies: 0
inputs: use
forward
function: FilterConcept
dependencies: 1
inputs: economic branch
function: Find
inputs: Walmart
function: Relate
dependencies: 3
inputs: industry
forward
function: FilterConcept
dependencies: 4
inputs: economic branch
function: And
dependencies: 2
5
function: Count
dependencies: 6