+ (progn (mapc #'run-pair (pair-cases))
+ (run-pair (list :id "explicit-association" :ctm "rel(role: a)"
+ :xtm (xml "<association><type><topicRef href='#rel'/></type><role><type><topicRef href='#role'/></type><topicRef href='#a'/></role></association>")
+ :keys '("rel" "role" "a") :counts '(3 0 0 0 1 1 0)
+ :why "CTM relation and explicit XTM association have the same type and one role with equal type/player, no scope or metadata."
+ :clauses '("CTM 3.13" "XTM 4.18-4.20" "TMDM 5.7-5.8,6.6-6.7")))
+ (run-pair (list :id "occurrence-scope-reifier"
+ :ctm "a t:\"42\"^^<http://www.w3.org/2001/XMLSchema#integer>@s ~r."
+ :xtm (xml "<topic id='a'><occurrence reifier='#r'><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#integer'>42</resourceData></occurrence></topic>")
+ :keys '("a" "t" "s" "r") :counts '(4 0 0 1 0 0 1)
+ :why "Both readers create the same typed scoped integer Occurrence and the same II-identified Reifier with inverse relation."
+ :clauses '("CTM 3.10" "XTM 4.3.2,4.15" "TMDM 5.3.4-5.3.5,5.6,6.5")))
+ (contrast-tests) (gap-tests)