Question: How many rock musics began after 1990 or are the genre of Kiss (whose inception time is 1973)?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1990 ) .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Kiss" . ?e_1 <inception> ?pv . ?pv <pred:year> 1973 .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1990
>
function: FilterConcept
dependencies: 1
inputs: rock music
function: Find
inputs: Kiss
function: FilterYear
dependencies: 3
inputs: inception
1973
=
function: Relate
dependencies: 4
inputs: genre
forward
function: FilterConcept
dependencies: 5
inputs: rock music
function: Or
dependencies: 2
6
function: Count
dependencies: 7