Question: How many softwares are either a model item software or came after Windows XP?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "software" .  { ?e_1 <model_item> ?e . ?e_1 <pred:name> "software" .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "Windows XP" .  } }
Program:
function: Find
inputs: software
function: Relate
dependencies: 0
inputs: model item
forward
function: FilterConcept
dependencies: 1
inputs: software
function: Find
inputs: Windows XP
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: software
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3