Question: How many hip hop music renditions are the genre of Common or have an establishment that is after 1992?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "hip hop music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Common" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1992 ) .  } }
Program:
function: Find
inputs: Common
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: hip hop music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1992
>
function: FilterConcept
dependencies: 4
inputs: hip hop music
function: Or
dependencies: 2
5
function: Count
dependencies: 6