Question: How is the Mona Lisa whose catalog code is 22 related to the Louvre Museum?
Choices:
drafted by
commander of
doctoral student
location
geographic distribution
successful candidate
official symbol
composer
published in
parent club
Program:
function: Find
inputs: Mona Lisa
function: FilterStr
dependencies: 0
inputs: catalog code
22
function: Find
inputs: Louvre Museum
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mona Lisa" . ?e_1 <catalog_code> ?pv . ?pv <pred:value> "22" . ?e_2 <pred:name> "Louvre Museum" . ?e_1 ?p ?e_2 .  }
Answer: location