Question: What are the number of 3D films whose Twitter username is officialavatar or whose box office is not equal to 17000000 ?
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> "3D film" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "officialavatar" .  } UNION { ?e <box_office> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "17000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
officialavatar
function: FilterConcept
dependencies: 1
inputs: 3D film
function: FindAll
function: FilterNum
dependencies: 3
inputs: box office
17000000
!=
function: FilterConcept
dependencies: 4
inputs: 3D film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1