Template:Constraint:Symmetric

From Wikidata
Jump to navigation Jump to search
Symmetric property: if [item A] has this property linked to [item B], then [item B] should also have this property linked to [item A].
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/Constraint:Symmetric#Symmetric
Documentation icon Template documentation[view · edit · history · purge ] [translate this template]

Sample property with this constraint: Property:P26 ("spouse")

  • A
    • spouse: B
  • B
    • spouse: A


This template categorizes into Category:Properties with symmetric constraints

Usage[edit]

{{Constraint:Symmetric}}

Bot jobs[edit]

  • Sample entry from the report for P26: "Q407: Q1089201"
  • This means that "Q1089201" should get P:P26 with value "Q407".
  • After an initial run and to avoid that users correcting errors have to do this several times, bots should remember which items they added before and output them to a list for manual check/addition if they re-appear.
  • A way to do this could be to append processed items to Constraint_violations/P26/automatically fixed and skip these items in a successive run.

See also[edit]