Question: Which person was born before 1989 and has the birth name of James Peter Brown?
Choices:
Annie
Richard Gere
Lil' Kim
James Brown
Clark Gregg
John Williams
Gustavo Cerati
Max Fleischer
Alastair Reynolds
William Henry Harrison
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1989
<
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: birth name
James Peter Brown
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 <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1989 ) . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "James Peter Brown" .  }
Answer: James Brown