Question: How many anime works have under 15 seasons or have the official website www.macross.co.jp?
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> "anime" .  { ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "15"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.macross.co.jp" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
15
<
function: FilterConcept
dependencies: 1
inputs: anime
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.macross.co.jp
function: FilterConcept
dependencies: 4
inputs: anime
function: Or
dependencies: 2
5
function: Count
dependencies: 6