Hi Gokhan I have only just tried this out, so sorry for the delay. I was a little confused as your example gave the same result as my two attempts i.e. nothing out. THEN I used my brain and connected an ImportRDF fromWorkspace to the ConvertSpreadsheet with an actual connection. Then it (and mine) worked. Doh! I see the properties with the correct datatypes etc. Sorry I wasted a bit of your time here.
I've experimented with a couple of things and may have found a bug/issue or two. 1. In your example you use %1 as the instance pattern. I would like to use %6-%7 however when the property sml:importToInputGraph is defined it will only ever create %1 instance patterns and ignores anything else that has been stated. For my import to work correctly I need to define the pattern. This works fine as long as sml:importToInputGraph is not used. I've also seen the instance pattern not work as requested in normal use. (trivial I know) product%6-%7 actually gives product-<value>-<value> and a pattern of product-%6-%7 gives product--<value>-<value>. 2. When I import a spreadsheet without the use of sml:importToInputGraph with an instance pattern of %6-%7 (which are both paddednumbers e.g. 001-10) I see the creation of "unique" resources based on the rows of data. i.e. if %6 for three rows is 101 and %7 is "10", then I see three instances with the identifiers 101-10, 101-100, 101-101. In some situations I really like this behavior and in other cases it's not what I'm looking for and is really annoying. Could we have a Boolean on this module for the creation of unique resources? I've also noticed that in the case where I was using the property sml:importToInputGraph all the %1 identifiers were string values but the resources created were not unique. E.g. if three rows had the value of %1 as "TBC" I would have expected three resources created with the id's TBC, TBC0, TBC1. But it didn't. It just created one instance of TBC. This is a real problem for me, where I need differentiate. So if I could get the above request could I also have the unique resource created whether it is fact numeric or alpha numeric and whether or not the importToInputGraph is used? Cheers Phil > > I am attaching two example n3 files, where one of them defines > sml:importToInputGraph and the other one uses it in a > sml:ConvertToSpreadsheet module as an example. > > Gokhan > > -------------------------------------------------------- UCB Celltech is the UK branch of UCB Pharma S.A., a company registered in Belgium with registered offices at Allee de la Recherche 60, 1070 Brussels, Belgium, KBO/BCE nr. 0403.096.168, RPR/RPM Brussels. UCB Celltech's UK branch registration number is BR009137 and its UK representative office is at 208 Bath Road, Slough, Berkshire SL1 3WE. -------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. (Ref: #*CUK0308) -------------------------------------------------------- -- You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to topbraid-composer-us...@googlegroups.com. To unsubscribe from this group, send email to topbraid-composer-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en.