Re: [Wikidata-tech] Representing invalid Snaks

2013-06-25 Thread Daniel Kinzler
A quick follow up to this morning's mail: I discussed this issue with Denny for a while, and we came up with this: * I'll explore the possibility of using a BadValue object instead of a BadSnak, that is, model the error on the DataValue level. My initial impression was that this would be more wor

Re: [Wikidata-tech] Representing invalid Snaks

2013-06-25 Thread Daniel Kinzler
I have tried to detail my reasoning behind introducing the PropertyBadValueSnak in the below document. I would propose to include it in the docs folder. -- daniel This document describes the mechanism and rationale b

Re: [Wikidata-tech] Representing invalid Snaks

2013-06-24 Thread Jeroen De Dauw
Hey, Ran into this thread shortly after posting some comment here: https://gerrit.wikimedia.org/r/#/c/68952/ Is it correct that the idea here is to only have this PropertyBadValueSnak to represent invalid PropertyValueSnaks? In other words , this does not cover the other types of snaks? > This m

[Wikidata-tech] Representing invalid Snaks

2013-06-18 Thread Daniel Kinzler
I'm currently working on validation, and would like some input on the following issue: Data we already have in the database may become "invalid" by some definition. This may happen because a property is deleted, the type of a property changes, or rules for validation become stricter, etc. It woul