Creating a Semantic Web Service in 5 Easy Steps. Using SPARQLMotion in TopBraid Composer Maestro Edition



Similar documents
TopBraid Application Development Quickstart Guide. Version 3.3

Quick Start User Guide

Working with Office Applications and ProjectWise

IBM BPM V8.5 Standard Consistent Document Managment

Form Management Admin Guide

How To Create A Hyperlink In Publisher On Pc Or Macbookpress.Com (Windows) On Pc/Apple) On A Pc Or Apple Powerbook (Windows 7) On Macbook Pressbook (Apple) Or Macintosh (Windows 8

BusinessObjects Enterprise XI Release 2

Introduction. There are several bits of information that must be moved:

Installing and Running the Google App Engine On Windows

Business Process Management IBM Business Process Manager V7.5

Installing LearningBay Enterprise Part 2

Building A Web Database Using Contextual Mode

PC Agent Quick Start. Open the Agent. Autonomy Connected Backup. Version 8.8. Revision 0

Making a Web Page with Microsoft Publisher 2003

How to Attach Files in Blackboard Learn , Messages, Discussions, and Assignments

NetBeans IDE Field Guide

KeePass Getting Started on Windows

Running, Viewing, and Printing Reports Table of Contents

How to create pop-up menus

Upgrade of Business Systems Data Warehouse Reporting

Colorfly Tablet Upgrade Guide

Personalizing your Access Database with a Switchboard

Getting Started Guide

Managing Contacts in Outlook

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

Table of Contents. 1. Content Approval...1 EVALUATION COPY

How To Use Query Console

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Using an Automatic Back Up for Outlook 2003 and Outlook 2007 Personal Folders

Real Estate Reports Overview Quick Reference Guide

Quick Start Guide. Installation and Setup

CHAPTER 6: SEARCHING AN ONLINE DATABASE

Sitecore InDesign Connector 1.1

Installing your certificate on your Windows PC

ManageMyHealth SMS Text Message Service User Guide. Medtech32. Version 20.0 (March 2012)

Technical White Paper

Cascade Server CMS Quick Start Guide

Software Application Tutorial

Changing Your Cameleon Server IP

HIRSCH Velocity Web Console Guide

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

ENABLE LOGON/LOGOFF AUDITING

OUTLOOK ANYWHERE CONNECTION GUIDE FOR USERS OF OUTLOOK 2010

Using Entrust certificates with Microsoft Office and Windows

OUTLOOK WEB APP (OWA): MAIL

Setting up in Outlook Express

Generate Android App

How to Enter a Test On-line

Fireworks 3 Animation and Rollovers

Introduction to Microsoft Word

Database Forms and Reports Tutorial

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

1. What are popups? What if I have a problem with viewing popups? 1

UF Health SharePoint 2010 Introduction to Content Administration

CREATING AN IMAGE FROM AUTOCAD CADD NOTE 16. MENU: AutoCAD, File, Plot COMMAND: plot ICON:

eadvantage Certificate Enrollment Procedures

Publish Acrolinx Terminology Changes via RSS

Designing and Implementing Forms 34

Microsoft Outlook 2003 Module 1

How To Create A Team Site In Windows.Com (Windows)

Configuring Your Firewall for Client Access in Professional Edition

WebFOCUS BI Portal: S.I.M.P.L.E. as can be

App Inventor Drum Machine Instructions (Project #1) (Version 2 of App Inventor) Description:

Intelligent Event Processer (IEP) Tutorial Detection of Insider Stock Trading

Building an Agile PLM Web Application with JDeveloper and Agile 93 Web Services

Initial Setup of Mozilla Thunderbird with IMAP for Windows 7

Creating a Mira filing account in Mozilla Thunderbird 1.x. Open Thunderbird In the Tools menu, choose Accounts settings

VirtualXP Users Guide

Newsletter Sign Up Form to Database Tutorial

RV 12 Electrical Schematic Instructions

Dreamweaver and Fireworks MX Integration Brian Hogan

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

MICROSOFT OFFICE LIVE MEETING GUIDE TO GENERATING REPORTS

Lab - Configure a Windows Vista Firewall

SPARQL UniProt.RDF. Get these slides! Tutorial plan. Everyone has had some introduction slash knowledge of RDF.

How to integrate Verax NMS & APM with Verax Service Desk

Installing a Browser Security Certificate for PowerChute Business Edition Agent

Page Numbering for a Thesis or Dissertation

Outlook Web Access (OWA) with Exchange Server 2007 (Windows version)

Extracting an S/MIME certificate from a digital signature

Microsoft PowerPoint 2008

WebSphere Business Monitor V6.2 KPI history and prediction lab

MiVoice Integration for Salesforce

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Introduction to RefWorks

History Explorer. View and Export Logged Print Job Information WHITE PAPER

TM Online Storage: StorageSync

Software Installation Requirements

VEDATRAK CRM 2.1. User's Guide

FLASH PROCEDURE for GSM BENTEL and DSC cards

Making the Most of Files & Folders. Schoolwires Centricity2

Personal Geodatabase 101

RISKMASTER Business Intelligence Working with Reports User Guide

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

Connecting to Remote Desktop Windows Users

Encrypting Your Using the free COMODO Secure Certificate

Transcription:

Creating a Semantic Web Service in 5 Easy Steps Using SPARQLMotion in TopBraid Composer Maestro Edition

Step 1: Create a SPARQLMotion file In the Navigator View, select project or project folder where the file will be located. Right click and select New. Then select RDF/SPARQLMotion File (marked by a yellow star icon). Name your script file by changing the Base URI in the Create wizard. Make sure to check this box This is the option that enables you to create web services Copyright 2011 TopQuadrant Inc. 2

Step 2: Create a SPARQLMotion function With the newly created SPARQLMotion file opened, go to Scripts menu and select Create SPARQLMotion function SPARQLMotion functions are web services. Each file can contain multiple functions. Note: You will also see Create SPARQLMotion script option. This option simply opens a canvas where you can start assembling modules. However, the resulting assembly is not a web service. It can be executed in TBC, but can not be called using REST interface. Copyright 2011 TopQuadrant Inc. 3

Step 3: Name the service (function) and identify what it will return Name the function. Select the return module type. If the service needs to have any input arguments, click on the Add button to add them. Name your function. Remember to specify prefix. Depending on what the service needs to return, select on of the module type Next step (step 4) will be to specify arguments This option is used only for functions executed in TBC or called from TopBraid Ensemble and Flex SDK applications Copyright 2011 TopQuadrant Inc. 4

Step 4: Add input arguments To add an argument, identify a predicate and (optionally) the value type. You can type in the field or use a select dialog invoked by a + icon. Any property can be used as a predicate including built-in generic sp:arg1, sp:arg2, etc. Specify a property. If you want to use a custom property, it should already be created. You can cancel function creation and return later if you need to add new properties. Type or select value type of the argument. Click OK and return to the previous dialog. Add as many arguments as you need. Then press OK to complete function creation. Copyright 2011 TopQuadrant Inc. 5

Step 5: Add processing modules and connect everything together You are now in the main SPARQLMotion canvas where you can add processing modules that will do the work of your web service. Callouts below point out some of the important UI features. Double click to maximize/minimize Click to switch to a vertical layout Run and debug buttons A button to Navigate to the function. Needed if, for example, you want to later add another argument. Expand folders to see and select modules as required. Copyright 2011 TopQuadrant Inc. 6

SPARQLMotion offers well over 100 pre-built modules Modules are selected from the palette and connected using next property Double clicking on a module opens a form Forms show information appropriate to the module type RDF flows in and out of the modules If a module receives RDF stream as an input and outputs RDF, it has sml:replace property. When set to true, only the output is passed to the next module. Here is how we are passing an input argument to the module. It is done SPARQL style using? And the variable name Copyright 2011 TopQuadrant Inc. 7

You are done! You can test the new service directly in TBC. Or you can run it in the browser. Server address A simple service shown here imports RDF file in one serialization and exports it in another serialization. Serialization is determined by the file extension specified in the targetfilepath. To run a service use the following URL format: http://localhost:8083/tbl/actions?action=sparqlmotion&id= <function id>&<argument id>=<argument value> In our example, it is example:simpleservice Before running the service for the first time (and after changing it later), go to Scripts menu and select Refresh/Display SPARQLMotion functions to make sure that the new definition of the service is registered with the system. Copyright 2011 TopQuadrant Inc. 8