Question: How many news programs have the official website www.goodmorningamerica.com or clock in at other than 200 minutes?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" .  { ?e <official_website> ?pv . ?pv <pred:value> "https://www.goodmorningamerica.com" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v != "200"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.goodmorningamerica.com
function: FilterConcept
dependencies: 1
inputs: news
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
200 minute
!=
function: FilterConcept
dependencies: 4
inputs: news
function: Or
dependencies: 2
5
function: Count
dependencies: 6