Modifying occurrences

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
  
 
Occurrence editor doesn't allow user to specify occurrence scopes freely. User must always choose scope from Wandora's language topics. This is usually enough as scopes should not vary too much. To add occurrence of non-listed scope, add your scope topic as an instance to '''Wandora language'''. Read more [[How to add another variant name language|here]].
 
Occurrence editor doesn't allow user to specify occurrence scopes freely. User must always choose scope from Wandora's language topics. This is usually enough as scopes should not vary too much. To add occurrence of non-listed scope, add your scope topic as an instance to '''Wandora language'''. Read more [[How to add another variant name language|here]].
 
Occurrences employ schema similar to association schema. Occurrence schema specifies what kind of occurrences can be added to a topic i.e. the types of allowed occurrences. Read more about the schema [[Schema|here]]. As schema creation is rather difficult, also schemaless occurrence addition is allowed.
 
  
 
Topic map standard supports also URL occurrences addition to text occurrences. However, Wandora does '''not''' support URL occurrences as it is possible to set URL's external representation, the string representing URL, as the occurrence.  
 
Topic map standard supports also URL occurrences addition to text occurrences. However, Wandora does '''not''' support URL occurrences as it is possible to set URL's external representation, the string representing URL, as the occurrence.  

Revision as of 21:45, 1 February 2009

Occurrence is a solid text block associated to the topic. For historical reasons Wandora calls occurrences also as Text datas. Occurrence has a type and a scope. Type is a topic that describes the occurrence, date of birth for example. Scope is also a topic describing the occurrence. Usually scope specifies the language of the occurrence. Occurrence is added to a topic by selecting Add occurrence... menu option. Option opens a dialog window:


Schemaless textdata editor.gif


Occurrence creation dialog has a button for occurrence type topic, text fields for all defined languages. In order to create an occurrence, user has to select type topic and write text to one or more text fields, and finally click OK button.

Occurrence editor doesn't allow user to specify occurrence scopes freely. User must always choose scope from Wandora's language topics. This is usually enough as scopes should not vary too much. To add occurrence of non-listed scope, add your scope topic as an instance to Wandora language. Read more here.

Topic map standard supports also URL occurrences addition to text occurrences. However, Wandora does not support URL occurrences as it is possible to set URL's external representation, the string representing URL, as the occurrence.

After occurrence creation Wandora user can modify occurrences. To modify single occurrence, user can click the text field showing occurrence's first words. Occurrence text editor is shown below. Editor contains some additional features compared to creation dialog. For example, user can strip html elements in occurrence with menu option Edit > Strip HTML tags. Refine menu contains occurrence text classifiers and topic finders for example.


Editing occurrence after initial addition.


More advanced occurrence operations are found in Topics > occurrence menu of topic tables. These operations include:

  • Delete occurrences with type removes occurrences of given type from context topics.
  • Delete all occurrences removes all occurrences from context topics.
  • Regex replace modifies occurrence text with given regular expression. This can be used to perform rather complicated search and replace operations for example.



See also

Personal tools