Hi,

does somebody know if SMW 1.6 still keeps for multivalue (record type)
properties the information about the order of the single values somewhere
in the database or if that got lost?

Up to now in table atts2 the field p_id allowed to identify (with the help
of the smw_iw=':smw-intprop' values from table ids) the original order of
the values of value_xsd withing such a property. 

+---------+------+-----------+------------+-----------+
| s_id    | p_id | value_xsd | value_unit | value_num |
+---------+------+-----------+------------+-----------+
| 3950215 |   24 | Source1   |            |         0 |
| 3993424 |   23 | Name3     |            |         0 |
| 3950216 |   23 | Name2     |            |         0 |
| 3950216 |   24 | Source2   |            |         0 |
| 3950215 |   23 | Name1     |            |         0 |
| 3993425 |   24 | Source4   |            |         0 |
+---------+------+-----------+------------+-----------+

So in this case it was e.g. [[Prop::Name1;Source1]] and [[Prop::Name3;?]]
and [[Prop::?;Source4]] etc.

Now with SMW 1.6 the field p_id contains a smw_id value which points to
the property type of the record field in table ids

+---------+---------+-----------+-----------+
| s_id    | p_id    | value_xsd | value_num |
+---------+---------+-----------+-----------+
| 3912158 | 3993483 | Source4   |         0 |
| 3904473 | 3993483 | Source2   |         0 |
| 3904473 | 3993483 | Name2     |         0 |
| 3904472 | 3993483 | Name1     |         0 |
| 3904472 | 3993483 | Source1   |         0 |
| 3904474 | 3993483 | Name3     |         0 |
+---------+---------+-----------+-----------+

So from this info one can not see anymore if the property was e.g.
[[Prop::Name1;Source1]] or [[Prop::Source1;Name1]] 
and [[Prop::Name3;?]] or [[Prop::?;Name3]] etc.

Is the order now maybe stored somewhere else in the DB tables?
Would be most grateful if someone could give me a hint.

Thanks
Gu  

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to