Wikidata:Property proposal/tweet ID

From Wikidata
Jump to navigation Jump to search

tweet ID

[edit]

Originally proposed at Wikidata:Property proposal/Authority control

   Done: X post ID (P5933) (Talk and documentation)
Descriptionidentifier of a status on Twitter
Representstweet (Q56119332)
Data typeExternal identifier
Allowed values([2-9]\d|[1-9]\d{2,18})
Example 1Oscar tweet (Q56682408)440322224407314432
Example 2X (Q918)inception (P571) → 21 March 2006 → reference: 20
Example 3Camila Mendes (Q28659500)date of birth (P569) → 29 jun 1994 → reference: 880895769250811905
Example 4Elsa (Q15620419)birthday (P3150)winter solstice (Q207932) → reference: 506956591724105729
Example 5María Concepción César (Q6761110)member of (P463)Argentinian Actors and Actresses Asociation (Q5708429) → reference: 1022582737516089344
Sourcehttps://twitter.com
Number of IDs in sourcemany billions
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://twitter.com/statuses/$1
Robot and gadget jobsAutofix for URL (P2699), reference URL (P854):
https?://(www\.)?twitter\.com/[A-Za-z0-9_]{1,15}/status/(\d+)(\?.*)?\2
See alsoX username (P2002), hashtag (P2572)

Motivation

[edit]

Using https://twitter.com/statuses/<tweet ID> instead of https://twitter.com/<username>/status/<tweet ID> makes the links username-independent. Having a property for status IDs lets us manage data quality, store these links in a more concise way, quickly query how many tweets are linked from Wikidata and from which entities, avoid URL parameters and centralize the pattern Wikidata uses for tweets so that we can easily update it in the future if needed. I think it's okay to use this property for both references and main claims, although we can expect a very low number of uses for the latter. abián 10:50, 22 September 2018 (UTC)[reply]

Discussion

[edit]

@ديفيد عادل وهبة خليل 2, Trivialist, Germartin1, Abián, Cwf97, Sabas88: @99of9: ✓ Done: X post ID (P5933). − Pintoch (talk) 08:19, 1 October 2018 (UTC)[reply]