Question: How many television channels use English or whose official website is http://www.starplus.in?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television channel" .  { ?e <language_used> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.starplus.in" .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language used
backward
function: FilterConcept
dependencies: 1
inputs: television channel
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.starplus.in
function: FilterConcept
dependencies: 4
inputs: television channel
function: Or
dependencies: 2
5
function: Count
dependencies: 6