https://www.openriskmanual.org/wiki/index.php?title=Semantic_Documentation_Example&feed=atom&action=historySemantic Documentation Example - Revision history2024-03-28T19:39:08ZRevision history for this page on the wikiMediaWiki 1.30.0https://www.openriskmanual.org/wiki/index.php?title=Semantic_Documentation_Example&diff=10943&oldid=prevWiki admin at 15:59, 20 November 20192019-11-20T15:59:18Z<p></p>
<p><b>New page</b></p><div>== Example of Semantic Documentation of a Hypothetical Entry ==<br />
<br />
=== Definition ===<br />
* '''Gini Index''' is a type of [[doam:AbstractModel::Concentration Index]]. <br />
* ''Gini Index''' is one of [[owl:oneOf::Concentration Index]]<br />
* ''Gini Index''' is member of [[skos:member::Concentration Index]]<br />
<br />
<br />
=== Importing external vocabularies ===<br />
<pre>foaf:name::Gini</pre><br />
Was invented by [[foaf:name::Gini]]. <br />
Has source code at [[foaf:homepage::URL]]<br />
Applies to timezone of [[owl-time:Time Zone::TimeZone]]<br />
<br />
<br />
List of [[:Category:Imported vocabulary | imported vocabularies]]<br />
<br />
== Properties ==<br />
Syntax for setting Property to Value<br />
<pre><br />
[[Property::value]]<br />
</pre><br />
<br />
=== Property Examples ===<br />
* This entry has a Property attribute with value: [[Property::value]]<br />
* This entry has the same Property attribute with an additional value: [[Property::other_value]]<br />
* This entry has a Second property attribute the same value [[Second Property::value]]<br />
* This entry has a data property [[Date::2011]]. "Date" is a type and predefined property provided by Semantic MediaWiki to represent date values<br />
<br />
<br />
A list of available predefined property types is [https://www.semantic-mediawiki.org/wiki/Help:Property_declaration here]<br />
<br />
=== Set Method ===<br />
''Note: Must have spaces around the property value''<br />
<pre><br />
{{#set: repository| https://github.com/open-risk/concentrationMetrics }}<br />
</pre><br />
{{#set: repository| https://github.com/open-risk/concentrationMetrics }}<br />
<br />
== Factbox ==<br />
A Factbox is included by inserting somewhere in the page<br />
<pre><br />
__SHOWFACTBOX__<br />
</pre><br />
<br />
The factbox displays any semantic data in the entry and in addition<br />
* a link to the RDF feed (Special:ExportRDF/Article)<br />
* a rendering of the semantic data (Special:Browse/:Article)<br />
* links to search-by-property<br />
<br />
__SHOWFACTBOX__<br />
<br />
<br />
[[Category:Admin]]<br />
[[Category:Sample pages]]</div>Wiki admin