Question: How many animated feature films are titled The Lord of the Rings or have the exploitation visa number 124895?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" .  { ?e <title> ?pv . ?pv <pred:value> "The Lord of the Rings" .  } UNION { ?e <exploitation_visa_number> ?pv . ?pv <pred:value> "124895" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Lord of the Rings
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterStr
dependencies: 3
inputs: exploitation visa number
124895
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6