Question: How many entertainment entities we acknowledge whose license is Windows Vista or whose title is Spider-Man ?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: Find
inputs: Windows Vista
function: Relate
dependencies: 0
inputs: license
backward
function: FilterConcept
dependencies: 1
inputs: entertainment
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Spider-Man
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <license> ?e_1 . ?e_1 <pred:name> "Windows Vista" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "Spider-Man" .  } }
Answer: 2