Difference between revisions of "Template:Semantic Element"

From KIproBatt Wiki
m
Tag: 2017 source edit
(add query for undefined direct correlations)
Tag: 2017 source edit
Line 81: Line 81:
 
|format=plain
 
|format=plain
 
}}
 
}}
|,|__PARAM__|[[Has defined direct correlation to::__PARAM__]]|\s}}
+
|,|__PARAM__|{{#set: Has defined direct correlation to=__PARAM__}}|\s}}
<!-- {{#set: Has defined direct correlation to=__PARAM__}} -->
+
{{#arraymap:
 +
{{#ask: [[Has subject::{{FULLPAGENAME}}]] [[Has property::Property:Correlation to]] [[Has subobject.Has object::Correlation/Undefined direct correlation]]
 +
|?Has object=
 +
|mainlabel=-
 +
|link=none
 +
|format=plain
 +
}}
 +
|,|__PARAM__|{{#set: Has undefined direct correlation to=__PARAM__}}|\s}}
 +
 
 +
<!-- [[Has defined direct correlation to::__PARAM__]] -->
  
 
</includeonly>
 
</includeonly>

Revision as of 07:39, 30 May 2021

This is the "Semantic Element" template. It should be called in the following format:

{{Semantic Element
|iri: ontology iri
|label: display name
|description: description
|relations: List of semantic links
}}

Edit the page to see the template text.

Subpages