Property talk:P2900

From Wikidata
Jump to navigation Jump to search

Documentation

Representsfax number (Q125183827)
Data typeString
Domainorganization (Q43229), human (Q5), facility (Q13226383) or administrative territorial entity (Q56061)
Allowed values(?:(?:\+|00|011)[\.\/\-\ \t]*([17]|2(?:[07]|[1-689]\d)|3(?:[0-4679]|[578]\d)|4(?:[013-9]|2\d)|5(?:[1-8]|[09]\d)|6(?:[0-6]|[789]\d)|8(?:[1246]|[035789]\d)|9(?:[0-58]|[679]\d))[\.\/\-\ \t]*|([17])[\.\/\-\ ])?(?:\((\d{1,6})\)[\.\/\-\ \t]*)?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(\d{0,10}?)(\d{1,4})(?:[\.\/\-;\ \t]*e?xt?[\.\/\-=\ \t]*(\d{1,14}))? (single phone number including country code; add separate properties if you need multiple phone numbers)
ExampleMaison de Victor Hugo (Q2599177)+33-1-42-72-06-64
Rijksmuseum (Q190804)+31-20-6747001
Format and edit filter validationAbuse filter #89
Formatter URLtel:$1
See alsophone number (P1329)
Lists
Living people protection classproperty that may violate privacy (Q44601380)
Proposal discussionProposal discussion
Current uses
Total64,686
Main statement64,657>99.9% of uses
Qualifier28<0.1% of uses
Reference1<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “(?:(?:\+|00|011)[\.\/\-\ \t]*([17]|2(?:[07]|[1-689]\d)|3(?:[0-4679]|[578]\d)|4(?:[013-9]|2\d)|5(?:[1-8]|[09]\d)|6(?:[0-6]|[789]\d)|8(?:[1246]|[035789]\d)|9(?:[0-58]|[679]\d))[\.\/\-\ \t]*|([17])[\.\/\-\ ])?(?:\((\d{1,6})\)[\.\/\-\ \t]*)?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(\d{0,10}?)(\d{1,4})(?:[\.\/\-;\ \t]*e?xt?[\.\/\-=\ \t]*(\d{1,14}))?: value must be formatted using this pattern (PCRE syntax). (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/P2900#Format, SPARQL
Item “phone number (P1329): Items with this property should also have “phone number (P1329)”. (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/P2900#Item P1329, search, SPARQL
Citation needed: the property must have at least one reference (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/P2900#citation needed
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/P2900#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (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/P2900#Scope, SPARQL
Check for country code
Entries should start with "+" and the country code (+1 for US numbers) (Help)
Violations query: SELECT ?item ?itemLabel ?value WHERE { ?item wdt:P2900 ?value . ?item wdt:P17/wdt:P474 ?cc . FILTER(!strstarts(?value, ?cc)) . SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P2900#Check for country code

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Is the "phone number" restriction necessary?[edit]

>Item “phone number (P1329)”: Items with this property should also have “phone number (P1329)”.

I'm wondering what is the motivation behind this restriction. Surely an entity (organization, person) can have a fax number without a phone number. I'm going through an old computer magazine, and some companies have published their fax number but no phone number. I suggest this restriction be removed. --Sanqui (talk) 14:28, 19 August 2023 (UTC)[reply]