Question: Which geographic region is a part of the Caribbean?
Choices: Transylvania
Africa
Antilles
Southern California
Pacific Ocean
Atlantic Canada
South America
Bahamas
Antarctica
Piedmont
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Caribbean" .  ?e_2 <has_part> ?e . ?e_2 <pred:name> "Caribbean" .  }
Program:
function: Find
inputs: Caribbean
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Caribbean
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Antilles