Welcome!

Java IoT Authors: Elizabeth White, Yeshim Deniz, Liz McMillan, Pat Romanski, Frank Lupo

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
    Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
    Amazon is pursuing new markets and disrupting industries at an incredible pace. Almost every industry seems to be in its crosshairs. Companies and industries that once thought they were safe are now worried about being “Amazoned.”. The new watch word should be “Be afraid. Be very afraid.” In his session 21st Cloud Expo, Chris Kocher, a co-founder of Grey Heron, will address questions such as: What new areas is Amazon disrupting? How are they doing this? Where are they likely to go? What are th...
    SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
    SYS-CON Events announced today that Dasher Technologies 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. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...
    SYS-CON Events announced today that NetApp has been named “Bronze Sponsor” of 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. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp emp...
    SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
    SYS-CON Events announced today that TidalScale, a leading provider of systems and services, 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. TidalScale has been involved in shaping the computing landscape. They've designed, developed and deployed some of the most important and successful systems and services in the history of the computing industry - internet, Ethernet, operating s...
    Infoblox delivers Actionable Network Intelligence to enterprise, government, and service provider customers around the world. They are the industry leader in DNS, DHCP, and IP address management, the category known as DDI. We empower thousands of organizations to control and secure their networks from the core-enabling them to increase efficiency and visibility, improve customer service, and meet compliance requirements.
    SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
    Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant tha...
    In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). According to the survey, a quarter of the respondents have already deployed Docker containers and nearly as many (23 percent) are employing the AWS Lambda serverless computing framework. It’s clear: serverless is here to stay. The adoption does come with some needed changes, within both application development and operations. Tha...
    In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
    SYS-CON Events announced today that Avere Systems, a leading provider of enterprise storage for the hybrid cloud, 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. Avere delivers a more modern architectural approach to storage that doesn't require the overprovisioning of storage capacity to achieve performance, overspending on expensive storage media for inactive data or the overbui...
    Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
    SYS-CON Events announced today that TidalScale 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. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
    SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
    As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
    With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
    Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant th...
    Digital transformation is changing the face of business. The IDC predicts that enterprises will commit to a massive new scale of digital transformation, to stake out leadership positions in the "digital transformation economy." Accordingly, attendees at the upcoming Cloud Expo | @ThingsExpo at the Santa Clara Convention Center in Santa Clara, CA, Oct 31-Nov 2, will find fresh new content in a new track called Enterprise Cloud & Digital Transformation.