Project:Property Constraints: Difference between revisions

From lgbtDB
Jump to navigation Jump to search
No edit summary
No edit summary
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 [here https://furry.wikibase.cloud/wiki/EntitySchema:E2]). 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 ===

Revision as of 18:23, 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 https://furry.wikibase.cloud/wiki/EntitySchema:E2]). 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.

List of Constraints