Question: What is the number of operating systems that are the Transformers: Dark of the Moon (the one that is meant for Wii) platform.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "operating system" . ?e_1 <platform> ?e . ?e_1 <pred:name> "Transformers: Dark of the Moon" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "Wii" .   }
Program:
function: Find
inputs: Wii
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Transformers: Dark of the Moon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: platform
forward
function: FilterConcept
dependencies: 4
inputs: operating system
function: Count
dependencies: 5