Property talk:P3120

Latest comment: 8 days ago by Peter James in topic No formatter URL

Documentation

TOID
TOpographic IDentifier assigned by the Ordnance Survey to identify a feature in Great Britain
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “\d{16}: 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). Known exceptions: England (Q21), Scotland (Q22), Wales (Q25)
List of violations of this constraint: Database reports/Constraint violations/P3120#Format, 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/P3120#Unique value, SPARQL (every item), SPARQL (by value)
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/P3120#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P3120#Scope, SPARQL


Format change

edit

I hope nobody minds, but I have changed the format for values of this property from "osgb...." to just the string of digits. Removing the "osgb" allows easy dereferencing for many values at http://data.ordnancesurvey.co.uk/id/....

However, it should be noted that that site only allows some TOID values to be dereferenced -- namely, those included in the former 50k Gazetteer, and those in the former Boundary-Line set of administrative boundaries.

Some TOID values -- such as 1000006032892 for the en:Tower of London, previously used as the signature example for the property -- are not available at the above URL, despite being correct. I suggest that these could be marked with the qualifier part of (P361) OS MasterMap (Q7073065). Jheald (talk) 10:00, 19 March 2017 (UTC)Reply

No formatter URL

edit

The formatter URL no longer works and I could not find a replacement - should any of Property:P3120#P1630, Property:P3120#P8966 and Property:P3120#P1921 be deprecated? The downloads are still available at https://osdatahub.os.uk/downloads/open, and Boundary-Line has the current administrative areas (16 digits, first digit 7) and OS Open Names has other names (16 digits, first digit 4 or 5). There are two more, but they are unlikely to be used as identifiers here: OS Open Linked Identifiers also contains TOIDs, possibly only for roads, but no names, and OS Open TOID has locations of TOIDs (including some from OS MasterMap) but no names. There are old versions of Boundary-Line at https://parlvid.mysociety.org/os/. OS Open Names also has sections of roads, which are currently "format" violations at Wikidata:Database reports/Constraint violations/P3120 - I don't add them, and I'm not sure they should be used as main statements without qualifiers, but they are valid identifiers, and seem to be used for parts of a road that are in (or not in) a populated place. Peter James (talk) 18:01, 19 September 2024 (UTC)Reply

Return to "P3120" page.