Question: Is Cairo (the one whose production company is Metro-Goldwyn-Mayer) titled The Waltons ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Cairo" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .  ?e <title> ?pv . ?pv <pred:value> "The Waltons" .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Cairo
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
function: VerifyStr
dependencies: 4
inputs: The Waltons