Question: How many operating systems influenced Windows XP or are the operating system of Mesa (whose programming language is C)?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "operating system" .  { ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "Windows XP" .  } UNION { ?e_1 <operating_system> ?e . ?e_1 <pred:name> "Mesa" . ?e_1 <programming_language> ?e_2 . ?e_2 <pred:name> "C" .  } }
Program:
function: Find
inputs: Windows XP
function: Relate
dependencies: 0
inputs: influenced by
forward
function: FilterConcept
dependencies: 1
inputs: operating system
function: Find
inputs: C
function: Relate
dependencies: 3
inputs: programming language
backward
function: Find
inputs: Mesa
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: operating system
forward
function: FilterConcept
dependencies: 7
inputs: operating system
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2