Question: How much electronic dance music includes The Black Eyed Peas or is in the genre of Portishead?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic dance music" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "The Black Eyed Peas" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Portishead" .  } }
Program:
function: Find
inputs: The Black Eyed Peas
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: electronic dance music
function: Find
inputs: Portishead
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: electronic dance music
function: Or
dependencies: 2
5
function: Count
dependencies: 6