Question: What is the class for Stuttgart where the short name is Stg?
Choices: Masculine ending
dynastic union
maritime boundary
vehicle registration plates of Germany
dynasty
location identifier part of a library identifier code
war
public school
archipelago
Republic of Quito
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Stuttgart" . ?e <short_name> ?pv . ?pv <pred:value> "Stg" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }
Program:
function: Find
inputs: Stuttgart
function: QueryAttrQualifier
dependencies: 0
inputs: short name
Stg
instance of
Answer: location identifier part of a library identifier code