Difference between revisions of "Form:Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
-->}}<!--  
 
-->}}<!--  
 
--><!--
 
--><!--
--><!-- get the title
+
--><!-- get other values
 
-->{{#vardefine: varQuestionTitle|{{#show:{{FULLPAGENAME}}|?Question Title|link=none}}|}}<!--
 
-->{{#vardefine: varQuestionTitle|{{#show:{{FULLPAGENAME}}|?Question Title|link=none}}|}}<!--
--><!--
 
--><!-- get the formula
 
 
-->{{#vardefine: varQuestionTitleFormula|{{#show:{{FULLPAGENAME}}|?Question Title Formula|link=none}}|}}<!--
 
-->{{#vardefine: varQuestionTitleFormula|{{#show:{{FULLPAGENAME}}|?Question Title Formula|link=none}}|}}<!--
--><!--
 
--><!-- get the object type
 
 
-->{{#vardefine: varObjectType|{{#show:{{FULLPAGENAME}}|?Object Type|link=none}}|}}<!--
 
-->{{#vardefine: varObjectType|{{#show:{{FULLPAGENAME}}|?Object Type|link=none}}|}}<!--
 
-->{{#vardefine: varObjectClass|{{#show:{{FULLPAGENAME}}|?Object Class|link=none}}|}}<!--
 
-->{{#vardefine: varObjectClass|{{#show:{{FULLPAGENAME}}|?Object Class|link=none}}|}}<!--
--><!--
 
--><!-- get the predicate
 
 
-->{{#vardefine: varPredicate|{{#show:{{FULLPAGENAME}}|?Predicate|link=none}}|}}<!--
 
-->{{#vardefine: varPredicate|{{#show:{{FULLPAGENAME}}|?Predicate|link=none}}|}}<!--
 +
-->{{#vardefine: varAnswerTitleFormula|{{#show:{{FULLPAGENAME}}|?Answer Title Formula|link=none}}|}}<!--
 
--><!--
 
--><!--
 
--><!-- get heritable  
 
--><!-- get heritable  
Line 65: Line 60:
 
-->{{#if: {{#var: varInheritedFrom}}<!--
 
-->{{#if: {{#var: varInheritedFrom}}<!--
 
  -->|<!--
 
  -->|<!--
 +
  -->{{#vardefine: varHeritable|No}}<!--
 
   -->{{#vardefine: varTopicType|{{#show:{{#var: varInheritedFrom}}|?Topic Type|link=none}}|}}<!--
 
   -->{{#vardefine: varTopicType|{{#show:{{#var: varInheritedFrom}}|?Topic Type|link=none}}|}}<!--
 
   -->{{#vardefine: varSubfield|{{#show:{{#var: varInheritedFrom}}|?Subfield|link=none}}|}}<!--
 
   -->{{#vardefine: varSubfield|{{#show:{{#var: varInheritedFrom}}|?Subfield|link=none}}|}}<!--
Line 70: Line 66:
 
   -->{{#vardefine: varObjectClass|{{#show:{{#var: varInheritedFrom}}|?Object Class|link=none}}|}}<!--
 
   -->{{#vardefine: varObjectClass|{{#show:{{#var: varInheritedFrom}}|?Object Class|link=none}}|}}<!--
 
   -->{{#vardefine: varPredicate|{{#show:{{#var: varInheritedFrom}}|?Predicate|link=none}}|}}<!--
 
   -->{{#vardefine: varPredicate|{{#show:{{#var: varInheritedFrom}}|?Predicate|link=none}}|}}<!--
  -->{{#vardefine: varQuestionTitle|{{#show:{{#var: varInheritedFrom}}|?Question Title|link=none}}|}}<!--
 
 
   -->{{#vardefine: varQuestionTitleFormula|{{#show:{{#var: varInheritedFrom}}|?Question Title Formula|link=none}}|}}<!--
 
   -->{{#vardefine: varQuestionTitleFormula|{{#show:{{#var: varInheritedFrom}}|?Question Title Formula|link=none}}|}}<!--
   -->{{#vardefine: varHeritable|No}}<!--
+
   -->{{#vardefine: varQuestionTitle|{{DecodeTitleFormula|title={{#var: varQuestionTitle}}|formula={{#var: varQuestionTitleFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{#var: varObjectClass}}|}}|}}<!--
 +
  -->{{#vardefine: varQuestionTextFormula|{{#show:{{#var: varInheritedFrom}}|?Question Text Formula|link=none}}|}}<!--
 +
  -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{#var: varQuestionTextFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{#var: varObjectClass}}|}}|}}<!--
 +
  -->{{#vardefine: varAnswerTitleFormula|{{#show:{{#var: varInheritedFrom}}|?Answer Title Formula|link=none}}|}}<!--
 +
  -->{{#vardefine: varSingleAnswerTextFormula|{{#show:{{#var: varInheritedFrom}}|?Single Answer Text Formula|link=none}}|}}<!--
 +
  -->{{#vardefine: varMultipleAnswersTextFormula|{{#show:{{#var: varInheritedFrom}}|?Multiple Answers Text Formula|link=none}}|}}<!--
 
-->}}<!--  
 
-->}}<!--  
 
--><!--  
 
--><!--  
Line 97: Line 97:
 
! Heritable: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Can a similar question be also asked about the subtypes of its subject? E.g. the question "What epistemic stances can be taken towards epistemic elements?" is heritable, as similar questions can be also asked about the subtypes of epistemic element: "What epistemic stances can be taken towards theories?", "What epistemic stances can be taken towards questions?", etc. NOTE: inherited questions are not themselves heritable.</p>
 
! Heritable: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Can a similar question be also asked about the subtypes of its subject? E.g. the question "What epistemic stances can be taken towards epistemic elements?" is heritable, as similar questions can be also asked about the subtypes of epistemic element: "What epistemic stances can be taken towards theories?", "What epistemic stances can be taken towards questions?", etc. NOTE: inherited questions are not themselves heritable.</p>
 
|<!--
 
|<!--
 +
-->{{{field|Inherited From|hidden|default={{#var: varInheritedFrom}}|}}}<!--
 
-->{{#if: {{#var: varHeritable}}<!--
 
-->{{#if: {{#var: varHeritable}}<!--
 
  -->|<!-- if heritable is known, it cannot be changed
 
  -->|<!-- if heritable is known, it cannot be changed
Line 139: Line 140:
 
|width="70%"|<!--
 
|width="70%"|<!--
 
-->{{#if: {{#var: varInheritedFrom}}<!--
 
-->{{#if: {{#var: varInheritedFrom}}<!--
  -->|<!--
+
  -->| {{#var: varQuestion}} {{{field|Question|hidden|default={{#var: varQuestion}}|}}}<!--  
  -->{{#vardefine: varTopicType|{{#show:{{#var: varInheritedFrom}}|?Topic Type|link=none}}|}}<!--
 
  -->{{#vardefine: varSubfield|{{#show:{{#var: varInheritedFrom}}|?Subfield|link=none}}|}}<!--
 
 
  -->| {{{field|Question|input type=textarea|rows=4|mandatory}}}<!--
 
  -->| {{{field|Question|input type=textarea|rows=4|mandatory}}}<!--
 
-->}}<!--  
 
-->}}<!--  
Line 161: Line 160:
 
!width="30%"| Predicate: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">A question prompts to semantically link a subject with an object by means of a certain predicate. The predicate can be plain text or a term registered in the encyclopedia. E.g. for the question "What are the subtypes of epistemic element?", the predicate is "subtype of". For the question "Which epistemic stances can be taken towards theories?", the predicate is "can be taken towards". The predicate can be a term registered in the encyclopedia or some text.</p>
 
!width="30%"| Predicate: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">A question prompts to semantically link a subject with an object by means of a certain predicate. The predicate can be plain text or a term registered in the encyclopedia. E.g. for the question "What are the subtypes of epistemic element?", the predicate is "subtype of". For the question "Which epistemic stances can be taken towards theories?", the predicate is "can be taken towards". The predicate can be a term registered in the encyclopedia or some text.</p>
 
|width="70%"|<!--
 
|width="70%"|<!--
-->{{#if: {{#var: varPredicate}}<!--
+
-->{{#if: {{#var: varInheritedFrom}}<!--
  -->|{{#var: varPredicate|}}<!--
+
  -->|{{#var: varPredicate|}} {{{field|Predicate|hidden|default={{#var: varPredicate|}}|}}}<!--
   -->{{{field|Predicate|hidden|default={{#var: varPredicate|}}|}}}<!--
+
-->|<!--
-->| {{{field|Predicate|input type=combobox|values from category=Definitional Topic}}}<!--
+
   -->{{#if: {{#var: varPredicate}}<!--
-->}}  
+
  -->|{{#var: varPredicate|}} {{{field|Predicate|hidden|default={{#var: varPredicate|}}|}}}<!--
 +
  -->| {{{field|Predicate|input type=combobox|values from category=Definitional Topic}}}<!--
 +
  -->}}<!-- of predicate is given
 +
-->}}<!--
 +
-->
 
|-
 
|-
 
! Object Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Semantically, a question is an RDF triple, where the subject and the predicate are known, while the object is asked for. Thus, a question asks for an object that is related by means of the given predicate to the given subject. The answer's object may be an open text or it can be something more restricting, such as a subtype of a certain class, a number, an enumeration, or even a regular expression.</p>
 
! Object Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Semantically, a question is an RDF triple, where the subject and the predicate are known, while the object is asked for. Thus, a question asks for an object that is related by means of the given predicate to the given subject. The answer's object may be an open text or it can be something more restricting, such as a subtype of a certain class, a number, an enumeration, or even a regular expression.</p>
 
|{{#if: {{#var: varObjectType}}<!--
 
|{{#if: {{#var: varObjectType}}<!--
  -->|{{#var: varObjectType|}}<!--
+
  -->|{{#var: varObjectType|}} <div style="display: none;">{{{field|Object Type|input type=dropdown|values=Boolean, Class, Enumeration, Regular Expression, Text|default={{#var: varObjectType|}}|show on select=Boolean=>OTBoolean;Class=>OTClass;Enumeration=>OTEnumeration;Regular Expression=>OTRegexp;Text=>OTText}}}</div> <!--
  -->{{{field|Object Type|hidden|default={{#var: varObjectType|}}|}}}<!--
 
 
  -->| {{{field|Object Type|input type=dropdown|mandatory|values=Boolean, Class, Enumeration, Regular Expression, Text|default=Text|show on select=Boolean=>OTBoolean;Class=>OTClass;Enumeration=>OTEnumeration;Regular Expression=>OTRegexp;Text=>OTText}}} <!--
 
  -->| {{{field|Object Type|input type=dropdown|mandatory|values=Boolean, Class, Enumeration, Regular Expression, Text|default=Text|show on select=Boolean=>OTBoolean;Class=>OTClass;Enumeration=>OTEnumeration;Regular Expression=>OTRegexp;Text=>OTText}}} <!--
 
-->}}
 
-->}}
Line 181: Line 183:
 
{| class="formtable"
 
{| class="formtable"
 
!width="30%"| Text for "True": <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The text that corresponds to value "True". If not given, the software will use "Yes" for value "True".</p>
 
!width="30%"| Text for "True": <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The text that corresponds to value "True". If not given, the software will use "Yes" for value "True".</p>
|width="70%"| {{{field|Object Value True|input type=text|size=50|maxlength=200}}}
+
|width="70%"| {{{field|Object Value True|input type=text|size=50|maxlength=200|default=Yes|mandatory}}}
 
|-
 
|-
 
! Text for "False": <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The text that corresponds to value "False". If not given, the software will use "No" for value "False".</p>
 
! Text for "False": <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The text that corresponds to value "False". If not given, the software will use "No" for value "False".</p>
| {{{field|Object Value False|input type=text|size=50|maxlength=200}}}
+
| {{{field|Object Value False|input type=text|size=50|maxlength=200|default=No|mandatory}}}
 
|}</div><!--
 
|}</div><!--
 
--><!--
 
--><!--
Line 225: Line 227:
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">* For Singular Capitalized with an Article: <a Subject>, <a Predicate>, <an Object>. </p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">* For Singular Capitalized with an Article: <a Subject>, <a Predicate>, <an Object>. </p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, the answer's formulation text will be taken from the value of the answer's object.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, the answer's formulation text will be taken from the value of the answer's object.</p>
|width="70%"| {{{field|Single Answer Text Formula|input type=textarea|rows=4}}}  
+
|width="70%"| {{{field|Single Answer Text Formula|input type=textarea|rows=4|default={{#var: varSingleAnswerTextFormula}}|}}}  
 
|-
 
|-
 
! Multiple Answers Text Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to format a sentence that combines all the answers to the question and presents them together. E.g. "The stances of <object> can be taken towards <subjects>" can produce “The stances of theory acceptance, theory use, and theory pursuit can be taken towards theories”. Note that, in this case, <object> will be converted by into a comma separated array of values.</p>
 
! Multiple Answers Text Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to format a sentence that combines all the answers to the question and presents them together. E.g. "The stances of <object> can be taken towards <subjects>" can produce “The stances of theory acceptance, theory use, and theory pursuit can be taken towards theories”. Note that, in this case, <object> will be converted by into a comma separated array of values.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, a comma separated list of individual formulations will be printed.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, a comma separated list of individual formulations will be printed.</p>
| {{{field|Multiple Answers Text Formula|input type=textarea|rows=4}}}  
+
| {{{field|Multiple Answers Text Formula|input type=textarea|rows=4|default={{#var: varMultipleAnswersTextFormula}}|}}}  
 
|-
 
|-
 
! Answer Title Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to construct the title (aka the page name) of an answer to this question. Use the variables <subject>, <predicate>, and <object> as well as their various word forms (indicated above). E.g. if the subject is Theory and the object is Theory Acceptance, then "Epistemic Stances Towards <Subjects> - <Object>" will produce "Epistemic Stances Towards Theory - Theory Acceptance". NOTE: Make sure to use the Capitalized word forms in page titles.</p>
 
! Answer Title Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to construct the title (aka the page name) of an answer to this question. Use the variables <subject>, <predicate>, and <object> as well as their various word forms (indicated above). E.g. if the subject is Theory and the object is Theory Acceptance, then "Epistemic Stances Towards <Subjects> - <Object>" will produce "Epistemic Stances Towards Theory - Theory Acceptance". NOTE: Make sure to use the Capitalized word forms in page titles.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the formula is empty, the user will be prompted to enter an answer's title.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the formula is empty, the user will be prompted to enter an answer's title.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">IMPORTANT: the author names and the year of formulation will be added to the answer's page title automatically.</p>
 
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">IMPORTANT: the author names and the year of formulation will be added to the answer's page title automatically.</p>
| {{{field|Answer Title Formula|input type=textarea|rows=4}}}  
+
| {{{field|Answer Title Formula|input type=textarea|rows=4|default={{#var: varAnswerTitleFormula}}|}}}  
 
|-
 
|-
 
! 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>
Line 262: Line 264:
 
! Related Topics: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">List all the topics related to this topic. NOTE: Do not include the parent topic and the subtopics of this topic, as these will be displayed automatically. IMPORTANT: Those related questions that don't currently have an accepted theory will be listed in the ''Open Questions'' section.</p>
 
! Related Topics: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">List all the topics related to this topic. NOTE: Do not include the parent topic and the subtopics of this topic, as these will be displayed automatically. IMPORTANT: Those related questions that don't currently have an accepted theory will be listed in the ''Open Questions'' section.</p>
 
| {{{field|Related Topics|input type=tokens|max values=20|existing values only|values from category=Topic}}}
 
| {{{field|Related Topics|input type=tokens|max values=20|existing values only|values from category=Topic}}}
 +
|-
 +
! Sorting Order: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">This number will be used to position this question and the answers within the lists of questions/answers (e.g. when displaying the answers to a question's subquestions). The sorting is done in ascending order; the lower numbers will be displayed earlier. The allowed range is 1..9999. If unassigned, the value of 10000 will be assigned and the topic will be displayed last.</p>
 +
| {{{field|Sorting Order|property=Sorting Order}}}
 
<!--
 
<!--
 
--><!-- only editors can see or modify the page status
 
--><!-- only editors can see or modify the page status
Line 272: Line 277:
 
{{!}} {{{field|Editor Notes|input type=textarea|rows=3}}}<!--
 
{{!}} {{{field|Editor Notes|input type=textarea|rows=3}}}<!--
 
-->}}<!-- ifingroup
 
-->}}<!-- ifingroup
-->
+
-->
|-
 
! Order: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">First-order questions are questions about the process of scientific change. Second-order questions are questions about first-order questions or theories. E.g. ''How do theories become accepted?'' is a first-order question in scientonomy, whereas ''Is the law of theory acceptance a tautology?'' is a second-order question.</p>
 
| {{{field|Order|input type=dropdown|mandatory|values=1,2|default=1|show on select=2=>secondorder}}}
 
 
|}
 
|}
<div id="secondorder">
 
{| class="formtable"
 
!width="30%"| First Order Elements: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The first order epistemic elements (theories and/or questions) about which this second-order question is. E.g. the second-order question ''Is the law of theory acceptance a tautology?'' is about the law of theory acceptance which is itself a first-order theory, whereas the second order question ''Is the theory rejection theorem deducible from the law of inertia?'' is about first-order theory rejection theorem and the first-order law of scientific inertia.</p>
 
|width="70%"| {{{field|Lower Order Elements|input type=tokens|existing values only|values from category=First Order Element}}}
 
|}</div>
 
 
{{{end template}}}
 
{{{end template}}}
  

Latest revision as of 15:44, 20 February 2023

This is the form that is used to create/edit all non-definitional topics - descriptive or normative. The form requires that a subject is specified. It should be called exclusively from the definitional topic pages to ensure that all topics have a subject.

To create definitional topics, use Form:Definitional Topic.

NOTE: The form is a work in progress.

query string=
 Topic[Subject]= //the subject. Mandatory. Should be a page registered in the encyclopedia.
 &
 Topic[Topic Type]= //the topic type {Descriptive, Normative}. For definitional topics, use the form [[Form:Definitional Topic]] 
 &
 Topic[Subfield]= //the subfield {Ontology, Dynamics, ???}.
 &
 Topic[Inherited From]= //the question from which this question is inherited (if any).