Question: What is the connection between John Spencer (the one that has the religion Catholic Church) to English?
Choices:
employer
source of income
ethnic group
programming language
official religion
signatory
has immediate cause
notable people with this condition
contains administrative territorial entity
languages spoken, written or signed
Program:
function: Find
inputs: Catholic Church
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: John Spencer
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Spencer" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "Catholic Church" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: languages spoken, written or signed