Question: for the German municipality that is the formation location of gotha (which was dissolved in 1990) and has a short name of G, which class is it a special example of?
Choices:
municipal corporation
location identifier part of a library identifier code
Gran Colombia
vehicle registration plates of Germany
ISO standard
archipelago
New Hampshire Democratic Party
war
official minority languages of Sweden
ISO 3166-2:DE
Answer: location identifier part of a library identifier code
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of Germany" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Gotha" . ?e_1 <dissolved,_abolished_or_demolished> ?pv_1 . ?pv_1 <pred:year> 1990 . ?e <short_name> ?pv . ?pv <pred:value> "G" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }
Program:
function: Find
inputs: Gotha
function: FilterYear
dependencies: 0
inputs: dissolved, abolished or demolished
1990
=
function: Relate
dependencies: 1
inputs: location of formation
forward
function: FilterConcept
dependencies: 2
inputs: municipality of Germany
function: QueryAttrQualifier
dependencies: 3
inputs: short name
G
instance of