Difference between revisions of "Template:Semantic Element"
From KIproBatt Wiki
Simon Stier (talk | contribs) Tag: 2017 source edit |
Simon Stier (talk | contribs) m (Text replacement - "Is a" to "IsA") |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
=== Subpages === | === Subpages === | ||
{{#subpages: }} | {{#subpages: }} | ||
| − | </noinclude><includeonly><div style="display:none">{{:{{ROOTPAGENAME}}/_acl}}</div><!-- {{Purge link}} --> | + | </noinclude><includeonly><div style="display:none">{{:{{ROOTPAGENAME}}/_acl}}</div>[[Category:Semantic Element]]<!-- {{Purge link}} --> |
| − | {{{ | + | |
| + | {{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element|link type=button}} | ||
| + | {{#forminput:form=Semantic Element|button text=Create new element|placeholder=Name of new element}} | ||
| + | |||
| + | == Description == | ||
| + | {{{description|}}} | ||
<!-- {{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element}} --> | <!-- {{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element}} --> | ||
| − | |||
| − | |||
== Semantic Links == | == Semantic Links == | ||
{{{relations|}}} | {{{relations|}}} | ||
{{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Add or edit outgoing links}}<br/>To edit incoming links, go to the subjects site. | {{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Add or edit outgoing links}}<br/>To edit incoming links, go to the subjects site. | ||
| − | <!-- {{Set inverted property|property name= | + | <!-- {{Set inverted property|property name=HasPart|inverse property name=IsPartOf|semantic link=True}} --> |
=== Outgoing === | === Outgoing === | ||
<div class='link-to-form-if-new' id='Semantic Element'> | <div class='link-to-form-if-new' id='Semantic Element'> | ||
| Line 53: | Line 56: | ||
[[Category:Semantic Statement]] [[has subject::{{PAGENAME}}]] OR | [[Category:Semantic Statement]] [[has subject::{{PAGENAME}}]] OR | ||
[[Category:Semantic Statement]] [[has object::{{PAGENAME}}]] | [[Category:Semantic Statement]] [[has object::{{PAGENAME}}]] | ||
| − | <!-- |? | + | <!-- |?Has subject=Subject |
| − | |? | + | |?Has property=Property |
| − | |? | + | |?Has object=Object --> |
| − | <!-- |? | + | <!-- |?Has quantity=Quantity |
| − | |? | + | |?Has value=Value |
| − | |? | + | |?Has unit=Unit |
| − | |? | + | |?Has quantity type=Type |
| − | |? | + | |?Has relation qualifier=Relation type |
| − | |? | + | |?Has relation reference=Relation target --> |
| − | <!-- |? | + | <!-- |?Has quality=Quality |
| − | |? | + | |?Has reference=Reference --> |
|mainlabel=Statement | |mainlabel=Statement | ||
<!-- |@deferred --> | <!-- |@deferred --> | ||
| Line 73: | Line 76: | ||
|link=none | |link=none | ||
}} | }} | ||
| − | <!-- Add properties from statements --> | + | |
| + | == External Identifiers == | ||
| + | IRI: {{{iri|}}} | ||
| + | |||
| + | {{{external_identifiers|}}} | ||
| + | |||
| + | <!-- Process specific: Add properties from statements --> | ||
{{#arraymap: | {{#arraymap: | ||
{{#ask: [[Has subject::{{FULLPAGENAME}}]] [[Has property::Property:Correlation to]] [[Has subobject.Has object::Correlation/Defined direct correlation]] | {{#ask: [[Has subject::{{FULLPAGENAME}}]] [[Has property::Property:Correlation to]] [[Has subobject.Has object::Correlation/Defined direct correlation]] | ||
| Line 92: | Line 101: | ||
<!-- [[Has defined direct correlation to::__PARAM__]] --> | <!-- [[Has defined direct correlation to::__PARAM__]] --> | ||
| − | {{#if: {{#ask: [[{{FULLPAGENAME}}]] [[ | + | {{#if: {{#ask: [[{{FULLPAGENAME}}]] [[IsA::Process parameter]]}} | {{Semantic Element/Process parameter}} |<!-- No process parameter -->}} |
</includeonly> | </includeonly> | ||
Latest revision as of 05:41, 4 September 2022
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.