Question: What city is the capital of the sovereign state whose FIPS 10-4 for countries and regions is VE?
Choices:
London
Barrie
Caracas
Bhubaneswar
Mississauga
Algiers
Cairo
Panama City
Winchester
Oslo
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
VE
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: capital of
backward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "VE" .   }
Answer: Caracas