Re: [SMW-devel] Poll: How to call error property?
On Sonntag, 2. August 2009, Jeff Thompson wrote: Suppose my date property is birthdate. Instead of [[birthdate::not a date]], I think it be the other way around: [[not a date::birthdate]] so that it won't be confused with other property values for birthdate. I think there is still some misunderstanding here: we do not intend to add [[birthdate::not a date]]. We are looking for a new property name X for which we would add [[X::Property:birthdate]]. This is similar to your second case, but we will not have X being specific to Type:Date (or to a particular error message). Rather, X will mean something like invalid value given to property and be applied to all properties and errors. -- Markus Markus Krötzsch wrote: The upcoming SMW release 1.4.3 will introduce a property that helps to find input errors: its value will be the page of the property that the wrong value was assigned to. For example, if you put [[my date property::not a date]] on page Test1 (where the property would expect a valid date), then SMW will automatically store the value Property:my date property for Test1. This is surely useful for maintenance. The question is how to call this new special property. Sufficiently descriptive names tend to be unwieldy, as for example error for property or input error for. The point is that the property takes another property as its value, not an error message. User poll: How would you prefer this to be called? - - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Poll: How to call error property?
On Sonntag, 2. August 2009, Patrick Nagel wrote: Hi Markus, first of all, thanks for the upcoming new release! Highly appreciated :) On 2009-08-02 21:32, Markus Krötzsch wrote: The upcoming SMW release 1.4.3 will introduce a property that helps to find input errors: its value will be the page of the property that the wrong value was assigned to. For example, if you put [[my date property::not a date]] on page Test1 (where the property would expect a valid date), then SMW will automatically store the value Property:my date property for Test1. This is surely useful for maintenance. The question is how to call this new special property. Sufficiently descriptive names tend to be unwieldy, as for example error for property or input error for. The point is that the property takes another property as its value, not an error message. User poll: How would you prefer this to be called? How about Has wrong type? Strictly speaking, a type is something that only a property has, so it could be confusing to use it for values (I assume what you mean is some value given to the property 'has' the wrong type). Current proposals: (1) Page1 error_for_property Property:my_date_property (2) Page1 input_error_for Property:my_date_property (3) Page1 has_improper_value_for Property:my_date_property (4) Page1 has_wrong_type Property:my_date_property Further opinions are collected until this CET evening (you can also indicate support for some of the existing ones). Then I will move forward with the release. -- Markus -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Poll: How to call error property?
Hi Markus, On 2009-08-03 14:57, Markus Krötzsch wrote: Strictly speaking, a type is something that only a property has, so it could be confusing to use it for values (I assume what you mean is some value given to the property 'has' the wrong type). Ok, scratch that :) I shouldn't write mails about topics like that at 02:48. Current proposals: (1) Page1 error_for_property Property:my_date_property (2) Page1 input_error_for Property:my_date_property (3) Page1 has_improper_value_for Property:my_date_property (4) Page1 has_wrong_type Property:my_date_property Further opinions are collected until this CET evening (you can also indicate support for some of the existing ones). Then I will move forward with the release. Of 1-3 (4 being bogus) I like 3 most. Patrick. -- Key ID: 0x86E346D4http://patrick-nagel.net/key.asc Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Poll: How to call error property?
On Sonntag, 2. August 2009, Markus Krötzsch wrote: ... I should note that I hope that properties with blank values don't get included in this accounting. Speaking of which, let me note that I also think it would be great if blank values stopped being viewed as errors in general. The problem is that a value object can only have two states right now: either it represents some value, or it returns an error. But maybe one could ignore empty strings right during parsing to avoid getting any feedback at all. Feel free to file a request ... Do not file a request: it's done. Completely empty values (not even a space) are now ignored in [[ :: ]]. No more errors. -- Markus -Yaron On Sun, Aug 2, 2009 at 9:32 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: The upcoming SMW release 1.4.3 will introduce a property that helps to find input errors: its value will be the page of the property that the wrong value was assigned to. For example, if you put [[my date property::not a date]] on page Test1 (where the property would expect a valid date), then SMW will automatically store the value Property:my date property for Test1. This is surely useful for maintenance. The question is how to call this new special property. Sufficiently descriptive names tend to be unwieldy, as for example error for property or input error for. The point is that the property takes another property as its value, not an error message. User poll: How would you prefer this to be called? -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org --- -- - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Poll: How to call error property?
On Montag, 3. August 2009, Patrick Nagel wrote: Hi Markus, On 2009-08-03 14:57, Markus Krötzsch wrote: Strictly speaking, a type is something that only a property has, so it could be confusing to use it for values (I assume what you mean is some value given to the property 'has' the wrong type). Ok, scratch that :) I shouldn't write mails about topics like that at 02:48. Current proposals: (1) Page1 error_for_property Property:my_date_property (2) Page1 input_error_for Property:my_date_property (3) Page1 has_improper_value_for Property:my_date_property (4) Page1 has_wrong_type Property:my_date_property Further opinions are collected until this CET evening (you can also indicate support for some of the existing ones). Then I will move forward with the release. Of 1-3 (4 being bogus) I like 3 most. Ok, then I currently have 3 votes for (3), 1 vote for (2), none for the others (counting some private communication here). -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Poll: How to call error property?
2009/8/2 Yaron Koren yaro...@gmail.com: Keeping with my preference for having property names be prepositional phrases, how about Has improper value for? Has improper value for ++ Dan. I should note that I hope that properties with blank values don't get included in this accounting. Speaking of which, let me note that I also think it would be great if blank values stopped being viewed as errors in general. -Yaron On Sun, Aug 2, 2009 at 9:32 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: The upcoming SMW release 1.4.3 will introduce a property that helps to find input errors: its value will be the page of the property that the wrong value was assigned to. For example, if you put [[my date property::not a date]] on page Test1 (where the property would expect a valid date), then SMW will automatically store the value Property:my date property for Test1. This is surely useful for maintenance. The question is how to call this new special property. Sufficiently descriptive names tend to be unwieldy, as for example error for property or input error for. The point is that the property takes another property as its value, not an error message. User poll: How would you prefer this to be called? -- Markus Krötzsch Semantic MediaWiki http://semantic-mediawiki.org http://korrekt.org mar...@semantic-mediawiki.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Smarter error recovery in SMW 1.4.3 (Was: Poll: How to call error property?)
That's good news. And it's great news about blank values not getting counted as errors! That should help out a lot of people who store data in templates. -Yaron On Mon, Aug 3, 2009 at 8:14 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: By the way: however we call it, this property already has another nice side effect. Since SMW now keeps track of all pages where a property was used with an unsuitable value, SMW can automatically revisit these pages when the type of a property has changed. Example: * For storing street address information, you try to assign the value 21a to the property house number on a page. * It turns out that house number [[has type::Number]], so the page you store shows an error. * You notice the error and go to the page Property:House_number to change it to say [[has type::String]] (which would be the best choice here). * Up to SMW 1.4.2, the page where you entered [[house number::21a]] would still miss the value until someone would edit it again. From SMW 1.4.3 on, this error will be corrected automatically using jobs (as usual, it can take some time if many pages need update). This new behaviour also prevents you from loosing any data when someone changes (accidentally or on purpose) the datatype of a property to become incompatible with most of the existing values: after correcting the type, all the old value will be coming back to you without having to edit all affected pages. -- Markus P.S. In any case, the page that you see, and the contents of the store may temporarily differ. After you change the property type, the page will still continue to display the error until its cache is cleared next time (this happens by itself or when somebody edits it). This time is unrelated to the time when SMW will fix its internal records of the page's values (both in SMW 1.4.2 and 1.4.3). So you may see an error on a page while its records are already fixed, or you may see a correctly looking page while its records are still waiting for repair. On Montag, 3. August 2009, Markus Krötzsch wrote: On Sonntag, 2. August 2009, Markus Krötzsch wrote: ... I should note that I hope that properties with blank values don't get included in this accounting. Speaking of which, let me note that I also think it would be great if blank values stopped being viewed as errors in general. The problem is that a value object can only have two states right now: either it represents some value, or it returns an error. But maybe one could ignore empty strings right during parsing to avoid getting any feedback at all. Feel free to file a request ... Do not file a request: it's done. Completely empty values (not even a space) are now ignored in [[ :: ]]. No more errors. -- Markus -Yaron On Sun, Aug 2, 2009 at 9:32 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: The upcoming SMW release 1.4.3 will introduce a property that helps to find input errors: its value will be the page of the property that the wrong value was assigned to. For example, if you put [[my date property::not a date]] on page Test1 (where the property would expect a valid date), then SMW will automatically store the value Property:my date property for Test1. This is surely useful for maintenance. The question is how to call this new special property. Sufficiently descriptive names tend to be unwieldy, as for example error for property or input error for. The point is that the property takes another property as its value, not an error message. User poll: How would you prefer this to be called? -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org - -- -- - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Markus Krötzsch Semantic MediaWikihttp://semantic-mediawiki.org http://korrekt.orgmar...@semantic-mediawiki.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.