Abstract
This paper introduces a dual-process semantic framework designed to bridge the gap between finding a web service interface and retrieving specific data instances that satisfy complex user requirements. By integrating OWL-S ontologies, F-Logic reasoning, and recursive similarity algorithms, the proposed system enables a "total solution" for web service interaction, moving beyond simple keyword-based discovery to nuanced, data-level querying.
Introduction
In the early 2000s, web service standards like UDDI, WSDL, and SOAP provided the foundational infrastructure for distributed applications but lacked the semantic intelligence required for automated decision-making. A significant limitation identified by researchers at Tsinghua University is the disconnect between Discovery and Query.
- Discovery identifies what a service can do (e.g., "This service sells airline tickets").
- Query determines if the service currently holds the specific data a user needs (e.g., "Does this service have an economy ticket to LA on a Boeing 757?").
Traditional registries could not handle these data-level nuances. This paper proposes a two-tier architecture supported by the Web Oriented Distributed Ontology System (WODOS) to automate both the location of services and the verification of their internal data.
The Dual-Process Architecture
The framework operates across two distinct phases, as illustrated in the system architecture below.
1. Discovery Phase
This phase utilizes a General Match Algorithm (MA) to filter services based on their high-level capabilities. It relies on OWL-S service ontologies to describe properties and an F-Logic Reasoner to check preconditions (e.g., verifying if a user holds a specific membership required by the service). Services are ranked using an "Effect ContentDegree" calculation, which measures how well the service's outputs align with the user's desired goals.
2. Query Phase
Once a service is discovered, the framework investigates its live data instances using two primary components:
- CIA (Create Instances Algorithm): This component maps raw service output into persistent Service Data Instances based on a domain-specific ontology.
- IMA (Instance Match Algorithm): This controller uses a multi-layer similarity calculation to compare user requirements against data instances. The algorithm is recursive, allowing it to traverse nested object properties (e.g., checking the specific aircraft type associated with a flight instance). It combines logic-based reasoning for "hard" constraints with similarity-based computing for "soft" preferences.
Evaluation and Results
The framework was evaluated using a travel scenario from the OpenTravel Alliance (OTA). In the test case, a user named "Bob" required a round-trip ticket from London to LA with specific constraints regarding dates, cabin class, and aircraft type (Boeing 757).
The system successfully filtered four simulated services (AirChina, CathayPacific, ShanghaiAir, and NorthernAir). The Discovery Phase identified NorthernAir as the most suitable provider by verifying Bob's membership preconditions. Subsequently, the Query Phase evaluated specific ticket instances within NorthernAir. The IMA algorithm correctly identified a perfect match (similarity score of 1.0) for Bob's specific aircraft and date requirements, while ranking other tickets lower based on their deviations from his preferences.
Insights and Future Work
The core contribution of this research is the "Total Solution" philosophy: a service is only truly useful if both its interface and its current data state match the user's needs. By converting transient service data into semantic instances, the system can apply formal logic to real-time information.
However, the authors note that the Multi-Layer Similarity algorithm currently possesses exponential computational complexity. Future research will focus on optimizing this complexity and automating the generation of user preference models, which currently require manual translation into F-Logic rules.
Summary updated