Semantic Documentation Example

From Open Risk Manual

Example of Semantic Documentation of a Hypothetical Entry

Definition


Importing external vocabularies

foaf:name::Gini

Was invented by foaf:name::Gini. Has source code at foaf:homepage::URL Applies to timezone of owl-time:Time Zone::TimeZone


List of imported vocabularies

Properties

Syntax for setting Property to Value

   [[Property::value]]

Property Examples

  • This entry has a Property attribute with value: [[Property::value]]
  • This entry has the same Property attribute with an additional value: [[Property::other_value]]
  • This entry has a Second property attribute the same value Second Property::value
  • This entry has a data property Date::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 }}

{{#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

__SHOWFACTBOX__