Question: What is the connection between Nancy (the one whose genre is ballad) to K-pop?
Choices: genre
Wikidata property
sports season of league or competition
appointed by
noble title
inspired by
home world
cites
source of income
foundational text
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nancy" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "ballad" . ?e_2 <pred:name> "K-pop" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: ballad
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Nancy
function: And
dependencies: 1
2
function: Find
inputs: K-pop
function: QueryRelation
dependencies: 3
4
Answer: genre