Difference between revisions of "Form:Ontological Topic"
Jump to navigation
Jump to search
(Undo revision 16825 by Hakob Barseghyan (talk)) Tag: Undo |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the form used to create/edit all ontological questions - those of existence of X, subtypes/supertypes of X, and associations of X. | This is the form used to create/edit all ontological questions - those of existence of X, subtypes/supertypes of X, and associations of X. | ||
− | + | it expects the following parameters passed onto the query string in the following format: | |
<pre> | <pre> | ||
query string= | query string= | ||
Line 25: | Line 25: | ||
{| class="formtable" | {| class="formtable" | ||
!width="30%"| Term: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What term (class) is this ontological question about? If the term is not in the list, please first add it in the Definitional Topic category.</p> | !width="30%"| Term: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What term (class) is this ontological question about? If the term is not in the list, please first add it in the Definitional Topic category.</p> | ||
− | |width="70%"|{{#var:varTerm|}} {{{field|Term|hidden|default={{#var:varTerm|}}|}}} | + | |width="70%"|<!-- |
+ | -->{{#ifeq: {{#var:varTermGiven}}|yes<!-- | ||
+ | -->|{{#var:varTerm|}}<!-- | ||
+ | -->{{{field|Term|hidden|default={{#var:varTerm|}}|}}}<!-- | ||
+ | -->|{{{field|Term|input type=dropdown|existing values only|values from category=Definitional Topic|mandatory}}} <!-- | ||
+ | -->}} | ||
|- | |- | ||
! Question Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Ontological questions can concern the existence of the a class, its subtypes or supertypes, or its associations (aggregation, composition).</p> | ! Question Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Ontological questions can concern the existence of the a class, its subtypes or supertypes, or its associations (aggregation, composition).</p> | ||
− | |{{#var:varQuestionType|}} {{{field|Ontological Question Type|hidden|default={{#var:varQuestionType|}}|}}} | + | |<!-- |
+ | -->{{#if: {{#var:varQuestionType}}<!-- | ||
+ | -->|{{#var:varQuestionType|}}<!-- | ||
+ | -->{{{field|Ontological Question Type|hidden|default={{#var:varQuestionType|}}|}}}<!-- | ||
+ | -->|{{{field|Ontological Question Type|input type=dropdown|mandatory|values=Existence, Subtypes, Supertypes, Associations|default=Existence}}} <!-- | ||
+ | -->}} | ||
|- | |- | ||
! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide some detail here and explain the importance of the question at issue. This section can include the usual wiki markup.</p> | ! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide some detail here and explain the importance of the question at issue. This section can include the usual wiki markup.</p> |
Revision as of 18:02, 17 December 2022
This is the form used to create/edit all ontological questions - those of existence of X, subtypes/supertypes of X, and associations of X. it expects the following parameters passed onto the query string in the following format:
query string= Term= //the name of the term & QuestionType= // the type of the question from this list {Existence,Subtypes,Supertypes,Associations}