Difference between revisions of "Semantic Documentation Example"
From Open Risk Manual
Wiki admin (talk | contribs) |
(No difference)
|
Latest revision as of 17:59, 20 November 2019
Contents
Example of Semantic Documentation of a Hypothetical Entry
Definition
- Gini Index is a type of Concentration Index.
- Gini Index' is one of Concentration Index
- Gini Index' is member of Concentration Index
Importing external vocabularies
foaf:name::Gini
Was invented by Gini. Has source code at URL Applies to timezone of TimeZone
List of imported vocabularies
Properties
Syntax for setting Property to Value
[[Property::value]]
Property Examples
- This entry has a Property attribute with value: value
- This entry has the same Property attribute with an additional value: other_value
- This entry has a Second property attribute the same value value
- This entry has a data property 2011. "Date" is a type and predefined property provided by Semantic MediaWiki to represent date values
A list of available predefined property types is here
Set Method
Note: Must have spaces around the property value
{{#set: repository| https://github.com/open-risk/concentrationMetrics }}
Factbox
A Factbox is included by inserting somewhere in the page
__SHOWFACTBOX__
The factbox displays any semantic data in the entry and in addition
- a link to the RDF feed (Special:ExportRDF/Article)
- a rendering of the semantic data (Special:Browse/:Article)
- links to search-by-property
Facts about "Semantic Documentation Example"
Doam:AbstractModel | Concentration Index + |
Foaf:homepage URL of the homepage of something, which is a general web resource. | URL + |
Foaf:name A name for some thing or agent. | Gini + |
Owl-time:Time Zone TimeZone | TimeZone + |
Owl:oneOf The property that determines an individual is an example of a class. | Concentration Index + |
Property | Value + and Other value + |
Repository | https://github.com/open-risk/concentrationMetrics + |
Second Property | Value + |
Skos:member | Concentration Index + |
Date "Date" is a type and predefined property provided by Semantic MediaWiki to represent date values. | 2011 + |