Question: How many bands are from the country of Tunisia or are the composers of The Rock?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Tunisia" .  } UNION { ?e_1 <composer> ?e . ?e_1 <pred:name> "The Rock" .  } }
Program:
function: Find
inputs: Tunisia
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: The Rock
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: band
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0