Project:Property Constraints: Difference between revisions

From lgbtDB
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Checking Constraints ==
== Checking Constraints ==
As of 8 May 2024, there is no way to show constraint violations on lgbtDB itself. However, there are other methods for finding elements that violate constraints that are in place. Note that these are currently experimental and may not function as intended.
As of 8 May 2024, there is no way to show constraint violations on lgbtDB itself. However, there are other methods for finding elements that violate constraints that are in place. Note that these are currently experimental and may not function as intended.
=== ShEx2 Checker ===
While not ideal, other Wikibase.Cloud users have had success with the [https://shex.io/webapps/shex.js/doc/shex-simple.html ShEx2 checker] and entity schemas (for an example, see [https://furry.wikibase.cloud/wiki/EntitySchema:E2 here]). However, this has not yet been tried on lgbtDB and requires creating a significant number of entity schemas.


=== Wikidata Constraints Violation Checker ===
=== Wikidata Constraints Violation Checker ===
There is a tool available on GitHub called the [https://github.com/wmde/wikidata-constraints-violation-checker Wikidata Constraints Violation Checker]. It is possible that it may be repurposed to use on lgbtDB.
There is a tool available on GitHub called the [https://github.com/wmde/wikidata-constraints-violation-checker Wikidata Constraints Violation Checker]. It is possible that it may be repurposed to use on lgbtDB.
=== WikibaseQualityConstraints Extension ===
Wikidata uses the extension [https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints WikibaseQualityConstraints] for its internal checking. While this would be the ideal solution, it has not yet been implemented by Wikibase.Cloud and there are no plans to implement it. If this changes, however, it will be noted here.


== List of Constraints ==
== List of Constraints ==


[[Category:Properties]]
[[Category:Properties]]

Latest revision as of 18:25, 8 May 2024

Checking Constraints

As of 8 May 2024, there is no way to show constraint violations on lgbtDB itself. However, there are other methods for finding elements that violate constraints that are in place. Note that these are currently experimental and may not function as intended.

ShEx2 Checker

While not ideal, other Wikibase.Cloud users have had success with the ShEx2 checker and entity schemas (for an example, see here). However, this has not yet been tried on lgbtDB and requires creating a significant number of entity schemas.

Wikidata Constraints Violation Checker

There is a tool available on GitHub called the Wikidata Constraints Violation Checker. It is possible that it may be repurposed to use on lgbtDB.

WikibaseQualityConstraints Extension

Wikidata uses the extension WikibaseQualityConstraints for its internal checking. While this would be the ideal solution, it has not yet been implemented by Wikibase.Cloud and there are no plans to implement it. If this changes, however, it will be noted here.

List of Constraints