Question: How many visual artworks received an award that was given to Vanessa Redgrave for Julia ?
Choices:
41
42
43
44
45
46
47
48
49
50
Answer: 49
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Vanessa Redgrave" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Julia" .   }
Program:
function: Find
inputs: Vanessa Redgrave
function: Relate
dependencies: 0
inputs: nominated for
forward
function: QFilterStr
dependencies: 1
inputs: for work
Julia
function: FilterConcept
dependencies: 2
inputs: award
function: Relate
dependencies: 3
inputs: award received
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Count
dependencies: 5