Question: How many pieces of popular music come from the USA or inspired contemporary worship music ?
Choices:
84
85
86
87
88
89
90
91
92
93
Answer: 87
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e_1 <inspired_by> ?e . ?e_1 <pred:name> "contemporary worship music" .  } }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: popular music
function: Find
inputs: contemporary worship music
function: Relate
dependencies: 3
inputs: inspired by
forward
function: FilterConcept
dependencies: 4
inputs: popular music
function: Or
dependencies: 2
5
function: Count
dependencies: 6