Question: Which person born earlier than 1957 has the native language name Christian?
Choices:
Christian
William Henry Harrison
Judy Davis
George W. Bush
Bo Diddley
Richard Gere
Andy Williams
Max Fleischer
Jack Thompson
Sylvester Stallone
Answer: Christian
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <name_in_native_language> ?pv . ?pv <pred:value> "Christian" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1957 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Christian
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
1957
<
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6