Question: What is the number of video game console models that are produced by McDonald's or form the basis for Cars (that is released for Wii)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: McDonald's
function: Relate
dependencies: 0
inputs: manufacturer
backward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: Find
inputs: Wii
function: Relate
dependencies: 3
inputs: platform
backward
function: Find
inputs: Cars
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: platform
forward
function: FilterConcept
dependencies: 7
inputs: video game console model
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" .  { ?e <manufacturer> ?e_1 . ?e_1 <pred:name> "McDonald's" .  } UNION { ?e_1 <platform> ?e . ?e_1 <pred:name> "Cars" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "Wii" .  } }
Answer: 3