Question: How many musical compositions either have the first line of Out on the wiley, windy moors or the ISWC of T-010.434.240-6?
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> "musical composition" .  { ?e <first_line> ?pv . ?pv <pred:value> "Out on the wiley, windy moors" .  } UNION { ?e <ISWC> ?pv . ?pv <pred:value> "T-010.434.240-6" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: first line
Out on the wiley, windy moors
function: FilterConcept
dependencies: 1
inputs: musical composition
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISWC
T-010.434.240-6
function: FilterConcept
dependencies: 4
inputs: musical composition
function: Or
dependencies: 2
5
function: Count
dependencies: 6