Property talk:P7301

From Wikidata
Jump to navigation Jump to search

Documentation

Al-Jazeera topic ID
identifier for a topic at Al-Jazeera.com's website
[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)
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/P7301#Unique value, SPARQL (every item), SPARQL (by value)
Format “(?:tag|where)/[A-Za-z0-9-]+: 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/P7301#Format, 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/P7301#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/P7301#Scope, SPARQL
Qualifiers “start time (P580), end time (P582), reason for deprecated rank (P2241), point in time (P585): this property should be used only with the listed qualifiers. (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/P7301#allowed qualifiers, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (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/P7301#Label in 'en' language, search, SPARQL

Changed regex[edit]

FYI, I changed the regex from [^\s\/]+ to [^\s]+. Topic IDs can contain slashes, such as events/september-11 at Q10806. Elliot321 (talk) 17:24, 12 February 2021 (UTC)[reply]

Identifiers/formatter changed[edit]

I noticed that the URL format *and* the identifiers have been changed. No longer are topics divided between country, events, issues, organisations, people & subjects. There's just "tag" and "where" now, as far as I can tell. The formatter has also been simplified.

At the time of writing, there were 14 items using the old identifiers, of which one has been fully withdrawn (Bernie Sanders). See Al-Jazeera topic identifiers, including deprecated statements (query). I have marked the old ones as deprecated and added a new formatter url, while keeping the old one, marked as deprecated. Since the identifiers have also changed and don't overlap, I was able to use the applies if regular expression matches (P8460) qualifier. --Azertus (talk) 11:42, 27 August 2021 (UTC)[reply]