Question: How many pop music renditions have a famous person named Hayden Panettiere or a movement by David Bowie (who uses the English language)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Hayden Panettiere
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: pop music
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: languages spoken, written or signed
backward
function: Find
inputs: David Bowie
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: movement
forward
function: FilterConcept
dependencies: 7
inputs: pop music
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "pop music" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Hayden Panettiere" .  } UNION { ?e_1 <movement> ?e . ?e_1 <pred:name> "David Bowie" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  } }
Answer: 3