Difference between revisions of "Template:Semantic Element"

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

Revision as of 12:39, 1 June 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