Property talk:P2926

From Wikidata
Jump to navigation Jump to search

Documentation

Data typeExternal identifier
Domainprotein (Q8054), protein family (Q417841), protein domain (Q898273), protein structure (Q735188), active site (Q423026), post-translational protein modification (Q898362), protein superfamily (Q7251477) or Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase HisA (Q24724135)
Allowed valuesIPR\d{6}
Example5-Hydroxytryptamine 2A receptor (Q24575295)IPR000455
voltage-gated chloride channel, subgroup (Q408477)IPR001807
calmodulin family (Q409145)IPR039030
Sourcehttps://www.ebi.ac.uk/interpro/
Formatter URLhttp://www.ebi.ac.uk/interpro/entry/$1
Tracking: usageCategory:Pages using Wikidata property P2926 (Q47461901)
Lists
Proposal discussionProposal discussion
Current uses
Total160,720
Main statement52,49832.7% of uses
Qualifier50,13531.2% of uses
Reference58,08736.1% of uses
Search for values
[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
Format “IPR\d{6}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2926#Format, hourly updated report, SPARQL
Allowed 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: 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)[reply]