Ontology "dataspectsSystemCoreOntology"

From dataspects::Wiki
C1588549209
Jump to navigation Jump to 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|}}}|;|@@@0@@@|<span class="Keyword">[[HasEntityKeyword::@@@0@@@]]</span> |· }}
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[ds0--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::+]][[ds0--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}}}]]