Difference between revisions of "Template:Semantic Element"
From KIproBatt Wiki
Simon Stier (talk | contribs) m Tag: 2017 source edit |
Simon Stier (talk | contribs) (add query for undefined direct correlations) Tag: 2017 source edit |
||
| Line 81: | Line 81: | ||
|format=plain | |format=plain | ||
}} | }} | ||
| − | |,|__PARAM__| | + | |,|__PARAM__|{{#set: Has defined direct correlation to=__PARAM__}}|\s}} |
| − | + | {{#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 06: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.