Question: How many softwares either have an official website at http://www.apple.com/at/ios/ or has a Windows Vista edition?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "software" .  { ?e <official_website> ?pv . ?pv <pred:value> "https://www.apple.com/at/ios/" .  } UNION { ?e_1 <edition_or_translation_of> ?e . ?e_1 <pred:name> "Windows Vista" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.apple.com/at/ios/
function: FilterConcept
dependencies: 1
inputs: software
function: Find
inputs: Windows Vista
function: Relate
dependencies: 3
inputs: edition or translation of
forward
function: FilterConcept
dependencies: 4
inputs: software
function: Or
dependencies: 2
5
function: Count
dependencies: 6