Question: How many film characters are the creation of Richard Wright (a member of Manchester City F.C.) and have the pseudonym Dr. Strangelove?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film character" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Richard Wright" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Manchester City F.C." .  ?e <pseudonym> ?pv . ?pv <pred:value> "Dr. Strangelove" .  }
Program:
function: Find
inputs: Manchester City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: creator
backward
function: FilterConcept
dependencies: 4
inputs: film character
function: FindAll
function: FilterStr
dependencies: 6
inputs: pseudonym
Dr. Strangelove
function: FilterConcept
dependencies: 7
inputs: film character
function: And
dependencies: 5
8
function: Count
dependencies: 9