Question: What kind of painting is of Italian origin and it depicts a mountain ?
Choices:
Ariel Sharon
Clive Barker
The Fugitive
Gertrude Stein
University of Hull
Hamlet
Mona Lisa
Israel national football team
Tony Blair
Melancholia
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: painting
function: Find
inputs: mountain
function: Relate
dependencies: 3
inputs: depicts
backward
function: FilterConcept
dependencies: 4
inputs: painting
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "painting" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Italy" .  ?e <depicts> ?e_2 . ?e_2 <pred:name> "mountain" .  }
Answer: Mona Lisa