Web Interaction

Index

Populating the ontology by dragging information from web pages and "bookmarking" them

Semantic Turkey offers a few drag&drop functionalities for easily get information from web pages and use it to populate the ontology. Additionally, the reference to the source web pages where the information is extracted, is kept inside the ontology repository so that an immediate "bookmarking" facility is made available. This combination of operations, which involves the creation of 4 to 7 rdf triples (depending on the kind of functionality which is selected) with a few point-and-clik actions, eases a lot the ontology building process and let the user concetrate on its task, whether he is an ontology engineer or just a web user willing to use more advanced forms of bookmarking

Drag&drop text to create an instance of a class

You can drag and drop a selection of text from a web page displayed in the browser on the icon of a class to create an instance of that class. The selection will become the local name of the new individual, the instance counter for that class (the number between parentheses near the class icon) will increment by one and the new individual icon will be shown in the instance panel

drag and drop text to create and instance

You drag'n'drop operation, other than creating the individual, has also created a link between it and the web page. If you right click on the individual and choose the "weblinks" option, like in figure below:

weblinks option

a window like the one below will open, offering all the web pages which contain material related to this individual. As you can see, your knowledge remains well organized and free of any redundance, while you can make explicit as many links as you want between web pages and objects. Also, web pages are reified insire the ontology, and you can as well get all the individuals which are linked to a given web page

weblinks

The linking between objects and web pages is registered in the ontology repository, and its elements are defined according to the "Semantic Annotation" ontology, which is hidden to the user (this ontology, and its instances, can be made visible through the menu option "Tools-->Semantic Turkey-->Visualization Level-->debug")

Drag&drop to add a property value to an instance

You can drag and drop a selection of text from a web page over the icon that represents an individual, in order to add a value to a property for that individual.
In the example, the research interest: "Knowledge-Based Systems" is being dragged over the individual: "Armando Stellato". A dialog, like the one in figure below, will open, prompting the user to choose the fitting property.

drag and drop text over an instance to add/create a datatype property value

The dialog in figure will initially show all the properties which are typically associated to the type of individual you're characterizing (in technical terms: those properties whose domain contains one of the classes which are types for the selected individual). You can mark the option “Show all properties” (like in figure above) to view all the properties contained in the ontology. Maybe the one you're looking for is not a typical characteristic of the type of individual you're considering, nonetheless it can be used to add an attribute to that individual description.
If you're following this example, you can scroll the list until you find the "interest" property.
It is showed in green because it is a datatype property, that is: an attribute, represented by a primitive datatype (a string, integer...) which adds more information to the description of the individual.

Now, if you double click on the icon of the instance, you will see the individual-view window, like in figure below

individual description

As you can see, the description of "Armando Stellato" now contains also his interest on "Knowledge-Based Systems"

You can also choose different kind of properties. Yellow properties (Annotation properties) can be used to provide useful annotations about your ontology; their values can be characterized by the language in which they are expressed (which is prompted for by the application): you can use, for example, "rdfs:comment" to add documentation about what a given class may represent or "rdfs:label" may represent additional linguistic descriptors for the same object (synonyms, translations).

Blu properties with the white vertical stripe are instead called Object Properties and express relationships between existing objects of your domain. For example, in the previous page if you select "University of Rome, Tor Vergata", and then drag it over the individual "Armando Stellato", like in in picture below:

drag and drop text over an instance to add/create a datatype property value

and the select the "stx:worksIn" property, as in picture below:

choose worksIn property for relating selected individual to other individual annotated from the web

you will be prompted with the following screen:

choose object property value

You can now, with one simple operation (by choosing a class on the left part of the window and clicking on the "Bind to new individual..." button):

  1. create a new object, named after your selected text fragment, typized after the class you selected in the last panel
  2. related this object to the selected individual (the one where you dropped the selection) through the selected property
  3. add a link between the newly created object and the web page where you found it

You can also select an existing object (from the panel on the right, showing existing individuals for each class), and press the "Add new annotation..." button. In this case, only operations 2 and 3 will be performed on the already existing object.

Drag'n'drop to add a futher annotation to an existing object

Go to site: http://www.ingegneria-online.it/?q=node/12 and then drag again "ARMANDO STELLATO", but this time drop it on the already existing instance (figure below)

drag and drop text over an instance to add a further annotation

now, when the dialog below appears, choose the different option from the radio buttons: “ "Armando Stellato" is a further annotation of "Armando Stellato" ”

add a further annotation

With this action, you added a further weblink to the individual "Armando Stellato", which can be inspected, as usual, from the "WebLinks" described above.