Question: Is Maria de Lourdes Villiers Farrow the birth name of the spouse of Frank Sinatra (the series ordinal of this statement is 3)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Frank Sinatra" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "3" . ?e <birth_name> ?pv . ?pv <pred:value> "Maria de Lourdes Villiers Farrow" .  }
Program:
function: Find
inputs: Frank Sinatra
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterStr
dependencies: 1
inputs: series ordinal
3
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: birth name
function: VerifyStr
dependencies: 4
inputs: Maria de Lourdes Villiers Farrow