Question: What is the Iconclass notation for the position of Prince of Wales, Charles (the replaces of this statement is Elizabeth II)?
Choices:
11H(PAUL)33
12O
49F2
11P23
44B151211
43C2211
44G221
48C821
49M321
43C394
Answer: 44B151211
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "position" . ?e_1 <position_held> ?e . ?e_1 <pred:name> "Charles, Prince of Wales" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e ] <replaces> ?qpv . ?qpv <pred:value> "Elizabeth II" . ?e <Iconclass_notation> ?pv .  }
Program:
function: Find
inputs: Charles, Prince of Wales
function: Relate
dependencies: 0
inputs: position held
forward
function: QFilterStr
dependencies: 1
inputs: replaces
Elizabeth II
function: FilterConcept
dependencies: 2
inputs: position
function: QueryAttr
dependencies: 3
inputs: Iconclass notation