Question: What person has the British Museum person-institution 19216 and is a cast member of Little Women (that has Joan Bennett as a cast member)?
Choices:
Joan Bennett
Sylvester Stallone
Richard Gere
Max Fleischer
David Byrne
James E. Reilly
William Henry Harrison
Paul Simon
Katharine Hepburn
Simon Cowell
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
19216
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Joan Bennett
function: Relate
dependencies: 3
inputs: cast member
backward
function: Find
inputs: Little Women
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cast member
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> "19216" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Little Women" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Joan Bennett" .  }
Answer: Joan Bennett