Semantic Mashup Perspective

Published 2014-10-28 | (Compatible with SDK 5.1 and 2014 models)

It describes the window, views, and menus in Semantic Mashup perspective.

It provides the Semantic Mashup perspective.

The Semantic Mashup perspective consists of the following views.

Figure 1 : Semantic Mashup perspective layout

  1. Perspective Open Menu is a menu to open directly Semantic Mashup perspective.
    1. Open perspective directly
    2. Open perspective typically in Eclipse
  2. Semantic Service Explorer is a window to perform semantic service search.
  3. Matching View is a view to perform semantic service matching.
  4. Properties View is a view to retrieve service information details.
  5. Change History shows the history of subscribed resource commands.
  6. Change Comparison shows the resource changes by comparing two version of the same resource document.
  7. Sample Source Code Search screen enables the user to find sample source codes from the code repository and displays the source code that includes the keyword in a query.
  8. Graphic Service Mashup Editor enables the user to mashup services graphically on this editor.

Perspective Open Menu

To use the semantic SDK, Semantic Mashup perspective should be opened. A user has two options to open perspective.

  • Open perspective directly
    1. Click the Open Perspective menu () in the menu bar, then Semantic Mashup perspective opens directly.
  • Open perspective typically in Eclipse
    1. Click the Open Perspective menu () in the menu bar.
    2. Select ‘Semantic Mashup.’
    3. Click the ‘OK’.

Figure 2 : Setting the Semantic Mashup Perspective

Service Registry Menu

It is a menu to display graphically service registry information. See more details in Service Registry Statistics.

Semantic Service Explorer

In the Semantic Service Explorer, a user can input a keyword and search services related to the given keyword. The results are classified into 3rd party web services or and Samsung SDK library APIs and displayed in the table format.

The two ways of searching are provided as follows :

  • Multi-keyword based semantic service search: If more than one key word is entered, the meaning of the keyword (name, service provider, transmission protocol, etc.) is analyzed and semantic search is performed.
  • Keyword-based service search: The service can be searched by specifying a particular service attribute, or using the keyword value selected from the tag cloud.

See more details in Semantic service discovery and Semantic service matching.

Properties View

A user can select one service API among the results of searching, he can see more detail information about the service API in the Properties View. The detail information includes authentication, category, description, language, goal, input, output, protocol, service_name, service_provider, service_url, and usage_url. When a user double-clicks the ‘usage_url’ listed in the View, the web URL opens into an internal web browser.

Figure 3 : Properties View screen

Matching View

Matching View provides the matching function for more than two services to support Semantic Service Mashup. The following two matching functions are supported.

  • Compatible service matching: The compatible service for the service selected in the search results will be searched, and the relation between them will be calculated. The relational diagram among services will be calculated by comparing the functional, non-functional, and I/O information of each service.
  • Interoperable service matching: The subsequent interoperable service will be searched for the service selected in the search results, and the relation between them will be calculated. The relational diagram among services will be calculated by comparing the functional, non-functional, and I/O information of each service.

When the user searches the web service or Samsung SDK API in Semantic Service Explorer and selects either Interoperable Matching or Compatible Matching for the found service, the related information will be displayed on screen.

The matching information will be displayed in table format in Matching View, and the evaluation of matching will be displayed with a percent and bar graph. In addition, the property of the service shown in Target services will be displayed in Properties View when it is selected. The sample code snippet of the service in black can be dragged and dropped into the editor.

  1. The matching screen is initialized when ‘brush’ icon is clicked.
  2. The list of sources stored in a history of matching is displayed.
  3. The bar graph that shows the weights of the matching criteria (‘FunctionValue’, ‘NonFunctionValue’, and ‘DataValue’) applied for the current matching results. The weights of the matching criteria can be changed by moving slide bar from left to right, vice versa.
  4. Total number of target services which were matched with a source will be displayed on Matching View.

Figure 4 : Matching View screen

In addition, the Matching View screen shows a detailed result view function.

Select a target service from the table to view the detailed information from the Matching View screen, and then click the right mouse button to display the ‘Show Detail’ menu. Click the menu to display a dialog screen that compares the selected service with other services in detail.

  1. Select a service to view its details.
  2. Right click the mouse button and select the ‘Show Detail’ menu.
  3. The detailed information on the selected service will be displayed.
  4. The detailed information on other services to compare it with will be displayed.
  5. The detailed information on the service located before the service to be compared will be displayed.
  6. The detailed information on the service located after the service to be compared will be displayed.

Figure 5 : Matching View screen

Sample Source Code Search

Change History

‘Change History’ shows the history of subscribed resource commands.

  1. The history of subscribed resource commands will be displayed in a tree format.
  2. The user can select the criteria to check the results (project or service).

Figure 7 : Change History screen

Change Comparison

‘Change Comparison’ shows the resource changes by comparing the previous version resource document with that of the current version.

  1. Select a resource document to compare.
  2. When the resource document is successfully selected as described above, a list of resource documents that can be compared will be displayed. Select a resource document for comparison from the list.
  3. The resource document on the right side can be compared, based on the left side, or vice versa. In addition, documents on both sides can be returned to the original state.

Figure 8 : Change Comparison screen

For more infomation

  1. How to Use(Video Tutorial) : For a use's better understanding, vide tutorals how to use this tool are found here.