Question: How many American 3D films has James Cameron (the one that received Golden Globe Award for Best Director) directed?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Golden Globe Award for Best Director
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: James Cameron
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: 3D film
function: Find
inputs: United States of America
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: 3D film
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <director> ?e_1 . ?e_1 <pred:name> "James Cameron" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Golden Globe Award for Best Director" .  ?e <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" .  }
Answer: 1