Question: How many fictional professions either are performed by Benjamin Bratt or were born as Thomas Wayne?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Benjamin Bratt
function: Relate
dependencies: 0
inputs: performer
backward
function: FilterConcept
dependencies: 1
inputs: fictional profession
function: FindAll
function: FilterStr
dependencies: 3
inputs: birth name
Thomas Wayne
function: FilterConcept
dependencies: 4
inputs: fictional profession
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 profession" .  { ?e <performer> ?e_1 . ?e_1 <pred:name> "Benjamin Bratt" .  } UNION { ?e <birth_name> ?pv . ?pv <pred:value> "Thomas Wayne" .  } }
Answer: 2