Question: How many TV genres originated in Guinea or in Iceland, which is led by a minister?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television genre" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Guinea" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Iceland" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> "minister" .  } }
Program:
function: Find
inputs: Guinea
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: television genre
function: Find
inputs: minister
function: Relate
dependencies: 3
inputs: office held by head of government
backward
function: Find
inputs: Iceland
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: television genre
function: Or
dependencies: 2
8
function: Count
dependencies: 9