Property talk:P2461
Latest comment: 4 years ago by 99of9 in topic Notes for development
Documentation
ComLaw ID
identifier for Commonwealth of Australia legislation, bills, regulations, etc, in the ComLaw database
identifier for Commonwealth of Australia legislation, bills, regulations, etc, in the ComLaw database
[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/P2461#Unique value, SPARQL (every item), SPARQL (by value)
Format “
List of violations of this constraint: Database reports/Constraint violations/P2461#Format, hourly updated report, SPARQL[A-Z](19|20)\d{2}[A-Z]\d{5}
”: 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/P2461#Item P5799, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2461#Item P5799, search, SPARQL
Type “legislation (Q49371), legislative instrument of Australia (Q55274073), proclamation (Q1572600), plan of management (Q45736416)”: item must contain property “instance of (P31)” with classes “legislation (Q49371), legislative instrument of Australia (Q55274073), proclamation (Q1572600), plan of management (Q45736416)” or their subclasses (defined using subclass of (P279)). (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/P2461#Type Q49371, Q55274073, Q1572600, Q45736416, SPARQL
Item “country (P17): Australia (Q408)”: Items with this property should also have “country (P17): Australia (Q408)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2461#Item P17, hourly updated report, search, SPARQLItem “applies to jurisdiction (P1001): Australia (Q408)”: Items with this property should also have “applies to jurisdiction (P1001): Australia (Q408)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2461#Item P1001, hourly updated report, search, SPARQLQualifiers “start time (P580), end time (P582), nature of statement (P5102), has cause (P828), reason for deprecated rank (P2241), reason for preferred rank (P7452), earliest date (P1319), earliest end date (P8554), latest start date (P8555), latest date (P1326)”: 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/P2461#allowed qualifiers, 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/P2461#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/P2461#Scope, SPARQL
Notes for development edit
Some notes for development of Australian Acts using this property. They may be hard for others to understand at the moment, but I hope to refine them as I sort through my plans.
For each item on the list of Qids:
- Download the Details item
- Parse it for:
- Comlaw=series id, qualifier nature of statement (P5102)=originally (Q53737447)
- Comlaw=item id, qualifier=start, end, caused-by-item (from Comlaw lookup or name lookup)
- Responsible departments (all agencies?) (ref use series URL to avoid repeating)
- title (en)
- year, series ordinal=act number (for year)
- in force, superseded, or repealed (superseded as qualifier, otherwise look for some property)
- if a caused by Comlaw or name does not have a lookup item, it is probably a new act. Create a new item based on its series from details (marked originally so that it is picked up in the next round)
- if a caused by Comlaw was not found but the name was, then add this Comlaw to the matched item
- if item=series then use start date as start for item, also published as published
Also look for:
- other Comlaw ids (versions that caused revisions, to gett their details from? Maybe better to get from series?)
- other relevent properties as might be seen on Patient Protection and Affordable Care Act (Q1414593) Marshall Plan (Q4576) Patriot Act (Q221689) Americans with Disabilities Act of 1990 (Q1111004)
For each series (from the new distinct list of originallys):
- Download the series item
- Parse it for the table of:
- Comlaw id=revision, dates, and causes
- legal citation of this text (P1031) (series ref)
- Extract repealed-by = item (from id)
- Download the amended by list
- Download the repealed by list
- Download the related acts list
Check that both titles come into items with name changes, e.g. Australian Institute of Anatomy Agreement Act 1924 (Q56738208) (don't touch manually).
--99of9 (talk) 10:43, 20 October 2018 (UTC)
Duplicate detection query --99of9 (talk) 01:43, 27 November 2019 (UTC)