Question: How many airlines are in Germany or that sponsor the Chicago Bulls?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "airline" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Germany" .  } UNION { ?e_1 <sponsor> ?e . ?e_1 <pred:name> "Chicago Bulls" .  } }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: airline
function: Find
inputs: Chicago Bulls
function: Relate
dependencies: 3
inputs: sponsor
forward
function: FilterConcept
dependencies: 4
inputs: airline
function: Or
dependencies: 2
5
function: Count
dependencies: 6