Question: Does the human, who is the director of Marie Antoinette (the one that has Judy Davis as a cast member), have a name in native language equal to Sofia Coppola?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Marie Antoinette" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Judy Davis" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> "Sofia Coppola" .  }
Program:
function: Find
inputs: Judy Davis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Marie Antoinette
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: name in native language
function: VerifyStr
dependencies: 6
inputs: Sofia Coppola