We need a fn:best-identifier which delivers a stable identifier for a given topic.
best-identifier should be in following ordering a 1. subject identifier (si) 2. subject locator (sl) 3. item identifier (ii) if several identifier of the same type are present the shortest should be choosen (e.g. there are two si -> choose shortes si regardless of sl or ii). The returned identifier should be prefixed with its type e.g. si:http://example.com/something
Comment #1
Posted on Jan 13, 2011 by Happy BearThe method will be added to majortom first:
http://code.google.com/p/majortom/issues/detail?id=82
Than the method will be added as function to tmql4j-majortom
Comment #2
Posted on Jan 13, 2011 by Happy Bear(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Enhancement
Priority-Medium