Question: What are the number of pop music that is the genre of Matt Frewer or whose inception time is after 1963 ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "pop music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Matt Frewer" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1963 ) .  } }
Program:
function: Find
inputs: Matt Frewer
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: pop music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1963
>
function: FilterConcept
dependencies: 4
inputs: pop music
function: Or
dependencies: 2
5
function: Count
dependencies: 6