Ontology "dataspectsSystemCoreOntology"

From FindAndLearn::Cookbook
C1588549209
Jump to: navigation, search


Templates Properties
Concepts
Forms
Categories Main
Modules MediaWiki
Talk




Define an entity type, e.g. "Diagram"

Diagram
{{EntityType
  |HasKeyword=
}}
Template:Diagram Form:Diagram
{{METADATA
  |Keywords={{{HasKeyword|}}}
  |HasEntityTitle={{{HasEntityTitle}}}
  |HasEntityBlurb={{{HasEntityBlurb|}}}
  |HasEntityType=Diagram
}}

{{Annotation
  |AnnotationPredicate=HasDrawIoURL
  |AnnotationObject={{{HasDrawIoURL|}}}
}}
{{{info
  |add title=New Diagram
  |edit title=Edit Diagram
  |page name=C<unique number;random;10>
}}}

{{FormHeader|Diagram}}
  !Has draw.io URL
  |{{{field|HasDrawIoURL|input type=textarea}}}
{{StandardFormSections}}
{{FormFooter}}

Template:METADATA

{|class=wikitextpostertable width=100%
|
__TOC__
|
= About =
{|class=wikitextpostertable width=100% cellpadding=20
|<div class="HasEntityBlurb">[[HasEntityBlurb::{{{HasEntityBlurb|}}}]]</div>
|-
|EntityType "[[{{{HasEntityType}}}]]"
|-
|
<div style="font-family:monospace;">Keywords/Contexts</div>
{{#arraymap:{{{Keywords|}}}|;|@@@[email protected]@@|<span class="Keyword">[[HasEntityKeyword::@@@[email protected]@@]]</span> |· }}
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[HasContext::+]]
|mainlabel=-
|?HasContext=
|?HasComment=
|format=template
|template=ContextResultItem
|link=none
}}
|-
|<div style="font-family:monospace;">Annotations</div>
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[AnnotationPredicate::+]]
|mainlabel=-
|?AnnotationPredicate
|?AnnotationObject
|?AnnotationType
|sort=AnnotationPredicate
|format=template
|template=AnnotationResultItem
|link=none
}}
|}
= In this context… =
{{#ask:[[HasEntityType::+]][[HasContext::{{FULLPAGENAME}}]]
|format=ul
}}

= What links here? =
{{Special:WhatLinksHere/{{FULLPAGENAME}}}}
= CONTENT =
''See below…''
<headertabs/>
|}
{{DISPLAYTITLE:{{{HasEntityType}}} "{{{HasEntityTitle}}}"}}
{{#if:{{{1|}}}|{{#set:HasEntityType={{{1}}}}}||}}<noinclude>This is temporary!</noinclude>
{{#set:HasEntityTitle={{{HasEntityTitle}}}}}
{{#set:HasEntityType={{{HasEntityType}}}}}
{{#set:HasEntityTypeAndEntityTitle={{{HasEntityType}}} "{{{HasEntityTitle}}}"}}
{{#default_form:{{{HasEntityType}}}}}[[Category:Entity]][[Category:{{{HasEntityType}}}]]