Question: How many in jazz use John Osborne's instrument  (the one whose date of birth is 1844) or have an inception time after 1955?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "jazz" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> "John Osborne" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1844 .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1955 ) .  } }
Program:
function: Find
inputs: John Osborne
function: FilterYear
dependencies: 0
inputs: date of birth
1844
=
function: Relate
dependencies: 1
inputs: instrument
forward
function: FilterConcept
dependencies: 2
inputs: jazz
function: FindAll
function: FilterYear
dependencies: 4
inputs: inception
1955
>
function: FilterConcept
dependencies: 5
inputs: jazz
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 6