Question: How many musical composition are titled Massachusetts or different from photography?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Massachusetts
function: FilterConcept
dependencies: 1
inputs: musical composition
function: Find
inputs: photography
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: musical composition
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> "musical composition" .  { ?e <title> ?pv . ?pv <pred:value> "Massachusetts" .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> "photography" .  } }
Answer: 1