Question: How many medals did James Stewart (the one that received 13th Academy Awards) from the United States of America win?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: 13th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: medal
function: Find
inputs: United States of America
function: Relate
dependencies: 6
inputs: country
backward
function: FilterConcept
dependencies: 7
inputs: medal
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> "medal" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "James Stewart" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "13th Academy Awards" .  ?e <country> ?e_3 . ?e_3 <pred:name> "United States of America" .  }
Answer: 1