Question: Batman, born in 1970, is related in what way to English?
Choices:
art director
languages spoken, written or signed
academic degree
replaces
connects with
has cause
place served by transport hub
student of
sexual orientation
honorific suffix
Program:
function: Find
inputs: Batman
function: FilterYear
dependencies: 0
inputs: date of birth
1970
=
function: Find
inputs: English
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1970 . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: languages spoken, written or signed