Question: Is the native label of a capital, whose demonym, in male form, is Tehrani, equal to Charlotte?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Tehrani" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv . ?qpv <pred:value> "male" . ?e <native_label> ?pv . ?pv <pred:value> "Charlotte" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Tehrani
function: QFilterStr
dependencies: 1
inputs: applies to part
male
function: FilterConcept
dependencies: 2
inputs: capital
function: QueryAttr
dependencies: 3
inputs: native label
function: VerifyStr
dependencies: 4
inputs: Charlotte