Presented at ISWC 2013, this research addresses a critical bottleneck in the Semantic Web: the automation of data exchange between services. While significant progress has been made in determining the execution order of services (control flow), automatically generating the "glue" logic that moves data between them (data flow) remains a challenge.
The Problem: Control Flow vs. Data Flow
In Semantic Web service composition, researchers have historically focused on control flow—the partial ordering of services (e.g., "Service A must run before Service B"). However, the data flow—the specific mapping of outputs from Service A to inputs of Service B—is often treated as an opaque, manual task for developers.
In real-world scenarios, these links are rarely one-to-one. Developers often need to filter data, merge outputs from multiple services, or handle semantic mismatches. Without automating this "assign" logic, true automated service composition remains out of reach.
Methodology: Constructive Reasoning with the Join Operation
The paper introduces a formalization of the Concept Join problem within the $\mathcal{EL}^{++}$ Description Logic (DL). Unlike a simple match, the join operation identifies the specific part of an output that satisfies an input requirement while isolating the "remainder" to be discarded.
To bridge gaps where descriptions do not align perfectly, the author employs two non-standard reasoning techniques:
- Abduction: Identifies missing information in an output required by an input, allowing for automated "repair."
- Contraction: Identifies conflicting information that must be surrendered to maintain consistency.
This "constructive" approach does more than just confirm a match exists; it builds the description of the link itself, effectively simulating common data flow patterns like filters and merges.
Evaluation and Results
The approach was evaluated using 50 services from the SOA4All project and a commercial-grade $\mathcal{EL}^{++}$ ontology containing over 1,100 concepts. The algorithm's performance was measured against a manually constructed "optimal" composition benchmark.
- Data Flow Completeness: The proposed method automatically retrieved 83% of the required data flow connections. This significantly outperforms standard control-flow-oriented approaches, which only achieved between 9% and 55% completeness.
- Performance and Scalability: While computationally more intensive than simpler methods (the join problem is PSPACE-hard), the author found that the primary cost stems from the complexity of service descriptions rather than the size of the underlying ontology.
Conclusion and Future Work
By treating data transformation as a logic problem rather than a programming task, this research provides a path toward "ready-to-execute" compositions. Future work aims to address cyclic data flows, which are currently unsupported, and to extend the logic from the schema level to the instance level (actual runtime data values). Additionally, future metrics will need to evaluate precision to ensure that generated joins do not include unnecessary data mappings.
Summary updated