Question: What is the official name for Lancaster, also known by its demonym of Lancastrian?
Choices:
Vilnius
Washington, District of Columbia
Карнатака
S.M. Entertainment Co., Ltd.
Lancaster
Republika Federalna Niemiec
Camden
Historic Jeddah, the Gate to Makkah
La Habana
Всесоюзная коммунистическая партия (большевиков)
Program:
function: Find
inputs: Lancaster
function: FilterStr
dependencies: 0
inputs: demonym
Lancastrian
function: QueryAttr
dependencies: 1
inputs: official name
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Lancaster" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Lancastrian" . ?e <official_name> ?pv .  }
Answer: Lancaster