Question: What is the name of a person that partners Tommy Lee (the one that is the spouse of Heather Locklear) in the native language ?
Choices:
Kathleen Turner
Batman
William A. Horning
Cloris Leachman
Thelma Schoonmaker
Martin Luther King Jr.
Martin McDonagh
Friedrich August von Hayek
Justin Timberlake
Pamela Anderson
Answer: Pamela Anderson
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <partner> ?e . ?e_1 <pred:name> "Tommy Lee" . ?e_2 <spouse> ?e_1 . ?e_2 <pred:name> "Heather Locklear" .  ?e <name_in_native_language> ?pv .  }
Program:
function: Find
inputs: Heather Locklear
function: Relate
dependencies: 0
inputs: spouse
forward
function: Find
inputs: Tommy Lee
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: partner
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: name in native language