Question: How How many cable channels are from the US or are the distributors of Frankenstein (that originally aired on USA Network) ?
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> "cable channel" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e_1 <distributor> ?e . ?e_1 <pred:name> "Frankenstein" . ?e_1 <original_network> ?e_2 . ?e_2 <pred:name> "USA Network" .  } }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: cable channel
function: Find
inputs: USA Network
function: Relate
dependencies: 3
inputs: original network
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: distributor
forward
function: FilterConcept
dependencies: 7
inputs: cable channel
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2