Difference between revisions of "Help:Uncertain information"

From Security Vision
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
=Forms with Uncertain information section=
 
=Forms with Uncertain information section=
In Forms+templates Uncertain information is expressed in a"Uncertain information" section.
+
'''In Forms+templates Uncertain information is expressed in a"Uncertain information" section.
 +
'''
  
* fields that might include uncertain information are double in a section "Uncertain Information"
+
The "Uncertain information" section contains an invocation of the '''[[Template:Subobject Uncertain Information]]''' ie from [[Form:Deployments]]
* there is a "for template" multi sub-form the different Uncertain fields are able to be chosen
+
<pre>
* sub form entry a subobject with the category Uncertain Information
+
== Uncertain information ==
* contents of the subobject are displayed via compound query
 
  
with:
+
{{{for template|Subobject Uncertain Information|multiple|add button text=Add uncertain information}}}
* [[Form:Prototype Uncertain Information]] - Temporary Prototype 
+
* '''Field:''' {{{field|Propertyname|input type=dropdown|max values=1|values=City,Country,Managed by,Used by,Involved Entities,Datasets Used|mandatory}}}
* [[Template:Prototype Uncertain Information]] - Temporary Prototype
+
* '''Value:''' {{{field|value|input type=text|mandatory}}}
* [[Template:Subobject Uncertain Information]] - Permanent
+
* '''Certainty:''' {{{field|Certainty|default=Rumoured|input type=dropdown|values=Rumoured,Speculative|mandatory}}}
* [[:Category:Prototype Uncertain Information]] - Temporary
+
* '''Citekey of source:''' {{{field|Citekey|input type=combobox|values={{#ask:[[-Citation resource::+]]|?Citation key=|mainlabel=-|limit=10000|order by=Citation key}} }}}
* [[:Category:Uncertain Information]] - Permanent, works with subobject
+
* '''Description:''' {{{field|Description}}}
 +
{{{end template}}}
 +
</pre>
 +
* in the  ''Field:'' field the "values=" parameter determines the option of uncertain field/property
 +
* the ''Value:'' field determines the the value for a given the chosen field
 +
* the ''Certainty'' field defines the value of certainty
  
Note: A compound query, is used instead of an ask query, to display the values (via query) of the Uncertain Information subobject, since it uses the Cite extension for citation, hence the query has to be done, both the the suboject and references (read more about querying Cite values in https://github.com/SemanticMediaWiki/SemanticCite/issues/95)
 
  
==Test Pages: ==
+
* the "for template" multi sub-form allows for multiple "Uncertain fields" to be created in a single form page
* [[TestUncertaintInforation0001]]
+
* the [[Template:Subobject Uncertain Information]] creates a [https://www.semantic-mediawiki.org/wiki/Subobject SMW subobject] with the [[:Category:Uncertain Information]]
* [[TestUncertaintInforation0002]]
+
* The contents of '''a subobject are not visible in the page which holds it, but can be displayed with a query''', which is done in the [[Template:Subobject Uncertain Information]]
 +
** Note: '''A compound query, is used instead of an ask query''', to display the values (via query) of the Uncertain Information subobject, since it uses the Cite extension for citation, hence the query has to be done, both the the suboject and references (read more about querying Cite values in https://github.com/SemanticMediaWiki/SemanticCite/issues/95)
  
 +
===Uses===
 +
* [[Form:Deployments]]
 +
* [[Form:Dataset]]
  
 +
===Examples===
 +
* [[TestDataset]]
  
 
=Qualifiers with Record (datatype) Property=
 
=Qualifiers with Record (datatype) Property=

Latest revision as of 10:41, 6 May 2022

Forms with Uncertain information section[ ]

In Forms+templates Uncertain information is expressed in a"Uncertain information" section.

The "Uncertain information" section contains an invocation of the Template:Subobject Uncertain Information ie from Form:Deployments

== Uncertain information ==

{{{for template|Subobject Uncertain Information|multiple|add button text=Add uncertain information}}}
* '''Field:''' {{{field|Propertyname|input type=dropdown|max values=1|values=City,Country,Managed by,Used by,Involved Entities,Datasets Used|mandatory}}}
* '''Value:''' {{{field|value|input type=text|mandatory}}}
* '''Certainty:''' {{{field|Certainty|default=Rumoured|input type=dropdown|values=Rumoured,Speculative|mandatory}}}
* '''Citekey of source:''' {{{field|Citekey|input type=combobox|values={{#ask:[[-Citation resource::+]]|?Citation key=|mainlabel=-|limit=10000|order by=Citation key}} }}}
* '''Description:''' {{{field|Description}}}
{{{end template}}}
  • in the Field: field the "values=" parameter determines the option of uncertain field/property
  • the Value: field determines the the value for a given the chosen field
  • the Certainty field defines the value of certainty


Uses[ ]

Examples[ ]

Qualifiers with Record (datatype) Property[ ]

Previously qualifiers and other statements about statements were implemented by User:Ruben using Properties with Record type, such as Property:Potentially used by with fields Property:Institution, Property:Information Certainty, Property:Citation reference, Property:Description

Example: [[Potentially used by::TestInstitution;Speculative]]

Deployments Form and Template invokes Template:InstitutionCertainty to create the record.