Question: What is the number of fictional people that were born before 1986 or that are called Robert Balboa as their birth name?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1986
<
function: FilterConcept
dependencies: 1
inputs: fictional human
function: FindAll
function: FilterStr
dependencies: 3
inputs: birth name
Robert Balboa
function: FilterConcept
dependencies: 4
inputs: fictional human
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional human" .  { ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1986 ) .  } UNION { ?e <birth_name> ?pv . ?pv <pred:value> "Robert Balboa" .  } }
Answer: 4