Question: How is the ballad related to composer Marc Anthony ?
Choices:
lyrics by
interested in
film release region
student
voice actor
office held by head of the organisation
has contributing factor
famous people
symptoms
military rank
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "ballad" . ?e_2 <pred:name> "Marc Anthony" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: ballad
function: Find
inputs: composer
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Marc Anthony
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4