Re: [Virtuoso-users] Autoincrement rdf field

2010-02-27 Thread Alexander Sidorov
Hi Ivan, Thank you for information: it is really what I need. I have replaced my entities' GUIDs with sequence generated integers. The one question about sequences arised during documentation reading. Sequence_next bif documentationhttp://docs.openlinksw.com/virtuoso/fn_sequence_next.htmlsays it

[Virtuoso-users] Autoincrement rdf field

2010-02-26 Thread Alexander Sidorov
Hello! What is the preferred way of stroring autoincrement values in RDF-storage? Now I just use GUIDs (but don't like them) and have some workaround ideas of using relational table's autoincrement field values at RDF-storage. But may be there is some build-in support? Regards, Alexander

Re: [Virtuoso-users] Autoincrement rdf field

2010-02-26 Thread Ivan Mikhailov
Hello Alexander, You may use sequence_next() (http://docs.openlinksw.com/virtuoso/fn_sequence_next.html) BIF as source of autoincremented integers. However this function should be used with care in SPARUL statements as well as in UPDATE SQL statement. The optimizer does not know that the