Question: What is the association of Gerry Conway (who is a citizen of the United States of America) with Brooklyn (that is the residence of Norman Mailer)?
Choices:
next higher rank
capital of
sexual orientation
has dialect (DEPRECATED)
military conflicts
territory claimed by
place of birth
facet of
contains settlement
soundtrack album
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gerry Conway" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Brooklyn" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> "Norman Mailer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Gerry Conway
function: And
dependencies: 1
2
function: Find
inputs: Norman Mailer
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7