Question: How many operating systems are the successors of Windows Vista or match a Second Intifada model item ?
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 <follows> ?e . ?e_1 <pred:name> "Windows Vista" .  } UNION { ?e_1 <model_item> ?e . ?e_1 <pred:name> "Second Intifada" .  } }
Program:
function: Find
inputs: Windows Vista
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: operating system
function: Find
inputs: Second Intifada
function: Relate
dependencies: 3
inputs: model item
forward
function: FilterConcept
dependencies: 4
inputs: operating system
function: Or
dependencies: 2
5
function: Count
dependencies: 6