Question: What is Kevin McCarthy's (the one whose date of birth is 1950-12-05)) native language?
Choices:
David Lean
Donald M. Payne
Devin Garrett Townsend
関 智一
Michael McDonald
Kevin McCarthy
Claudia Cardinale
塩沢兼人
Anthony Burgess
John Maxwell Coetzee
Program:
function: Find
inputs: Kevin McCarthy
function: FilterDate
dependencies: 0
inputs: date of birth
1950-12-05
=
function: QueryAttr
dependencies: 1
inputs: name in native language
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Kevin McCarthy" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1950-12-05"^^xsd:date . ?e <name_in_native_language> ?pv .  }
Answer: Kevin McCarthy