Property talk:P4235
(Redirected from Wikidata talk:Database reports/Constraint violations/P4235)
Documentation
PatientsLikeMe treatment ID
identifier for a treatment on PatientsLikeMe, a website where patients can share health information
identifier for a treatment on PatientsLikeMe, a website where patients can share health information
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
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/P4235#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
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/P4235#Unique value, SPARQL (every item), SPARQL (by value)
Type “medication (Q12140), type of chemical entity (Q113145171), medical procedure (Q796194), medical device (Q6554101), type of mixture of chemical entities (Q119892838), medical attribute (Q44476427)”: item must contain property “instance of (P31), subclass of (P279)” with classes “medication (Q12140), type of chemical entity (Q113145171), medical procedure (Q796194), medical device (Q6554101), type of mixture of chemical entities (Q119892838), medical attribute (Q44476427)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: dance (Q11639)List of violations of this constraint: Database reports/Constraint violations/P4235#Type Q12140, Q113145171, Q796194, Q6554101, Q119892838, Q44476427, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P4235#Scope, hourly updated report, SPARQLAllowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
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/P4235#Entity types
Chemical entities with no indication of use as a drug
Every item with PatientsLikeMe treatment ID (P4235) statement and instance of (P31)type of chemical entity (Q113145171) that has no has use (P366)medication (Q12140). In combination with other constraints it would allow in the future to properly move pharmacology-related statements from items about groups of isomers to items about specific isomer or to items about mixtures of isomers. (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P4235#Chemical entities with no indication of use as a drug
Every item with PatientsLikeMe treatment ID (P4235) statement and instance of (P31)type of chemical entity (Q113145171) that has no has use (P366)medication (Q12140). In combination with other constraints it would allow in the future to properly move pharmacology-related statements from items about groups of isomers to items about specific isomer or to items about mixtures of isomers. (Help)
Violations query:
SELECT DISTINCT ?item WHERE { ?item wdt:P4235 ?value. ?item wdt:P31 wd:Q113145171. MINUS { ?item wdt:P366 wd:Q12140 . } }
List of this constraint violations: Database reports/Complex constraint violations/P4235#Chemical entities with no indication of use as a drug
Format and type constraint
[edit]These two constraints are not correct, even the example give in Wikidata property example (P1855) shows the problem. Wostr (talk) 13:22, 25 November 2019 (UTC)
- I deprecated the format constraint as it have over 1000 violations and it is clear that these are invalid IDs. Wostr (talk) 00:13, 31 May 2021 (UTC)
Categories:
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with scope constraints
- Properties with entity type constraints
- Properties with complex constraints