Question: Is Shanghai the title of the visual artwork focused on Albert Einstein, who belonged to the American Philosophical Society?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Albert Einstein" . ?e_1 <member_of> ?e_2 . ?e_2 <pred:name> "American Philosophical Society" .  ?e <title> ?pv . ?pv <pred:value> "Shanghai" .  }
Program:
function: Find
inputs: American Philosophical Society
function: Relate
dependencies: 0
inputs: member of
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: Shanghai