Question: How many film characters have the pseudonym Dr. Merkwürdigliebe or inspire Catwoman who appears in The Dark Knight Rises?
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> "film character" .  { ?e <pseudonym> ?pv . ?pv <pred:value> "Dr. Merkwürdigliebe" .  } UNION { ?e_1 <inspired_by> ?e . ?e_1 <pred:name> "Catwoman" . ?e_2 <characters> ?e_1 . ?e_2 <pred:name> "The Dark Knight Rises" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Dr. Merkwürdigliebe
function: FilterConcept
dependencies: 1
inputs: film character
function: Find
inputs: The Dark Knight Rises
function: Relate
dependencies: 3
inputs: characters
forward
function: Find
inputs: Catwoman
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: inspired by
forward
function: FilterConcept
dependencies: 7
inputs: film character
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 1