daniel added a comment.

During my time playing around with the code, I noticed that, if an item only have one statement in which its property is not "P-31" (instance-of) or "P-279" (subclass-of), and the property also does not exist in the wbs_propertypairs table, the PropertySuggester won't suggest any properties.

Yes, only properties that are in the table can be suggested. If no such properties are found, the code should ideally behave as if there was no property on the item. In that case, suggestions are based simply on which properties are used most often. We don't do an explicit check for this, but perhaps we should. If we update the table often enough, this should not be a problem, though: new properties are rarely used.


TASK DETAIL
https://phabricator.wikimedia.org/T164994

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Glorian_WD, daniel
Cc: daniel, aude, WMDE-leszek, hoo, Lydia_Pintscher, Halfak, Glorian_WD, Aklapper, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Sethakill, Lewizho99, Maathavan, dg711, Izno, Wikidata-bugs, jayvdb, Anomie, Mbch331, Legoktm
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to