Difference between revisions of "Wikispooks:SMWObject"

From Wikispooks
Jump to navigation Jump to search
(Improve description)
(→‎Subobjects: Update)
 
(8 intermediate revisions by the same user not shown)
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]].  
|-
+
 
|The most important {{NS|main}} templates are:
+
== Subobjects ==
*[[person]]
+
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. Wiksipooks currently uses this facility in the [[Template:SMWQ|SMWQ]] and [[Template:Job|Job]] templates, which both define their own semantic subobjects (for quotations and job postings respectively). (To allows references to these data to appear on other pages).
*[[group]]  
+
 
*[[event]]  
+
== Semantic Objects summary ==
*[[concept]]
+
The full breakdown of [[Wikispooks:Semantic Objects]] is as follows.
All items in the {{NS|document}} must be of type [[document]].
 
<br/><br/><br/>The full breakdown of [[WikiSpooks:Semantic Objects]] is as follows:
 
|{{#ask: [[Has objectClass::SMWObject]]
 
|format=googlepie
 
|?has usageCount
 
|width=700
 
|height=350
 
}}
 
|}
 
 
{{#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=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Infobox&nbsp;template&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+
|mainlabel=&nbsp;&nbsp;Object&nbsp;Name&nbsp;
|mainlabel=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Object&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
 
}}
 
}}
{{WikiSpooks Footer/Semantic Mediawiki}}
+
{{SMWDocs}}
 +
 
 +
==References==
 +
{{Reflist}}
 +
{{Wikispooks Footer/Semantic Mediawiki}}
 
[[Category:Semantic Mediawiki]]
 
[[Category:Semantic Mediawiki]]

Latest revision as of 20:54, 4 November 2023

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 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. Wiksipooks currently uses this facility in the SMWQ and Job templates, which both define their own semantic subobjects (for quotations and job postings respectively). (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 #ObjectsStatusDescription
Concept2,585stableThis 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.
Decade30experimentalThe object for calendar decades.
Document2,265stableThis object is only to be used for pages in the document: namespace. It is for documents created by 3rd parties. Document Editing Rules apply.
Employment2,554stableThe object for names of jobs important enough to have their own Wikispooks page.
Event1,358stableThe object for experiences/operations that happened, will happen or were planned to happen.
Group4,913stableThe object for groups of people. For individuals, use 'person'
Person13,536stableUse if the subject of the page is an individual human being. For multiple people, use the 'Group' object.
Place374experimentalThis experimental object is for regions, cities, grassy knolls, wine cellars etc.
Property265stableThe relationships used by SMW to connect pages together. This object mandated for the property: namespace.
Publication258experimentalThis is for pages in the Main: namespace about 3rd party publications. For the contents of these publications, use Template:Document in the Document: namespace.
Quotation2,124stableQuotations are the record of speech of third parties. Direct quotes must be within double quote marks.
Video64stableThe object for videos.
Website405stableThe object for websites. This is currently the only main namespace object which doesn't have an infobox.
Year344stableThe object for calendar years.

 

Examples

Page nameDescription
ConceptThis 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.
DecadeThe object for calendar decades.
DocumentThis object is only to be used for pages in the document: namespace. It is for documents created by 3rd parties. Document Editing Rules apply.
EmploymentThe object for names of jobs important enough to have their own Wikispooks page.
EventThe object for experiences/operations that happened, will happen or were planned to happen.
GroupThe object for groups of people. For individuals, use 'person'
PersonUse if the subject of the page is an individual human being. For multiple people, use the 'Group' object.
PlaceThis experimental object is for regions, cities, grassy knolls, wine cellars etc.
PropertyThe relationships used by SMW to connect pages together. This object mandated for the property: namespace.
PublicationThis is for pages in the Main: namespace about 3rd party publications. For the contents of these publications, use Template:Document in the Document: namespace.
QuotationQuotations are the record of speech of third parties. Direct quotes must be within double quote marks.
VideoThe object for videos.
WebsiteThe object for websites. This is currently the only main namespace object which doesn't have an infobox.
YearThe object for calendar years.
Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.



References

Wikispooks logo.png Policy.png Wikispooks to do.png Tools2.png SMW.png
Semantic
Mediawiki
Help.png