Question: What is the connection between Phoenix (the one that has the occupation of musician) to United States of America?
Choices:
mouth of the watercourse
board member
country of citizenship
different from
officially opened by
eye color
original network
based on
depicts
interested in
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Phoenix
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phoenix" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "musician" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship