Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 4.42 KB

SCHEMA.md

File metadata and controls

78 lines (61 loc) · 4.42 KB

Schema

Warning to consumers:

The regulatory knowledge graph project, being a demonstration project, makes some opinionated assumptions about the RDF namespaces for regulatory data subjects and predicates.

Wherever possible, the project uses preexisting schema elements from schema.org.

Consumers are advised to consider all schema elements that do not derive from schema.org are nonstandard, unofficial, unsupported, etc.

Where a Canadian regulatory body exists, the project derives a "placeholder" namespace from that body's web presence URL. It is anticipated that as these bodies adopt more mature public namespacing practices, that this project will adopt the official namespaces.

Predicates

Schema.org predicates

These predicates match the public property definitions.

https://schema.org/legislationChanges https://schema.org/legislationConsolidates https://schema.org/legislationDate https://schema.org/legislationIdentifier https://schema.org/name https://schema.org/url https://schema.org/wordCount

Custom Predicates

These predicates are made-upspeculative. The URIs do not correspond to any references, so descriptions are included below.

Entity namespaces

These are all speculative. Your mileage may vary, etc.

  • https://www.canada.ca/en/privy-council/ext/statutory-instrument/ - entities in this namespace are Canadian statutory instruments. The namespace is suffixed with the identifier given to the instrument under the Statutory Instruments Regulations ( https://laws-lois.justice.gc.ca/eng/regulations/C.R.C.,_c._1509/FullText.html ) Sections 5 and 6. Where the regulations (or practices) around setting identifiers are inconsistent between the English and French versions of the Act (ie. Section 5(b)), the specification in the English text is used for the purposes of establishing a unique identifier. Where identifiers contain / characters, a dash - is substituted. Where identifiers contain spaces, an underscore _ is substituted. The annual statutes are particularly prone to mangling in practice, so they are flattened to the form SC-0000c00. These substitutions are made to resolve regulation ID conflicts with the URI schema defined in RFC3986. Note that this namespace holds the annual statutes, the amending regulations, and their consolidated forms.

  • https://orders-in-council.canada.ca/ - entities in this namespace are Canadian orders-in-council. The namespace is suffixed with the numeric identifier of the order-in-council, unmodified.

  • https://www.tpsgc-pwgsc.gc.ca/recgen/orgid/ - entities in this namespace are organizations within the canadian federal government. The namespace is suffixed with the immutable PWGSC financial ID of the organization.

RDF Types