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 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
Doam:AbstractModelConcentration 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 +
PropertyValue + and Other value +
Repositoryhttps://github.com/open-risk/concentrationMetrics +
Second PropertyValue +
Skos:memberConcentration Index +
Date
"Date" is a type and predefined property provided by Semantic MediaWiki to represent date values.
2011 +