Question: Which cast member of Marley was born before 1955?
Choices:
Bob Marley
William Henry Harrison
Sylvester Stallone
James Brown
Max Fleischer
Stevie Ray Vaughan
Boris Karloff
Ryan O'Neal
Bette Davis
Ziggy Marley
Program:
function: Find
inputs: Marley
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
1955
<
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Marley" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1955 ) .  }
Answer: Bob Marley