Property talk:P502

Active discussions

Documentation

HURDAT identifier
identifier per HURDAT (North Atlantic hurricane database)
DescriptionTropical cyclone identified in the NOAA AOML HRD's HURDAT database
RepresentsHURDAT (Q5636186)
Data typeString
Domain
According to this template: tropical cyclone [ tropical cyclone (Q8092)] items within the Atlantic, eastern Pacific, and central Pacific tropical cyclone basins
According to statements in the property:
cyclone (Q79602)
When possible, data should only be stored as statements
Allowed values(AL|EP|CP)\d{2}(1[89]|20)\d{2} (letters "AL," "EP," or "CP" followed, without a space, by a six-number string, the first two numbers indicating the storm number, and the last four indicating the year)
ExampleHurricane Sandy (Q264)AL182012
Hurricane Hernan (Q498340)EP102002
SourceAtlantic source
full listing
Formatter URLhttps://wikidata-externalid-url.toolforge.org/?p=502&url_prefix=https://www.nhc.noaa.gov/archive/&id=$1
https://www.nhc.noaa.gov/archive/$1/ (Can only link to list for year < 2005)
https://www.nhc.noaa.gov/archive/$3/\L$1$2/ ("\L$1" is a lowercasing operator; so "AL182012" will be replaced with "https://www.nhc.noaa.gov/archive/2012/al18/")
See alsoJTWC tropical cyclone ID (P3399), IBTrACS cyclone ID (P4540), Digital Typhoon typhoon ID (P5015), Digital Typhoon cyclone ID (P5016)
Lists
Proposal discussionProposal discussion
Current uses
Total1,707
Main statement1,70599.9% of uses
Qualifier20.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
 
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of this constraint violations: Database reports/Constraint violations/P502#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value), SPARQL (new)
 
Format “(AL|EP|CP|WP)\d{2}(1[89]|20)\d{2}: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P502#Format, hourly updated report, SPARQL, SPARQL (new)
 
Type “cyclone (Q79602): element must contain property “instance of (P31)” with classes “cyclone (Q79602)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Known exceptions: October 1999 Mexico floods (Q7076905)
List of this constraint violations: Database reports/Constraint violations/P502#type Q79602, SPARQL, SPARQL (new)
 
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of this constraint violations: Database reports/Constraint violations/P502#scope, hourly updated report, SPARQL, SPARQL (new)
  Check correspondence between the year in the identifier and the year of the event
Check when the ID contain the year (Help)
Violations query: SELECT ?item { ?item wdt:P502 ?value. ?item wdt:P580 ?begin. BIND (YEAR(?begin) AS ?beginYear). BIND (SUBSTR(?value, 5, 4) AS ?substr). FILTER (STR(?beginYear) != ?substr) }
List of this constraint violations: Database reports/Complex constraint violations/P502#Check correspondence between the year in the identifier and the year of the event



Data type External identifier?Edit

The property HURDAT HURDAT identifier (P502) is described as an identifier per HURDAT (North Atlantic hurricane database) The property has datatype String. But is is described With Wikidata property for authority control (Q18614948). Should the Property therefore have datatype External identifier? Pmt (talk) 21:46, 25 September 2018 (UTC)

  • I think the main reason this was initially skipped is that the link varies based on its value. In the meantime, the redirector service takes care of that so this could easily be converted. As you already advertised it on project chat, you might want to Wikidata:Contact the development team and ask for conversion. --- Jura 08:46, 6 October 2018 (UTC)

Proposal - Change Data type of HURDAT identifier (P502) from String to External identifierEdit

I think String is the wrong type for HURDAT identifier (P502). Can we please change it to be External identifier.

As per Help:Data_type#Changing_datatype please indicate support/opposition below. Iwan.Aucamp (talk) 16:52, 15 October 2019 (UTC)

DiscussionEdit

Return to "P502" page.