Property talk:P2926
Jump to navigation
Jump to search
Documentation
InterPro ID
InterPro unique identifier
InterPro unique identifier
[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)
List of violations of this constraint: Database reports/Constraint violations/P2926#Single value, hourly updated report, SPARQL List of violations of this constraint: Database reports/Constraint violations/P2926#Format, hourly updated report, SPARQL
Type “protein (Q8054), protein family (Q417841), protein domain (Q898273), protein structure (Q735188), active site (Q423026), post-translational protein modification (Q898362), protein superfamily (Q7251477), Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase HisA (Q24724135)”: item must contain property “instance of (P31), subclass of (P279)” with classes “protein (Q8054), protein family (Q417841), protein domain (Q898273), protein structure (Q735188), active site (Q423026), post-translational protein modification (Q898362), protein superfamily (Q7251477), Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase HisA (Q24724135)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2926#Type Q8054, Q417841, Q898273, Q735188, Q423026, Q898362, Q7251477, Q24724135, 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/P2926#Entity types
Modified uniqueness constraint
Lists items having identical values, except if one of the items is a protein domain (Q898273) and the other a protein family associated with domain (Q81505329), see discusion below. Please don't switch on the normal uniqueness constraint, use this instead. (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P2926#Modified uniqueness constraint
Lists items having identical values, except if one of the items is a protein domain (Q898273) and the other a protein family associated with domain (Q81505329), see discusion below. Please don't switch on the normal uniqueness constraint, use this instead. (Help)
Violations query:
SELECT DISTINCT ?item ?itemLabel ?item2 ?item2Label ?value { ?item wdt:P2926 ?value . ?item2 wdt:P2926 ?value . FILTER( ?item != ?item2 && STR( ?item ) < STR( ?item2 ) ) . MINUS { ?item wdt:P31 wd:Q898273. ?item2 wdt:P31 wd:Q81505329. } MINUS { ?item2 wdt:P31 wd:Q898273. ?item wdt:P31 wd:Q81505329. } SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } . }
List of this constraint violations: Database reports/Complex constraint violations/P2926#Modified uniqueness constraint
more specific uniqueness constraint[edit]
As we (will) have items for protein families that are associated with protein domains, and InterPro mixes both concepts into one ID, there is the necessity for finer-grained uniqueness constraints. In this case there should be no conflict if one of the conflicting items is either a protein domain (Q898273) or a protein family associated with domain (Q81505329). Can this be implemented with property configuration alone? --SCIdude (talk) 08:11, 10 January 2020 (UTC)