Difference between revisions of "Wikispooks:SMWObject"
Jump to navigation
Jump to search
m (Text replacement - "WikiSpooks" to "Wikispooks") |
(Update and add lede etc. to match standard format) |
||
Line 1: | Line 1: | ||
{{HelpSection|image=SMW.png}} | {{HelpSection|image=SMW.png}} | ||
− | + | '''SMWObjects on Wikispooks''' are a consequence of using [[Semantic Mediawiki]]. Each page is assigned to one of the below object types by using the matching template. The most important {{NS|main}} templates are: [[person]], [[group]], [[event]] and [[concept]]. All items in the {{NS|document}} must be of type [[document]]. | |
− | + | ||
− | + | == Subobjects == | |
− | + | In fact there is not quite a one to one relationship between semantic objects and pages, since the software allows definition of more than one semantic object on each page. As of 2019, Wiksipooks uses this facility in the [[Template:SMWQuote|SMWQuote]] and [[Template:Job|Job]] templates, which both define their own semantic subobject. (To allows references to these data to appear on other pages). | |
− | + | ||
− | + | == Semantic Objects summary == | |
− | + | The full breakdown of [[Wikispooks:Semantic Objects]] is as follows. | |
− | All items in the {{NS|document}} must be of type [[document]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#ask: [[Has objectClass::SMWObject]] | {{#ask: [[Has objectClass::SMWObject]] | ||
|format=broadtable | |format=broadtable | ||
Line 24: | Line 15: | ||
|?has status = Status | |?has status = Status | ||
|?Description =Description | |?Description =Description | ||
− | |?has infobox= Infobox template | + | |?has infobox= Infobox template<ref>This is a legacy feature of the site, designed for the now deprecated direct importation of Infoboxes from Wikipedia.</ref> |
|mainlabel= Object Name | |mainlabel= Object Name | ||
}} | }} | ||
+ | {{SMWDocs}} | ||
+ | ==References== | ||
+ | {{Reflist}} | ||
{{Wikispooks Footer/Semantic Mediawiki}} | {{Wikispooks Footer/Semantic Mediawiki}} | ||
[[Category:Semantic Mediawiki]] | [[Category:Semantic Mediawiki]] |
Revision as of 07:57, 8 February 2019
SMWObjects on Wikispooks are a consequence of using Semantic Mediawiki. Each page is assigned to one of the below object types by using the matching template. The most important main: namespace templates are: person, group, event and concept. All items in the document: namespace must be of type document.
Subobjects
In fact there is not quite a one to one relationship between semantic objects and pages, since the software allows definition of more than one semantic object on each page. As of 2019, Wiksipooks uses this facility in the SMWQuote and Job templates, which both define their own semantic subobject. (To allows references to these data to appear on other pages).
Semantic Objects summary
The full breakdown of Wikispooks:Semantic Objects is as follows.
Object Name | #Objects | Status | Description | Infobox template[1] |
---|---|---|---|---|
Concept | 2,585 | stable | This is a catch-all object, to be used on all pages where the other objects don't apply. Extra top level objects will probably be split off from it in due course. | Infobox |
Decade | 30 | experimental | The object for calendar decades. | |
Document | 2,265 | stable | This object is only to be used for pages in the document: namespace. It is for documents created by 3rd parties. Document Editing Rules apply. | |
Employment | 2,554 | stable | The object for names of jobs important enough to have their own Wikispooks page. | Infobox |
Event | 1,358 | stable | The object for experiences/operations that happened, will happen or were planned to happen. | Infobox event |
Group | 4,913 | stable | The object for groups of people. For individuals, use 'person' | Infobox organization |
Person | 13,536 | stable | Use if the subject of the page is an individual human being. For multiple people, use the 'Group' object. | Infobox person |
Place | 374 | experimental | This experimental object is for regions, cities, grassy knolls, wine cellars etc. | Infobox settlement |
Property | 265 | stable | The relationships used by SMW to connect pages together. This object mandated for the property: namespace. | |
Publication | 258 | experimental | This is for pages in the Main: namespace about 3rd party publications. For the contents of these publications, use Template:Document in the Document: namespace. | Infobox |
Quotation | 2,124 | stable | Quotations are the record of speech of third parties. Direct quotes must be within double quote marks. | |
Video | 64 | stable | The object for videos. | |
Website | 405 | stable | The object for websites. This is currently the only main namespace object which doesn't have an infobox. | |
Year | 344 | stable | The object for calendar years. |
Examples
Page name | Description |
---|---|
Concept | This is a catch-all object, to be used on all pages where the other objects don't apply. Extra top level objects will probably be split off from it in due course. |
Decade | The object for calendar decades. |
Document | This object is only to be used for pages in the document: namespace. It is for documents created by 3rd parties. Document Editing Rules apply. |
Employment | The object for names of jobs important enough to have their own Wikispooks page. |
Event | The object for experiences/operations that happened, will happen or were planned to happen. |
Group | The object for groups of people. For individuals, use 'person' |
Person | Use if the subject of the page is an individual human being. For multiple people, use the 'Group' object. |
Place | This experimental object is for regions, cities, grassy knolls, wine cellars etc. |
Property | The relationships used by SMW to connect pages together. This object mandated for the property: namespace. |
Publication | This is for pages in the Main: namespace about 3rd party publications. For the contents of these publications, use Template:Document in the Document: namespace. |
Quotation | Quotations are the record of speech of third parties. Direct quotes must be within double quote marks. |
Video | The object for videos. |
Website | The object for websites. This is currently the only main namespace object which doesn't have an infobox. |
Year | The object for calendar years. |
Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.
References
- ↑ This is a legacy feature of the site, designed for the now deprecated direct importation of Infoboxes from Wikipedia.
| ||||||
|