Difference between revisions of "Help:Uncertain information"

From Security Vision
Jump to: navigation, search
 
Line 25: Line 25:
 
* the "for template" multi sub-form allows for multiple "Uncertain fields" to be created in a single form page
 
* the "for template" multi sub-form allows for multiple "Uncertain fields" to be created in a single form page
 
* the [[Template:Subobject Uncertain Information]] creates a [https://www.semantic-mediawiki.org/wiki/Subobject SMW subobject] with the [[:Category:Uncertain Information]]
 
* the [[Template:Subobject Uncertain Information]] creates a [https://www.semantic-mediawiki.org/wiki/Subobject SMW subobject] with the [[:Category:Uncertain Information]]
* 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]]
+
* 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)
+
** 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===
 
===Uses===

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.