tmlab / tmql

Automatically exported from code.google.com/p/tmql
1 stars 0 forks source link

fn:best-identifier similar to fn:best-label #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by michael....@gmail.com on 12 Jan 2011 at 5:50

GoogleCodeExporter commented 9 years ago
The 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

Original comment by Sven.Kro...@googlemail.com on 13 Jan 2011 at 8:46

GoogleCodeExporter commented 9 years ago

Original comment by Sven.Kro...@googlemail.com on 13 Jan 2011 at 9:11