Concept "Managing Domain Terms"

From SMW CindyKate - Main
Component1315963214
Jump to: navigation, search
[edit]
Keywords/Contexts


Concept "Managing Domain Terms"

Node · Reified Keywords · Domain Terms

Annotations

Content


An annotation (AnnotationPredicate::AnnotationObject) is reified with the help of subobject:AnnotationPredicate=AnnotationPredicate|AnnotationObject=AnnotationObject|ReifPred0=ReifObj0|ReifPred1=ReifObj1

{{DomainTerm|Node|Elasticsearch}}
Template:Keyword (edit)
<span class="Keyword">[[{{{1}}}]]</span><noinclude>[[Category:DSKIMMPETopLevelOntology]]</noinclude>
Template:DomainTerm (edit)
<includeonly><span class="domainTerm">[[{{{1}}}]] <sup class="domainTermDomain">[[{{{2}}}]]</sup></span>{{#subobject:AnnotationPredicate=MentionsDomainTerm|AnnotationObject={{{1}}}|PertainsToDomain={{{2}}}}}</includeonly><noinclude>[[Category:DSKMFCoreOntology]]</noinclude>
Node (edit)
{{KeywordPage}}
Template:KeywordPage (edit)
<includeonly>{{#arraydefine:array2|{{#ask:[[PertainsToDomain::{{PAGENAME}}]]|mainlabel=-|?AnnotationObject|format=array|link=none|sep=,}}}}{{#arrayunique:array2}}{|class=wikitable width=100%
!{{PAGENAME}} Terms
!Mentioned In
{{#arrayprint:array2||@@@[email protected]@@|{{DomainTermProfile|@@@[email protected]@@}}}}
|}
-----
'''<span class="domainTerm">{{PAGENAME}}</span> Domains:''' {{#ask:AnnotationPredicate::MentionsDomainTerm[[AnnotationObject::{{PAGENAME}}]]|mainlabel=-|?PertainsToDomain=|format=array|name=array1|link=none}}{{#arrayunique:array1}}{{#arrayprint:array1|&ensp;&middot;&ensp;|@@@[email protected]@@|<span class="domainTerm">[[@@@[email protected]@@]]</span>}}
-----
'''Subjects Keyworded ''{{PAGENAME}}'''''
{|class="display dskim_datatables" id="articles"
|
|
{{#ask:[[HasEntityKeyword::{{PAGENAME}}]]OR[[ConcernsAspect::{{PAGENAME}}]]OR[[MentionsDomainTerm::{{PAGENAME}}]]
|?HasEntityKeyword
|format=list
|template=SubjectsResultRow2
|link=none
|sep=;
}}
|}
__NOTOC__
[[Category:Keyword]]{{#default_form:Keyword}}
</includeonly><noinclude>[[Category:DSKIMMPETopLevelOntology]]</noinclude>
Template:SubjectsResultRow2 (edit)
<includeonly>|-
|'''[[{{{1}}}]]'''
{{#arraymap:{{{2|}}}|;|@@@@@@|<span class="Keyword">[[@@@@@@]]</span>|&ensp;&middot;&ensp;}}

{{#ask:[subobject::{{{1}}}]AnnotationPredicate::MentionsDomainTerm
|?AnnotationObject
|format=template
|template=DomainTermResultRow
|link=none
|sep=&ensp;&middot;&ensp;
}}
|{{#ask:[subobject::{{{1}}}][[AnnotationPredicate::+]]AnnotationType::SubjectAnnotation
|mainlabel=-
|?AnnotationPredicate
|?AnnotationObject
|format=template
|template=PropertyResultRow
|link=none
|sort=AnnotationPredicate
}}
|-</includeonly><noinclude>[[Category:DSKIMMPETopLevelOntology]]</noinclude>
Template:DomainTermResultRow (edit)
<span class="domainTerm">[[{{{2}}}]]</span><noinclude>[[Category:DSKMFOntologyModuleL0BB0]]</noinclude>
Template:PropertyResultRow (edit)
<includeonly>{{#ifeq:{{{1}}}|MentionsDomainTerm||* {{PropName|{{#formredlink:target=Property:{{{1}}}|form=Property|link text={{{1}}}|existing page link text={{{1}}}|tooltip=Click to initialize this property...}}}}{{#if:{{{2|}}}|&ensp;{{PropVal|{{#ifeq:{{#show:Property:{{{1}}}|?Has type|link=none}}|Page|[[{{{2}}}]]|{{{2}}}}}}}|}}}}</includeonly><noinclude>[[Category:DSKIMMPETopLevelOntology]]</noinclude>
Template:METADATA (edit)
<div class="HasEntityBlurb">[[HasEntityBlurb::{{{HasEntityBlurb|}}}]]</div>
{|class=wikitextpostertable width=100%
|
__TOC__
|
= Metadata =
{|class=wikitextpostertable width=100% cellpadding=20
|
<div style="font-family:monospace;">Keywords/Contexts</div>
{{#arraymap:{{{Keywords|}}}|;|@@@[email protected]@@|<span class="Keyword">[[HasEntityKeyword::@@@[email protected]@@]]</span>&ensp;|&middot;&ensp;}}
{{#ask:[subobject::{{FULLPAGENAME}}][[HasContext::+]]
|mainlabel=-
|?HasContext=
|format=ul
}}
<div style="font-family:monospace;">[[Component1315963214|Domain Terms]]</div>
{{#ask:[subobject::{{FULLPAGENAME}}]AnnotationPredicate::MentionsDomainTerm
|?AnnotationObject
|format=list
|template=DomainTermResultRow
|sep=&ensp;&middot;&ensp;
|link=none
}}
|<div style="font-family:monospace;">Annotations</div>
{|
{{#ask:[subobject::{{FULLPAGENAME}}][[AnnotationPredicate::+]]AnnotationType::SubjectAnnotation
|?AnnotationPredicate
|?AnnotationObject
|?AnnotationType
|sort=AnnotationPredicate
|format=template
|template=AnnotationResultItem
|link=none
}}
|}
|-
|colspan=2|{{#compound_query:[subobject::{{FULLPAGENAME}}]IsSubobjectType::UseCaseMotivation;?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
|[subobject::+][[IsMotivatedBy::{{FULLPAGENAME}}]];?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
|[subobject::+][[IsMotivating::{{FULLPAGENAME}}]];?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
|format=array|name=MotivationsDeclaredOnThisPageResultItem|link=none}}{{#ifeq:{{#arraysize:MotivationsDeclaredOnThisPageResultItem}}|0||<div style="background-color:lightblue;padding:10px;border-radius:10px;margin-bottom:20px;">'''<div style="font-family:monospace;">Motivations</div>'''<!--TODO: sep parameter! -->
{{#invoke:Motivations|main|{{#arrayprint:MotivationsDeclaredOnThisPageResultItem}}|{{FULLPAGENAME}}}}</div>}}
|}
= In this context&hellip; =
{{#ask:[[HasType::+]][[HasContext::{{FULLPAGENAME}}]]
|format=ul
}}

= What links here? =
{{Special:WhatLinksHere/{{FULLPAGENAME}}}}
<headertabs/>
|}
= Content =
{{#set:HasTitle={{{HasTitle}}}}}
{{#if:{{{1|}}}|{{#set:HasSubjectType={{{1}}}}}||}}
{{#set:HasTypeAndTitle={{#getdisplaytitle:{{FULLPAGENAME}}}}}}
<noinclude>[[Category:DSKMFOntologyModuleL0BB0]]</noinclude>
Template:AnnotationResultItem (edit)
<includeonly>{{#ifeq:{{{2}}}|MentionsDomainTerm||
|-
|{{PropName|{{#formredlink:target=Property:{{{2}}}|form=Property|link text={{{2}}}|existing page link text={{{2}}}|tooltip=Click to initialize this property...}}}}
|{{#ifeq:{{{4}}}|FixedPredicateAnonymousObject|{{#invoke:Annotations|AnonymousAnnotationFieldsTable|{{{3}}}}}|{{#if:{{{3|}}}|{{PropVal|{{#ifeq:{{#show:Property:{{{2}}}|?Has type|link=none}}|Page|[[{{{3}}}]]|{{{3}}}}}}}|}}}}
|-}}</includeonly><noinclude>[[Category:DSKIMMPETopLevelOntology]]</noinclude>
Template:Annotation (edit)
{{#if:{{{AnnotationPredicate|}}}
  |{{#arraymap:{{{AnnotationObjects|}}}|;
    |@@@[email protected]@@|
    {{#set:{{{AnnotationPredicate}}}[email protected]@@[email protected]@@}}
    |;
  }}
  {{#arraymap:{{{AnnotationObjects|}}}|;|@@@[email protected]@@|{{ManualSubobject|AnnotationSubject=none|AnnotationPredicate={{{AnnotationPredicate}}}|AnnotationObject[email protected]@@[email protected]@@}}
    |
  }}
  |'''{{wr|Error:MissingAnnotationPredicate}}'''
}}<noinclude>[[Category:DSKMFCoreOntology]]</noinclude>
Template:ManualSubobject (edit)
{{#subobject:AnnotationSubject={{{AnnotationSubject}}}|AnnotationPredicate={{{AnnotationPredicate}}}|AnnotationObject={{{AnnotationObject}}}|AnnotationType={{{AnnotationType|SubjectAnnotation}}} }}<noinclude>[[Category:DSKMFCoreOntology]]</noinclude>