Question: How is Colin Powell (the African American) related to New York City?
Choices:
musical conductor
office held by head of the organisation
from fictional universe
official symbol
place of birth
hair color
political alignment
takes place in fictional universe
interests
make-up artist
Program:
function: Find
inputs: African Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Colin Powell
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Colin Powell" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "African Americans" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Answer: place of birth