Question: WHat is the ISNI of the spouse of Frank Sinatra (the series ordinal of this statement is 3)?
Choices:
0000 0000 8897 2883
0000 0001 1476 5598
0000 0004 0405 1577
0000 0000 7840 8648
0000 0000 7249 3562
0000 0001 1876 6707
0000 0001 2173 591X
0000 0001 2139 6882
0000 0001 0938 2306
0000 0001 1441 1714
Answer: 0000 0001 0938 2306
SPARQL: SELECT DISTINCT ?pv WHERE { ?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 <ISNI> ?pv .  }
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: ISNI