[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-27 Thread Agabi10
Agabi10 added a comment.
@Lucas_Werkmeister_WMDE It's still triggering the error for the author property of Q6012487 and probably many others. I suppose it's the same problem, so I don't know if it would be more appropriate reopening this bug or creating a new one.TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDE, Agabi10Cc: gerritbot, Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-12 Thread gerritbot
gerritbot added a comment.
Change 358055 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Inject use SparqlHelper in TypeCheckerHelper

https://gerrit.wikimedia.org/r/358055TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Adik2382, Soteriaspace, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-09 Thread Agabi10
Agabi10 added a comment.
OK @Lucas_Werkmeister_WMDE, so if that's intended I think it works as expected. Thanks.TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Agabi10Cc: gerritbot, Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Adik2382, Soteriaspace, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-09 Thread gerritbot
gerritbot added a comment.
Change 358055 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Inject use SparqlHelper in TypeCheckerHelper

https://gerrit.wikimedia.org/r/358055TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Soteriaspace, JakeTheDeveloper, QZanden, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-09 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.
@Agabi10 I think that’s working as intended – “instance of” and “subclass of” are different things and, in general, shouldn’t be used interchangeably. If some people think that “instance of” should be used and add a constraint to reflect that, and other people think that “subclass of” should be used and add statements with that property, then those people should get in touch and have a discussion about the discrepancy. If the constraint violations make such disagreements more obvious, and lead to more such discussions, that’s a good thing in my opinion :)

In the case of Q1616075, the constraint violation is certainly technically correct, and looking at P​452 – “industry of company or organization”, “Wikidata property for items about organizations” – I would say that it’s also appropriate: the property seems intended only for individual organizations, not classes of them.TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDECc: Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Soteriaspace, JakeTheDeveloper, QZanden, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-09 Thread Agabi10
Agabi10 added a comment.
@Lucas_Werkmeister_WMDE I think it is working now, but I think there may be a problem still in how the value type constraint is checked (or with my understanding of what a type is). It still displays an error when the entity instead of being an instance of a given entity is a subclass of a given entity, anyway, in this case I don't know if the problem is with the constraint itself or with my understanding, but for me if a cars are a subclass of vehicles they are still vehicles (as well as all the instances of the car class).

One example of this behavior is Q1616075, which from my understanding it shouldn't be triggering an error for the Type constraint due to being a subclass of a subclass of organization.

Anyway if it's just a problem of my understanding of what a type is feel free to close the task as resolved.TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Agabi10Cc: Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Soteriaspace, JakeTheDeveloper, QZanden, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-06-09 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.
I think the new limit has been deployed (I see type checking spikes of 4 s and 7½ s in the last 12 h on Grafana), can you try it out? (Perhaps unswap the classes if you don’t have any other item where the test previously failed?)

@abian that would be possible, but I don’t want to add too many optimizations like that because eventually we would just be building a shittier, slower BlazeGraph :) the SPARQL change has already been merged, so for now I’d rather focus on integrating that into the regular “type” and “value type” checkers so that false negatives like these should no longer occur.TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDECc: Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Soteriaspace, JakeTheDeveloper, QZanden, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T166379: Value type constraints show errors even when they shouldn't

2017-05-30 Thread abian
abian added a comment.

In T166379#3299880, @Lucas_Werkmeister_WMDE wrote:
We replaced the depth limit with a limit on total entities visited a few weeks ago (0408a71186e3); the ticket for it, T164948, isn’t public yet, but the test commit 6f24ded76ea4 has a longer explanation for the issue.

We noticed pretty soon that the new limit was too low and increased it in 7ac876abcd96; that change should be deployed soon, which will hopefully resolve this issue.

We’re also working on an alternative type checker that uses SPARQL, which will have no depth limit (it will be subject to the WDQS timeout, but that should rarely be an issue).


Would it be convenient to save a list of explored nodes so that they can't be expanded more than once (if they are in the list, they are skipped)?TASK DETAILhttps://phabricator.wikimedia.org/T166379EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: abianCc: Lydia_Pintscher, Jonas, Lucas_Werkmeister_WMDE, abian, Aklapper, Agabi10, GoranSMilovanovic, Soteriaspace, JakeTheDeveloper, QZanden, Izno, Wikidata-bugs, aude, TheDJ, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs