Question: What is the relationship between Mighty Joe Young (the one that is an ethnic group of African Americans) and musician?
Choices:
godparent
has immediate cause
occupation
separated from
medical treatment
student
practiced by
dissertation submitted to
record label
lifestyle
Program:
function: Find
inputs: African Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Mighty Joe Young
function: And
dependencies: 1
2
function: Find
inputs: musician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mighty Joe Young" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "African Americans" . ?e_2 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Answer: occupation