Question: How many forms of pop music are components of progressive bluegrass or are famously associated with Taylor Swift?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "pop music" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "progressive bluegrass" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Taylor Swift" .  } }
Program:
function: Find
inputs: progressive bluegrass
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: pop music
function: Find
inputs: Taylor Swift
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: pop music
function: Or
dependencies: 2
5
function: Count
dependencies: 6