Help talk:Property constraints portal

Active discussions

separator for distinct values constraintEdit

It would be useful if separator (P4155) could be used to prevent constaint warnings for distinct values constraint (Q21502410) for particular known types of case (in the same way it can be used for single value constraint (Q19474404).

Is this possible; or, alternatively, could it be made so? Jheald (talk) 18:53, 19 November 2019 (UTC)

Proposal of new constraints for source datesEdit

Hi all! @Alexmar983: and I suggest the creation of two new constraints (unless a complex constraint could be used in these cases):

Bye, --Epìdosis 14:42, 27 February 2020 (UTC)

@Epìdosis, Alexmar983: As far as remember, the first one can be achieved using a special value (“unknown value” maybe). The second one seems to be possible using a complex constraint, although the following times out for me:
SELECT ?item ?P577 ?P813
WHERE {
  ?ref pr:P577 ?P577 ; pr:P813 ?P813 .
  FILTER (?P577 > ?P813) .
  ?statement prov:wasDerivedFrom ?ref .
  ?item p:* ?statement .
}
Try it! Maybe someone can optimize it further to make it finish quickly enough. —Tacsipacsi (talk) 00:03, 29 February 2020 (UTC)
Not really my expertise so I trust you and thank you in advance :)--Alexmar983 (talk) 00:06, 29 February 2020 (UTC)

Link to installation instructionsEdit

@Wikirik123: about Special:Diff/1124868036: I don’t think it makes sense to link to the installation instructions here – this is the help page for constraints on Wikidata, no Wikidata users should need those instructions. --Lucas Werkmeister (WMDE) (talk) 11:44, 28 February 2020 (UTC)

@ Lucas Werkmeister (WMDE) OK agreed --Wikirik123 (talk) 13:56, 28 February 2020 (UTC)

Return to "Property constraints portal" page.