Question: What state of India is located in India (the one that has a citizen Sneha) and has the FIPS 10-4 (countries and regions) of IN24?
Choices:
Manipur
Rajasthan
Haryana
Arunachal Pradesh
Andhra Pradesh
Himachal Pradesh
Kerala
Gujarat
Karnataka
Maharashtra
Program:
function: Find
inputs: Sneha
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: state of India
function: FindAll
function: FilterStr
dependencies: 6
inputs: FIPS 10-4 (countries and regions)
IN24
function: FilterConcept
dependencies: 7
inputs: state of India
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "India" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Sneha" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "IN24" .  }
Answer: Rajasthan