Smwplussandbox/Tag data

I magine that your colleague Fred was so busy with his other work that he forgot to start an important task. Thus, you would like to remind him of his important task, say to update a screenshot in the documentation. You also want to add a deadline and relate it to "Test project". Therefore you create a new task named "Update screenshot" and tag the data in the article.

= Create a new task =

You can create a new task in this wiki by creating a new article.

 Task: Update Screenshots
 * 1) Open this article in a second tab to have the instructions and your new article side-by-side.
 * 2) Click on the "Create New Article"-link in the header of the wiki. The "Create New Article"-lightbox will open.
 * Createnewarticlelink.png
 * 1) The "Create New Article"-lightbox gives you a number of ready-to-use article creation alternatives.
 * Createnewarticlelightbox.png
 * 1) Enter the name of the new task that you want to create, e.g. "Update screenshots".
 * 2) Select the "Empty Article in WYSIWYG editor" option.
 * 3) Click on "OK". A new article will be created and the WYSIWYG editor opens.
 * 4) Copy the following box and paste it into the WYSIWYG editor:
 * 1) Copy the following box and paste it into the WYSIWYG editor:


 * Description

During the next phase, it is necessary to update the screenshots in the internal documentation.


 * Assignee

User:Fred


 * Start time

July 1, 2011


 * Deadline

December 1, 2011


 * Related to

This task is part of The famous Test project. '''Result: You have now a text about this task in your WYSIWYG editor. You will now create semantic annotations in the text.'''

= Switch ON the Data Toolbar =

In the WYSIWYG editor you switch on the tool "Data Toolbar". This tool supports you in creating semantic annotations.


 * 1) Click on the "Data Toolbar" icon in the WYSIWYG editor to switch on the Data Toolbar.
 * WWstb.png
 * 1) The Data Toolbar must be visible as an overlay in the WYSIWYG editor.
 * WWstb2.png

Result: You have activated the Data Toolbar in your WYSIWYG editor.

= Tag a category =

You annotate a category tag in the article.


 * 1) In the "Categories"-section of the Data Toolbar, you click on Annotate.
 * TUT firstannotation3.png
 * 1) Type in the Category: field: Smwplussandbox/Task
 * TUT firstannotation4.png
 * 1) Click Add

Result: A category tag for the category "Smwplussandbox/Task" has been created at the bottom of the article.

= Tag properties =

Now, you tag the data that is given in the richt text like e.g. say: "This is a start date", "This is an assignee" etc. Such tags are also referred to as "property annotations".


 * 1) Select the description of the task with the mouse pointer to open the Tagging floatbox.
 * 2) The Tagging Floatbox opens:
 * TUT firstannotation5.png
 * 1) Enter Smwplussandbox/Description in the field Property. If you press +  +, the autocompletion feature appears and you can also choose out of already existing properties.
 * 2) Click Add. The highlighted text indicates the annotation. Click [[File:B AAMdelete.png]] to delete the annotation; click [[File:B AAMedit.png]] to edit the annotation. Now you can continue with the other annotations.
 * 3) Mark "User:Fred" with the mouse, enter Smwplussandbox/Assigned to and click Add
 * 4) Annotate the start date with the property Smwplussandbox/Start date: July 1, 2011
 * 5) Annotate the end date with the property Smwplussandbox/End date: December 1, 2011
 * 6) Annotate "The famous Test project" with the property Smwplussandbox/Related to project
 * 7) Verify the completeness of your tags
 * TUT firstannotation9.png
 * 1) Click on the Save page button (at the left bottom of the article) to save the article and leave the WYSIWYG editor.
 * 2) Inspect the "Factbox" at the bottom of the article to verify the correctness of the data that you have just tagged
 * TutFactbox.png

Result: Your article contains tags for the description, assignee, start-, end-date and related project.

= Inspect the tasks in your Wiki =

Once the data has been tagged, you can use it for query anserwering. The table below lists all tasks that have been tagged in this wiki:

[ Refresh Page]

= Next Lesson =

E verything went fine? Good. Let us also hint you at the "tabular forms" as a result format that lets you even change values and add instances directly into the table, i.e. without creating a new article. This is the most comfortable way to create e.g. a new task for Fred that will be also reflected immediately in Mikes articles and tables.