Question: How many software programs are followed by iOS and include Microsoft Windows as a component?
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> "software" . ?e_1 <follows> ?e . ?e_1 <pred:name> "iOS" .  ?e <has_part> ?e_2 . ?e_2 <pred:name> "Microsoft Windows" .  }
Program:
function: Find
inputs: iOS
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: software
function: Find
inputs: Microsoft Windows
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: software
function: And
dependencies: 2
5
function: Count
dependencies: 6