Wikidata:Property proposal/Academy Awards Database nominee ID
Jump to navigation
Jump to search
Academy Awards Database nominee ID
[edit]Originally proposed at Wikidata:Property proposal/Authority control
Description | Identifier for nominees in the official Academy Awards database |
---|---|
Represents | human (Q5) |
Data type | External identifier |
Domain | human (Q5), organization (Q43229) |
Allowed values | ([1-9]\d{0,3}|1[0-1]\d{3}) |
Example 1 | Meryl Streep (Q873) → 6846 |
Example 2 | Walt Disney (Q8704) → 1593 |
Example 3 | Denzel Washington (Q42101) → 3910 |
Source | http://awardsdatabase.oscars.org/ |
External links | Use in sister projects: [ar] • [de] • [en] • [es] • [fr] • [he] • [it] • [ja] • [ko] • [nl] • [pl] • [pt] • [ru] • [sv] • [vi] • [zh] • [commons] • [species] • [wd] • [en.wikt] • [fr.wikt]. |
Mix'n'match | 2000 |
Number of IDs in source | 7000+ |
Expected completeness | eventually complete (Q21873974) |
Formatter URL | http://awardsdatabase.oscars.org/Search/GetResults?query=%7B%22NomineeId%22:$1,%22IsHyperlinkQuery%22:true,%22Sort%22:%221-Nominee-Alpha%22,%22Search%22:%22Basic%22%7D |
See also | IMDb ID (P345), Box Office Mojo person ID (archived) (P2688), AllMovie person ID (P2019), TCM Movie Database person ID (P3056), American Film Institute person ID (P5340) |
Motivation
[edit]Identifier for nominees and winners of Academy Awards. Trivialist (talk) 03:32, 13 November 2018 (UTC)
Discussion
[edit]- Support --Deansfa (talk) 03:51, 13 November 2018 (UTC)
- Support — eru [Talk] [french wiki] 05:32, 13 November 2018 (UTC)
- Support David (talk) 06:41, 13 November 2018 (UTC)
- Conditional support same problem as in your previous proposal Trivialist --Eihel (talk) 17:34, 14 November 2018 (UTC)
- @Eihel:: I've updated the regex per your comments on my Academy Awards Database film ID proposal. This will be eventually complete also, once the mix'n'match items are all matched. Trivialist (talk) 01:24, 15 November 2018 (UTC)
- @Trivialist:
- domain is only human (Q5), not organization (Q43229) for nominee. Isn't it ?
- subject item is again Academy Awards (Q19020)
- I corrected your change again on RegEx --Eihel (talk) 03:02, 15 November 2018 (UTC)
Comment As I was able to check lately: ATTENTION : when creating the Property, you must remove:
- start of a string / start of line
^
- end of string / end of line
$
, so that the constraints are valid. --Eihel (talk) 16:42, 15 November 2018 (UTC)
- The nominees in the database include companies that received scientific and technical awards, so i is people and organizations. Also, thank you for your help in getting the regex correct, much appreciated! Trivialist (talk) 02:22, 16 November 2018 (UTC)
@Eihel: may I ask you why you leave the ^
and $
characters in the regexes and let the property creator remove them? Why can't you remove them directly? That is what we usually do. − Pintoch (talk) 17:11, 20 November 2018 (UTC)
- Hello @Pintoch: For format as a regular expression (P1793), the tool used to test the expression is regex101.com.
- Following the creation of the property, a test with the string
abc;1234 $azerty45678
for pcre gives 3 matches. I changed that. - I think a lot of people are testing their RegEx for Perl (pcre). Strictly in this case, it would take
\A
at the beginning of expression and\z
at the end of expression (for pcre), but WD also uses java.util.regex.Pattern. To be consistent, we must add^
and$
to format as a regular expression (P1793) in the construction of the Academy Awards Database nominee ID (P6150) property. Thus, only the numbers from 1 to 11999 are allowed. property constraint (P2302) remains the same. - For my part, there is also a more serious problem that I did not understand/resolved about format constraint (Q21502404). This happens with the handling of Special: ConstraintReports : value errors due to constraints are sometimes not reported. Is this problem valid for everyone, I don't know. It is therefore a way to introduce abberant values. Have you read something on this subject? Cordially. --Eihel (talk) 04:14, 24 November 2018 (UTC)
- Ok, I see. No I don't know anything about constraint reports - the software that produces them is closed source and has other issues so I do not use these reports myself. − Pintoch (talk) 10:55, 24 November 2018 (UTC)
@ديفيد عادل وهبة خليل 2, Trivialist, Deansfa, Eihel, Pintoch: Done: Academy Awards Database nominee ID (P6150). − Pintoch (talk) 17:12, 20 November 2018 (UTC)