Question: What geographic region with the M.49 code of 151 has Slovakia as a part?
Choices:
Caribbean
Antarctica
Pacific Ocean
Southern California
Eastern Europe
Lake District
Transylvania
Africa
South America
Atlantic Canada
Answer: Eastern Europe
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <M.49_code> ?pv . ?pv <pred:value> "151" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Slovakia" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: M.49 code
151
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Slovakia
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: And
dependencies: 2
5
function: What
dependencies: 6