Topic on User talk:Lucas Werkmeister (WMDE)

Jump to navigation Jump to search
Multichill (talkcontribs)

Hi Lucas, hope you're doing well. We currently have the citation needed constraint (Q54554025) constraint. It's an all or nothing constraint. It's used on religion (P140). I agree that for humans we should have a reference, but for buildings or on works of art it's a bit too much. Maybe it makes sense to expand the possibilities so we can restrict the constraint to a subset? In this case that would probably be class (P2308) human (Q5). What do you think?

Lucas Werkmeister (WMDE) (talkcontribs)

Limiting constraints by the type of the entity would probably be bad for performance and downright devastating for caching: we’d need to run a SPARQL query for the constraint before even running it, and couldn’t cache the result because parts of the type hierarchy might change. (And I expect that as soon as we added support for this, people would start adding similar limits to constraints where it’s not really necessary, so this wouldn’t be limited to just religion (P140).) I can’t think of another solution right now (except, perhaps, to split the property? not sure if that’s justifiable), but perhaps you can create a new topic on Wikidata talk:WikiProject property constraints?

Reply to "Citation needed constraint"