Difference between revisions of "Template:Ontological Topic"
Jump to navigation
Jump to search
(28 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|History= | |History= | ||
|Current View= | |Current View= | ||
+ | |Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. For now it is allowed as a backdoor so that it can be assigned manually. | ||
|Related Topics= | |Related Topics= | ||
|Page Status= | |Page Status= | ||
|Editor Notes= | |Editor Notes= | ||
+ | |Sorting Order= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | |||
--><!-- | --><!-- | ||
− | --><!-- construct the question | + | -->{{#set:Term={{{Term|}}}|<!-- |
+ | -->Title={{PAGENAME}}|<!-- | ||
+ | -->Ontological Question Type={{{Ontological Question Type|}}}|<!-- | ||
+ | -->Parent Topic={{{Parent Topic|}}}|<!-- | ||
+ | -->Page Status={{{Page Status|Stub}}}|<!-- | ||
+ | -->Editor Notes={{{Editor Notes|}}}|<!-- | ||
+ | -->Topic Type=Descriptive|<!-- | ||
+ | -->Sorting Order={{{Sorting Order|10000}}}|<!-- default is 10000 | ||
+ | -->Subfield=Ontology|<!-- | ||
+ | -->Order=1|<!-- | ||
+ | -->}}<!-- | ||
+ | --><!-- | ||
+ | |||
+ | --><!-- construct the question and answer formula's | ||
+ | --><!-- | ||
-->{{#switch: {{{Ontological Question Type|}}}<!-- | -->{{#switch: {{{Ontological Question Type|}}}<!-- | ||
− | -->|Existence={{#vardefine: varQuestion|Does | + | -->|Existence=<!-- |
− | -->| | + | --><!-- |
− | -->| | + | -->{{#vardefine: varQuestion|Does {{PrintTermAnASingularLowercase|{{{Term|}}}|link}} exist?|}}<!-- |
− | -->|Associations={{#vardefine: varQuestion|How is | + | -->{{#vardefine: varSingleAnswerFormula|<Subject> <object>.}}<!-- |
+ | -->{{#vardefine: varMultipleAnswerFormula|<Subject> both exists and doesn't exist. Situations like this shouldn't happen, unless it is a Schrödinger's cat.}}<!-- | ||
+ | --><!-- | ||
+ | -->|Disjointness=<!-- | ||
+ | --><!-- | ||
+ | -->{{#vardefine: varQuestion|What other classes is the class of {{PrintTermSingularLowercase|{{{Term|}}}|link}} disjoint with, i.e. classes that don't share any instances with {{PrintTermSingularLowercase|{{{Term|}}}|link}}?|}}<!-- | ||
+ | -->{{#vardefine: varSingleAnswerFormula|The classes of <subject> are disjoint; they cannot have shared instances.}}<!-- | ||
+ | -->{{#vardefine: varMultipleAnswerFormula|}}<!-- no multiple formula for disjointness | ||
+ | --><!-- | ||
+ | -->|Subtypes=<!-- | ||
+ | --><!-- | ||
+ | -->{{#vardefine: varQuestion|What are the subtypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|link}}?|}}<!-- | ||
+ | -->{{#vardefine: varSingleAnswerFormula|<Object> is a subtype of <subject>.}}<!-- | ||
+ | -->{{#vardefine: varMultipleAnswerFormula|The subtypes of <subject> are <object>.}}<!-- | ||
+ | --><!-- | ||
+ | -->|Supertypes=<!-- | ||
+ | --><!-- | ||
+ | -->{{#vardefine: varQuestion|What are the supertypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|link}}?|}}<!-- | ||
+ | -->{{#vardefine: varSingleAnswerFormula|<Subject> is a supertype of <object>.}}<!-- | ||
+ | -->{{#vardefine: varMultipleAnswerFormula|The supertypes of <object> are <subject>.}}<!-- | ||
+ | --><!-- | ||
+ | -->|Associations=<!-- | ||
+ | --><!-- | ||
+ | -->{{#vardefine: varQuestion|How is the class of {{PrintTermSingularLowercase|{{{Term|}}}|link}} associated with other classes (and itself)? What aggregation, composition, or other association relations can exist between {{PrintTermPluralLowercase|{{{Term|}}}|link}}, as well as between {{PrintTermAnASingularLowercase|{{{Term|}}}|link}} and instances of other classes?|}}<!-- | ||
+ | -->{{#vardefine: varSingleAnswerFormula|<An object> is <a predicate> <a subject>.}}<!-- | ||
+ | -->{{#vardefine: varMultipleAnswerFormula|}}<!-- no multiple answer formula for associations | ||
+ | --><!-- | ||
-->}}<!-- switch | -->}}<!-- switch | ||
− | --><!-- now save the question | + | |
− | -->{{#set:Question={{#var:varQuestion}}|}}<!-- | + | --><!-- now save the question and the formulas |
+ | -->{{#set:<!-- | ||
+ | -->Question={{#var: varQuestion}}|<!-- | ||
+ | -->Single Answer Text Formula={{#var: varSingleAnswerFormula}}|<!-- | ||
+ | -->Multiple Answers Text Formula={{#var: varMultipleAnswerFormula}}|<!-- | ||
+ | -->}}<!-- | ||
--><!-- | --><!-- | ||
+ | |||
--><!-- get the formulated year the authors and from the term page and sync | --><!-- get the formulated year the authors and from the term page and sync | ||
-->{{#vardefine: varFormulatedYear|{{#show:{{{Term|}}}|?Formulated Year|link=none}}|}}<!-- | -->{{#vardefine: varFormulatedYear|{{#show:{{{Term|}}}|?Formulated Year|link=none}}|}}<!-- | ||
Line 59: | Line 106: | ||
-->{{#arrayunique: communitiesArray}}<!-- remove duplicates and empty values | -->{{#arrayunique: communitiesArray}}<!-- remove duplicates and empty values | ||
-->{{#arrayprint: communitiesArray||@@@@|{{#set: Accepted By=@@@@}}|}}<!-- | -->{{#arrayprint: communitiesArray||@@@@|{{#set: Accepted By=@@@@}}|}}<!-- | ||
− | |||
− | |||
− | |||
--><!-- | --><!-- | ||
--><!-- sync the acceptance records with that of the term | --><!-- sync the acceptance records with that of the term | ||
-->{{SyncAcceptanceRecords|source={{{Term|}}}|target={{FULLPAGENAME}}|}}<!-- | -->{{SyncAcceptanceRecords|source={{{Term|}}}|target={{FULLPAGENAME}}|}}<!-- | ||
--><!-- | --><!-- | ||
+ | --><!-- set Has Accepted Answer and Has No Accepted Answer | ||
+ | -->{{SetTopicCurrentAnswer|topic={{FULLPAGENAME}}|subfield=Ontology}}<!-- | ||
+ | --><!-- | ||
+ | --><!-- save the current Ontology for ease of access | ||
+ | -->{{#switch: {{{Ontological Question Type|}}}<!-- | ||
+ | -->|Existence={{SetTermOntologyExistence|term={{{Term|}}}|}}<!-- | ||
+ | -->|Disjointness={{SetTermOntologyDisjointness|term={{{Term|}}}|}}<!-- | ||
+ | -->|Subtypes={{SetTermOntologySubtypes|term={{{Term|}}}|}}<!-- | ||
+ | -->|Supertypes={{SetTermOntologySupertypes|term={{{Term|}}}|}}<!-- | ||
+ | -->|Associations={{SetTermOntologyAssociations|term={{{Term|}}}|}}<!-- | ||
+ | -->}}<!-- switch | ||
--><!-- | --><!-- | ||
--><!-- Calculate completion rates for each major property | --><!-- Calculate completion rates for each major property | ||
Line 90: | Line 145: | ||
{{#var: varQuestion}} <!-- | {{#var: varQuestion}} <!-- | ||
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!-- | -->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!-- | ||
− | -->{{#if: {{{Description|}}}|< | + | -->{{#if: {{{Description|}}}|<p>{{{Description|}}}</p>}}<!-- |
− | |||
− | {{{Description|}}} | ||
− | }} | ||
− | {{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}} | + | --><p>{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}} <!-- |
− | {{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!-- | + | -->{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!-- |
− | -->{{ | + | -->{{PrintOntologicalTopicAcceptedTheoriesList |
|topic={{FULLPAGENAME}} | |topic={{FULLPAGENAME}} | ||
− | | | + | |default= There is currently no accepted answer to this question. |
− | + | |bullets=yes | |
− | |bullets= | ||
|linebreak=no | |linebreak=no | ||
|communitiesfirst=no | |communitiesfirst=no | ||
− | + | }}</p><!-- | |
− | }}<!-- | + | |
− | --> | + | --><p> </p><!-- |
+ | |||
+ | --><!-- | ||
-->{{#if:{{{Prehistory|}}}|<nowiki/> | -->{{#if:{{{Prehistory|}}}|<nowiki/> | ||
==Broader History== | ==Broader History== | ||
Line 129: | Line 182: | ||
-->{{PrintTopicTheories<!-- | -->{{PrintTopicTheories<!-- | ||
-->|topic={{FULLPAGENAME}}<!-- | -->|topic={{FULLPAGENAME}}<!-- | ||
− | -->|intro= | + | -->|intro=The following answers have been added to this encyclopedia:<!-- |
-->|default=No answer to this question has been added to the encyclopedia. <!-- | -->|default=No answer to this question has been added to the encyclopedia. <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 136: | Line 189: | ||
{{#switch: {{{Ontological Question Type|}}}<!-- | {{#switch: {{{Ontological Question Type|}}}<!-- | ||
-->|Existence=<!-- | -->|Existence=<!-- | ||
− | --> | + | --><!-- |
-->{{#ifexist: {{{Term|}}} Exists<!-- | -->{{#ifexist: {{{Term|}}} Exists<!-- | ||
− | + | -->|<!-- | |
− | + | -->|To add the positive answer to the question, {{#formlink:form=Existence Theory|link text=click here|query string=Topic={{FULLPAGENAME}}&Existence=Exists}}. <!-- | |
-->}}<!-- if exists | -->}}<!-- if exists | ||
− | --> | + | --><!-- |
− | |||
-->{{#ifexist: {{{Term|}}} Does Not Exist<!-- | -->{{#ifexist: {{{Term|}}} Does Not Exist<!-- | ||
− | + | -->|<!-- | |
− | + | -->|To add the negative answer to the question, {{#formlink:form=Existence Theory|link text=click here|query string=Topic={{FULLPAGENAME}}&Existence=Does Not Exist}}. <!-- | |
-->}}<!-- if exists | -->}}<!-- if exists | ||
− | -->.<!-- | + | --><!-- |
+ | --><!-- | ||
+ | -->|Disjointness=If a theory stating the disjointness of {{PrintTermSingularLowercase|{{{Term|}}}|}} with other classes is missing, please {{#formlink:form=Disjointness Theory|link text=click here to add it|query string=Term={{{Term|}}}|}}.<!-- | ||
--><!-- | --><!-- | ||
− | -->|Subtypes=If a theory concerning the subtypes of {{ | + | -->|Subtypes=If a theory concerning the subtypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Parent={{{Term|}}}|}}.<!-- |
− | -->|Supertypes=If a theory concerning the supertypes of {{ | + | -->|Supertypes=If a theory concerning the supertypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Child={{{Term|}}}|}}.<!-- |
− | -->|Associations=If a theory concerning the associations of {{ | + | -->|Associations=If a theory concerning the associations of {{PrintTermAnASingularLowercase|{{{Term|}}}|}} is missing, please {{#formlink:form=Association Theory|link text=click here to add it|query string=Term={{{Term|}}}|}}.<!-- |
-->}}<!-- switch | -->}}<!-- switch | ||
--></div><!-- | --></div><!-- | ||
Line 175: | Line 229: | ||
--> | --> | ||
==Current View== | ==Current View== | ||
− | + | <!-- | |
− | {{ | + | -->{{#if: {{{Current View|}}}|<p>{{{Current View|}}}<p>|}}<!-- |
+ | --><!-- | ||
+ | --><!-- print the answers | ||
+ | --><!-- | ||
+ | --><p>{{PrintOntologicalTopicAcceptedTheoriesList | ||
|topic={{FULLPAGENAME}} | |topic={{FULLPAGENAME}} | ||
− | |default=There is currently no accepted | + | |default=There is currently no accepted view concerning the {{lc:{{{Ontological Question Type|}}}|}} of {{FULLPAGENAME}}. |
− | + | |bullets=yes | |
− | |||
− | | | ||
− | |||
|linebreak=yes | |linebreak=yes | ||
|communitiesfirst=yes | |communitiesfirst=yes | ||
− | }}<!-- | + | }}</p> |
− | --> | + | <!-- |
− | + | --><!-- | |
− | {{{ | + | --><!-- print the answer details: description etc. |
+ | --><!-- | ||
+ | -->{{PrintTopicAcceptedTheoriesDetails|topic={{FULLPAGENAME}}|}}<!-- | ||
+ | --> | ||
{{PrintTopicOpenQuestionsList | {{PrintTopicOpenQuestionsList | ||
|topic={{FULLPAGENAME}} | |topic={{FULLPAGENAME}} |
Latest revision as of 00:35, 28 February 2023
This is the template for all types of Topics - Definitional, Descriptive, or Normative. This template is to be used for all topics/questions the answers to which are definitions, descriptions, or prescriptions (it is used by Form:Topic).
It should be called in the following format:
{{Ontological Topic |Term= |Ontological Question Type= |Description= |Prehistory= |History= |Current View= |Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. For now it is allowed as a backdoor so that it can be assigned manually. |Related Topics= |Page Status= |Editor Notes= |Sorting Order= }}
Edit the page to see the template text.