Question: What is the FIPS 5-2 alpha code (US states) of the United States state whose motto text is "Our liberties we prize and our rights we will maintain"?
Choices:
AR
IN
FM
KS
IA
VT
CO
MN
NY
UT
Answer: IA
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Our liberties we prize and our rights we will maintain" . ?e <FIPS_5-2_alpha_code_(US_states)> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: motto text
Our liberties we prize and our rights we will maintain
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: QueryAttr
dependencies: 2
inputs: FIPS 5-2 alpha code (US states)