Last visited:
Created by Ontoprise on 24 November 2011, at 07:14

From SSKE

Jump to: navigation, search
The Data Toolbar
Learn to tag data in articles
Sandb AdvAno head.png

Contents


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.

  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
  3. The "Create New Article"-lightbox gives you a number of ready-to-use article creation alternatives.
    Createnewarticlelightbox.png

  4. Enter the name of the new task that you want to create, e.g. "Update screenshots".
    Information.png Note: If the string input field turns red, then the names is already used and you have to choose a different one!

  5. Select the "Empty Article in WYSIWYG editor" option.
  6. Click on "OK". A new article will be created and the WYSIWYG editor opens.
  7. Copy the following box and paste it into the WYSIWYG editor:

Task: Update Screenshots

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
  2. The Data Toolbar must be visible as an overlay in the WYSIWYG editor.
    WWstb2.png

    Information.png Note: If the Data Toolbar is NOT visible then you should click again on the Data Toolbar icon in the WYSIWYG editor.

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
  2. Type in the Category: field: Smwplussandbox/Task
    TUT firstannotation4.png
  3. 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

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

Information.png Note: If the data that is displayed in the factbox does not fully correspond to the data that you have tagged then open the article again and correct your annotations in the WYSIWYG editor.

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:

Start date End date Assigned to Description
Compile a functions overviewwarning.png'Compile a functions overview' may not use property 'Part of bundle', according to property definition. 2455879.514 November 2011 2455896.51 December 2011 Fredwarning.png'Fred' may not use property 'Part of bundle', according to property definition. We need an overview of all the functions provided with our new flight simulator version.
Make the flight demo workingwarning.png'Make the flight demo working' may not use property 'Part of bundle', according to property definition. 2456171.51 September 2012 2456175.55 September 2012 Fredwarning.png'Fred' may not use property 'Part of bundle', according to property definition. There are still some problems with the demo version of the fligth simulation software. Please make it work!
New task 2456057.510 May 2012 Irina.turcu To finish demo.
Visit Sarah for the next steps meetingwarning.png'Visit Sarah for the next steps meeting' may not use property 'Part of bundle', according to property definition. 2455896.51 December 2011 2455571.510 January 2011 Fredwarning.png'Fred' may not use property 'Part of bundle', according to property definition. Meet with Sarah to talk about the next steps we have to do for placing the flight simulator in the market.
Information.png Note: If you have created new tasks and annotated them correctly then you should come back to this article to inspect if they appear in the list below. If they do NOT appear then you are probably missing the category annotation "Task in sandbox" in your new tasks!
Information.png Note: To update the page and get the latest changed facts, click on the "Refresh Page"-link below
 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.




It's time to go to the next sandbox: create queries for the data in the wiki and embed the results in articles.

Button GoToNext.png
Facts about Smwplussandbox/Tag dataRDF feed
Part of bundleSmwplussandbox  +
RationaleThis article is the second lession of the SMW+ sandbox tour. It contains a step-by-step guide for new users about how to enter the first annotation into this wiki, how to query for it, and how to embed query results in the article.  +
This page was last modified on 24 November 2011, at 07:14.This page has been accessed 5,116 times.