Question: What city in Vietname has the FIPS 10-4 of VM44?
Choices:
Cork
Abidjan
Trieste
Ho Chi Minh City
Bergen
Kingston
Kilkenny
Dundee
Chihuahua
Hanoi
Program:
function: Find
inputs: Vietnam
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
VM44
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Vietnam" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "VM44" .  }
Answer: Hanoi