Question: How many fictional professions were created by a person who authored Batman (the one that was nominated for Academy Award for Best Production Design) ?
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> "fictional profession" . ?e <creator> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <after_a_work_by> ?e_1 . ?e_2 <pred:name> "Batman" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Production Design" .   }
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: after a work by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: creator
backward
function: FilterConcept
dependencies: 6
inputs: fictional profession
function: Count
dependencies: 7
Answer: 3