OslTemplate:Property/Quantity: Difference between revisions

From Onterface Dataspace
(allow special chars in unit values)
Tag: 2017 source edit
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
}}
}}
This is a property of type [[Has type::Quantity]] {{#if: {{{main_unit|}}}  
This is a property of type [[Has type::Quantity]] {{#if: {{{main_unit|}}}  
|with main unit 1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}} and main display unit [[Display units::<nowiki>{{{main_unit}}}</nowiki>]]|}} {{#if:{{{subquantity_of|}}}
|with main unit 1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}} and main display unit [[Display units::{{{main_unit}}}]]|}} {{#if:{{{subquantity_of|}}}
|with display units {{#arraymap:{{{display_units|}}}|;|x|x}}{{#set: |Display units={{{display_units|}}}|+sep=; }} and input units {{#arraymap:{{{input_units|}}}|;|x|x}}{{#set: |HasInputUnitSymbol={{{input_units|}}}|+sep=; }}, is a subquantity of [[Subproperty of::{{{subquantity_of}}}]]|}}{{#if:{{{base_quantity|}}}
|with display units {{#arraymap:{{{display_units|}}}|;|x|x}}{{#set: |Display units={{{display_units|}}}|+sep=; }} and input units {{#arraymap:{{{input_units|}}}|;|x|x}}{{#set: |HasInputUnitSymbol={{{input_units|}}}|+sep=; }}, is a subquantity of [[Subproperty of::{{{subquantity_of}}}]]|}}{{#if:{{{base_quantity|}}}
|<nowiki> </nowiki> and has base quantity [[HasBaseQuantity::{{{base_quantity}}}]]|}}.  
|<nowiki> </nowiki> and has base quantity [[HasBaseQuantity::{{{base_quantity}}}]]|}}.  
{{#if: {{{main_unit|}}} | {{#subobject: {{{main_unit_name|{{{main_unit}}}}}}
{{#if: {{{main_unit|}}} | {{#subobject:  
|@category=UnitDefinition
|@category=UnitDefinition
|HasUnitSymbol={{{main_unit}}}
|HasUnitSymbol={{{main_unit}}}
Line 21: Line 21:
|IsDisplayUnit=True
|IsDisplayUnit=True
|IsInputUnit=True
|IsInputUnit=True
|IsMainUnit=True   main_unit_ontology_iri
|IsMainUnit=True
|Equivalent URI={{{main_unit_ontology_iri|}}}|+sep=;
|HasOntologyUri={{{main_unit_ontology_uri|}}}|+sep=;
}}<!--
}}<!--
-->{{#set:  
-->{{#set:  
Line 28: Line 28:
|HasUnitDefinition=1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}}
|HasUnitDefinition=1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}}
|HasUnitSymbol={{{main_unit}}}
|HasUnitSymbol={{{main_unit}}}
|HasMainUnit={{FULLPAGENAME}}#{{{main_unit_name|{{{main_unit}}}}}}
|HasUnit={{FULLPAGENAME}}#{{{main_unit_name|{{{main_unit}}}}}}
}}
}}
|}}
|}}
Line 35: Line 33:
{{#ask: [[{{FULLPAGENAME}}]] |?Corresponds to|format=table}}
{{#ask: [[{{FULLPAGENAME}}]] |?Corresponds to|format=table}}


{{{description|}}}
[[HasDescription::{{{description|}}}]]


{{#arraymap:{{{ontology_iri|}}}|;|x|[[Equivalent URI::x]]|\n}}
{{#arraymap:{{{ontology_iri|}}}|;|x|[[Equivalent URI::x]]|\n}}

Latest revision as of 07:39, 8 November 2022


Related form: Form:Property/Quantity


Cookies help us deliver our services. By using our services, you agree to our use of cookies.