Welcome!

Java IoT Authors: Stackify Blog, APM Blog, Liz McMillan, Elizabeth White, Yeshim Deniz

Related Topics: Microservices Expo, Agile Computing

Microservices Expo: Article

Web Service API and the Semantic Web

Web Service API and the Semantic Web

As the Semantic Web gains momentum, it's important for Web service developers to keep abreast of its technologies and prepare for a change in their industry.

This article looks at how the Semantic Web applies to Web services, including what specifications are under development and how you might prepare for integration with future semantic applications.

What Is the Semantic Web and How Does It Impact Web Services?
The current World Wide Web presents large volumes of information in a format tailored for viewing by people. A person can surf from link to link, query search engines, or attempt to reach sites by domain name. While the pages retrieved are appealing to humans, to the software that processes the contents they are no more than a string of random characters.

Software programs cannot load a random document, Web page, or file and understand the contents of that document. While the software could make assumptions based on HTML or XML tags, a human programmer would have to get involved and determine the meaning, or semantics, of each tag. From a computer's perspective, the World Wide Web is a garbled mess. Luckily, there's a solution: the Semantic Web.

First envisioned by Tim Berners-Lee, the Semantic Web is complementary to the World Wide Web and consists of machine-usable information. This new Web is made possible by a set of standards being coordinated by the World Wide Web Consortium. As the Semantic Web gains momentum, an increased number of information resources will be just as useful to software agents as to humans. In other words, agents finally have the ability to achieve literacy on the Internet.

Just as the Semantic Web is an extension of the World Wide Web, Semantic Web services are an extension of Web services (see Figure 1). At present, a programmer can build software with the ability to search ports or registries such as a UDDI server for a list of available Web services. While the software may be able to find a Web service without human intervention, it has no way to interpret how to use it or even what the purpose of the service is. Web Service Description Language (WSDL) provides a description of how a Web service will communicate, whereas Semantic markup provides details about what a service provides and why.

 

For Semantic Web services to become a reality, a markup language must be descriptive enough that a computer can automatically determine meaning. Following is a list of tasks such a language would require:

I Need to Find a Service (Discovery)
A program must first be able to automatically find, or discover, an appropriate Web service. Neither WSDL nor UDDI allows for software to determine what a Web service offers to the client. A Semantic Web service describes its properties and capabilities so that software can automatically determine its purpose.

I Need to Run a Service (Invocation)
Software must be able to automatically determine how to invoke or execute the service. For example, if executing the service is a multistep procedure, the software needs to know how to interact with the service to complete the necessary sequence. A Semantic Web service provides a descriptive list of what an agent needs to be able to do to execute and fulfill the service. This includes what the inputs and outputs of the service are.

I Need to Use a Few Services Together (Composition)
Software must be able to select and combine a number of Web services to complete a certain objective. The services have to interoperate with each other seamlessly so that the combined results are a valid solution. In this way, agent software can create entirely new services by combining existing ones on the Web.

I Need to Know What is Happening After I Run the Service (Monitoring)
Agent software needs to be able to verify the service properties as well as monitor its execution. Some services may take some time to complete, and the agent should have the ability to monitor the status of a process.

By providing agents with the ability to discover, invoke, compose, and monitor a service automatically without human interaction, powerful new applications can be built. Imagine an Integrated Developer Environment (IDE) that not only lists available services, but also suggests suitable combinations that satisfy your high-level requirements. Instead of scrolling through a list of services looking for one that has input parameters matching your application, the IDE provides you with only the services that are truly compatible.

Personal agents could be built to harness the Web for end users. For example, a personal agent could make arrangements for a birthday celebration with minimal input from the user (see Figure 2). An agent could combine reservation, shopping, and shipping services automatically to solve the higher-level problem of arranging the celebration. By doing this automatically, the user saves both time and money.

 

The Semantic Web consists of semantically marked up static and dynamic content resources. Semantic Web services are an integral part of the powerful machine-friendly Internet.

What Is the Current State of the Semantic Web?
The crucial specifications needed to build the Semantic Web are starting to come together at the W3C. RSS 1.0 (RDF Site Summary), based on the Resource Description Framework (RDF) specification, has been in use for sharing news and events for several years. The Web Ontology Language (OWL), derived from the DAML+ OIL language, is in development and working drafts have been published.

In parallel with the development of standards, applications of the technology are being released. Tools exist for creating and editing RDF, storing the semantic data, inferencing knowledge from the metadata, and visualizing the metadata. The Semantic Web has the backing of large research and development laboratories such as Nokia, BT, and Hewlett-Packard.

What About Semantic Web Services?
The standardization of Semantic Web services is following closely on the heels of the Semantic Web in general. Unfortunately, this means that Semantic Web service development is even more immature than the Semantic Web in general. Researchers and developers have proposed multiple specifications for the creation and deployment of semantically intelligent Web services (see Figure 3). Which specification will become the standard is a question that still remains unanswered at the time of this article.

 

RDF is the primary foundation for the Semantic Web. As such, some developers have worked toward Semantic Web services based on RDF and RDF Schema specifications. Some services, such as MusicBrainz (www.music brainz.org), already provide a Semantic Web service API based on RDF. While the MusicBrainz services don't satisfy all of the desirable traits of a Semantic Web service listed above, the available API is a substantial step toward the adoption of Semantic Web services.

Another specification receiving attention is the DARPA Agent Markup Language (DAML) and its Web services ontology termed DAML-S. Developed by a coalition of researchers brought together by the DARPA program, DAML provides enhanced constructs in comparison to RDF.

DAML allows for advanced properties and property traits such as equivalence and uniqueness. DAML is much more expressive than RDF, its lightweight predecessor. A specific application of DAML, DAML-S, supplies the necessary standards to create a Semantic Web service. Whereas WSDL can tell an agent how the service works, DAML-S can help describe what the service offers and why. In this way, it complements WSDL by providing additional information needed by agents to fullfill the tasks such as discovery and execution.

Using DAML as its basis, the W3C has commissioned the Web Ontology Working Group to produce an agreed-on standard for a Web ontology language. The OWL Web Ontology Language is the result and is currently in the working draft stage of development.

Additional research and development has focused on another framework for building Semantic Web services; the Web Services Modeling Framework (WSMF) has been proposed to facilitate the creation of Semantic Web services. It is based in part on IBM's Web Services Flow Language (WSFL), an XML language for the description of business process-driven compositions of multiple Web services.

To date, the DAML-S specification has received the most attention in the academic and research communities. It is likely, however, that an equivalent ontology will be built using the OWL specifications and subsequently become the de facto standard for creating Semantic Web services. Presently, developers are not going to be able to leverage Semantic Web services for any practical application. Publicly accessible Semantic Web services will, however, begin to appear soon.

How Can We Prepare for Semantic Web Services?
Few developers today are actively building Semantic Web services. As the standards are completed and the demand for intelligent agents grows, expertise will be required in the field of Semantic Web services. Keeping informed, adopting early prototypes, and anticipating change is essential to stay ahead of the curve. Listed below are some recommended actions:

Stay Current
Monitoring key Web sites is the easiest and most cost-efficient way of keeping current as the Semantic Web progresses. The World Wide Web Consortium (www.w3.org/2001/sw) coordinates all formal Semantic Web specifications. Alternatively, the DARPA Agent Markup Language Homepage (www.daml.org) contains use cases, tools, ontologies, and other useful resources for creating semantic markup.

Many of the various working group members attend annual conferences dedicated at least in part to the Semantic Web. The Twelfth International World Wide Web Conference (www.www2003.org), held in Budapest, promises to have papers, talks, and workshops focused on Semantic Web services. The Second International Semantic Web Conference (http://iswc2003.semanticweb.org) is the other major Semantic Web conference and is an excellent research and networking opportunity.

New books and research papers devoted to the subject appear daily. As developers continue to advance the field of Web services, more emphasis will be placed on the next generation of Semantic Web services.

Anticipate the Semantic Web When Designing Applications Today
Web services built today use WSDL to define their interfaces. In the future, you may need to support additional semantic interface definition languages. By anticipating the conversion and designing for extendability, the transition to Semantic Web services should be relatively smooth.

Play with the Technology
Many of the development tools available today are free, some as open-source projects. The W3C maintains links to many free tools, and commercial tools can be found at SemanticWeb.org (www.semanticweb.org).

Applications that demonstrate the business value of the Semantic Web and Semantic Web services are emerging. The TAP project (http://tap.stanford.edu) has created a demonstration semantic search application that gives a peek at the future of searching on the Internet.

Summary
The Semantic Web and Web services initiatives are closely related. Both share the high-level objective of making information on the current World Wide Web accessible and usable to software agents. Semantic Web services are the powerful combination of two evolving technologies.

References

  • Ankolekar, A., et al., "DAML-S: Web Service Description for the Semantic Web," Proceedings 1st International Semantic Web Conference (ISWC 02), 2002.
  • Peer, J. "Bringing Together Semantic Web and Web Services" Proceedings 1st International Semantic Web Conference (ISWC 02), 2002.
  • Paolucci, M. et al., "Semantic Matching of Web Services Capabilities" Proceedings 1st International Semantic Web Conference (ISWC 02), 2002.
  • McIlraith, S.; Son, T. C.; and H. Zeng. "Semantic Web Services". IEEE Intelligent Systems, 16(2):4653, 2001.
  • McIlraith, S.; Son, T. C.; and Zeng, H. "Mobilizing the Semantic Web with DAML-Enabled Web Services." Proceedings Second International Semantic Web Workshop (SemWeb' 2001), 2001.
  • Fensel, D. & Bussler, C. (2002), "The Web Service Modeling Framework (WSMF)". www.cs.vu.nl/~dieter/wsmf/wsmf.paper.pdf accessed on 8 Mar 2002.
  • T. Berners-Lee, J. Hendler, and O. Lassila. "The Semantic Web." Scientific American, 284(5):34-43, 2001.
  • More Stories By Paul Cowles

    Paul Cowles is currently Chief Technology Officer for Semaview Inc. At
    the moment, he's focused on delivering products and services for
    businesses adopting semantic technologies. He also manages Semaview's
    partner program where he works with companies to identify and capitalize
    on new semantic business opportunities.

    Comments (3) View Comments

    Share your thoughts on this story.

    Add your comment
    You must be signed in to add a comment. Sign-in | Register

    In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


    Most Recent Comments
    Semantics 02/06/05 06:53:13 AM EST

    Now that TBL's back in the UK, in Southampton, his professorship there will surely allow him to champion the Semantic Web until it is as established as the WWW is today.

    aaa 03/05/03 02:26:00 PM EST

    We can't help for your assignments. Please read Articles about semantic web

    sathya 03/04/03 11:09:00 AM EST

    can u please send me a detailed description about the implications of the semantic web for business..
    and advantages and disadvantages of semantic web in business and future developments..

    @ThingsExpo Stories
    In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
    "There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
    Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
    "Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
    Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
    "Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
    "MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
    SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
    "IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
    SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
    "Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
    Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
    It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
    WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
    A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
    SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
    Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
    To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
    An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
    When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...