Question: What is the relationship between Aaliyah and musician?
Choices: head of state
home port
officially opened by
headquarters location
location of final assembly
programming paradigm
affiliation
academic degree
occupation
location of discovery
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aaliyah" . ?e_2 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Aaliyah
function: Find
inputs: musician
function: QueryRelation
dependencies: 0
1
Answer: occupation