On Wednesday 05 November 2008 15:22:58 Ivan Mikhailov wrote: > Kjetil > > create iri class myexample:story "http://example.org/story/%U" (in title > varchar) > > will eliminate the need in numeric ID, but only if titles are unique. > Otherwise, join on such an IRI may join properties of different > documents with same title, taht is probably not what you expect. Thus an > IRI with ID is a safe choice.
Right, that's why I call for something with a little more sophistication. E.g. if Virtuoso, when it first inserts such a triple, is able to add a running number to the %U. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: kjetil.kjern...@computas.com Web: http://www.computas.com/ | SHARE YOUR KNOWLEDGE | Computas AS PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001