Difference between revisions of "Form:Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 169: Line 169:
 
! 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}}} <!--
 
-->}}
 
-->}}

Revision as of 17:42, 19 January 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).