Question: How many in soul music are in the genre of Michael McDonald (the one whose ISNI is 0000 0000 8189 4122) or have the inception time before 1965?
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> "soul music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Michael McDonald" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 8189 4122" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  } }
Program:
function: Find
inputs: Michael McDonald
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 8189 4122
function: Relate
dependencies: 1
inputs: genre
forward
function: FilterConcept
dependencies: 2
inputs: soul music
function: FindAll
function: FilterYear
dependencies: 4
inputs: inception
1965
<
function: FilterConcept
dependencies: 5
inputs: soul music
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 3