Wikidata:WikiProject Govdirectory/Data model

From Wikidata
Jump to navigation Jump to search
Welcome
to
WikiProject Govdirectory

Main

 

Discuss

 

Events

 

Queries

 

Data model

 

Error reports

 

This is a draft for a data model for public agencies. This is meant to be a generic and global data model, so add important country specific properties on the country subpage instead of here. Please help improve this model! There is also an extensive Entity Schema that you can use to discover new properties and use in various tools.

Model[edit]

Title ID Data type Description Examples Inverse
instance ofP31Iteminstance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform)
This is the most flexible property, but it is easier if there is a specific item for the type, like for example municipality of Sweden (Q127448)
Government agency X <instance of> Whatever type is fitting-
countryP17Itemcountry: sovereign state that this item is in (not to be used for human beings)Östhammar Municipality <country> Sweden-
applies to jurisdictionP1001Itemjurisdiction and jurisdiction: the item (institution, law, public office, public register...) or statement belongs to or has power over or applies to the value (a territorial jurisdiction: a country, state, municipality, ...)Swedish Environmental Protection Agency <applies to jurisdiction> Sweden-
located in the administrative territorial entityP131Itemadministrative territorial entity: the item is located on the territory of the following administrative entity. Use P276 for specifying locations that are non-administrative places and for items about events. Use P1382 if the item falls only partially into the administrative entity.
Perhaps not applicable to state level agencies.
Östhammar Municipality <located in the administrative territorial entity> Uppsala County-
parent organizationP749Itemparent company: parent organization of an organization, opposite of subsidiaries (P355)Swedish Environmental Protection Agency <parent organization> Ministry of the Environmenthas subsidiary
email addressP968URLemail address: email address, prefixed with mailto:Swedish Environmental Protection Agency <email address> mailto:registrator@naturvardsverket.se-
phone numberP1329Stringtelephone number: telephone number in standard format (RFC3966), without 'tel:' prefixSwedish Environmental Protection Agency <phone number> +46-10-698-10-00-
official website with qualifier language of work or nameP407Itemlanguage: language associated with this creative work (such as books, shows, songs, broadcasts or websites) or a name (for persons use "native language" (P103) and "languages spoken, written or signed" (P1412))Swedish Environmental Protection Agency <official website> https://www.naturvardsverket.se
<language of work or name> Swedish
-
main regulatory textP92Itemauthorizing legislation and constitution: text setting the main rules by which the subject is regulatedSwedish Environmental Protection Agency <main regulatory text> Ordinance (2012:989) with instructions for the Swedish Environmental Protection Agency-
Classification of the Functions of GovernmentP9798ItemClassification of the Functions of Government: UN classification to compare government agencies across countriesSwedish Environmental Protection Agency <Classification of the Functions of Government> 05.6.0 - Environmental protection n.e.c. (CS)-
citizen's initiatives URL with qualifier language of work or nameP407Itemlanguage: language associated with this creative work (such as books, shows, songs, broadcasts or websites) or a name (for persons use "native language" (P103) and "languages spoken, written or signed" (P1412))Karlstad Municipality <citizen's initiatives URL> https://karlstad.dialogportalen.se/
<language of work or name> Swedish
-
contact page URL with qualifier language of work or nameP407Itemlanguage: language associated with this creative work (such as books, shows, songs, broadcasts or websites) or a name (for persons use "native language" (P103) and "languages spoken, written or signed" (P1412))Swedish Environmental Protection Agency <contact page URL> https://www.naturvardsverket.se/om-oss/kontakt/-
Twitter (X) usernameP2002External identifierX account: this item's username on X (formerly Twitter); do not include the “@” symbolKarlstad Municipality <Twitter (X) username> KarlstadKommun-
Instagram usernameP2003External identifieritem's username on InstagramKarlstad Municipality <Instagram username> karlstadskommun-
Facebook usernameP2013External identifierFacebook page: identifier for an official (preferably) Facebook person, product or organization page (everything that follows URL part 'https://www.facebook.com/')Karlstad Municipality <Facebook username> karlstadskommun-
YouTube channel IDP2397External identifierYouTube channel ID, YouTube and YouTube Music: ID of the YouTube channel of a person or organisation (not to be confused with the name of the channel) The ID can also be used for music.youtube.com IDsKarlstad Municipality <YouTube channel ID> UCypOL0rdx_udylFAZ1WgvzQ-
LinkedIn company or organization IDP4264External identifieridentifier for an official company, school, organisation page, or showcase page, on LinkedInKarlstad Municipality <LinkedIn company or organization ID> karlstadskommun-
budgetP2769Quantitybudget: assigned monetary amount for a project (for the estimated cost of a film, also commonly referred to as budget, use P2130)
should be in "City of Eisenstadt" instead
Eisenstadt <budget> 42,256,600 euro-
total expenditureP2402Quantityexpense: amount of spending by this public or private entity, not to be confused with fiscal expenditure
should be in "City of Eisenstadt" instead
Eisenstadt <total expenditure> 42,255,800 euro-