Question: What is the relation between John Broome, the writer, and John Broome, who has the UK citizenship ?
Choices:
from fictional universe
located on terrain feature
doctoral student
afflicts
does not have part
notable people with this condition
place served by transport hub
different from
source of income
has edition
Answer: different from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Broome" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "writer" . ?e_2 <pred:name> "John Broome" . ?e_2 <country_of_citizenship> ?e_4 . ?e_4 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Broome
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country of citizenship
backward
function: Find
inputs: John Broome
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7