Question: What is the FIPS 10-4 (countries and regions) code of the German state that includes Weimar?
Choices:
MX
EI20
CA04
UKI1
GM15
EI13
UKH9
CB11
MX30
US23
Program:
function: Find
inputs: Weimar
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: QueryAttr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Weimar" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Answer: GM15