Question: How many soul musics are the genre of Eurythmics or include famous people Rob Thomas (who received a Grammy Award for Song of the Year)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "soul music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Eurythmics" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Rob Thomas" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Grammy Award for Song of the Year" .  } }
Program:
function: Find
inputs: Eurythmics
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: soul music
function: Find
inputs: Grammy Award for Song of the Year
function: Relate
dependencies: 3
inputs: award received
backward
function: Find
inputs: Rob Thomas
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: soul music
function: Or
dependencies: 2
8
function: Count
dependencies: 9