TL;DR
This paper introduces BioSemantic, a framework that automates the creation of Semantic Web Services (SWS) from relational biological databases. By mapping relational schemas to ontologies and leveraging Semantic Web technologies, BioSemantic significantly speeds up data integration and query generation, making complex biological data more accessible.
What Problem Does This Paper Address?
The explosion of "omics" data in biology has led to a proliferation of specialized, disparate databases managed by different institutions. Biologists often need to combine data from these sources for comprehensive analyses, a task that is time-consuming and complex due to syntactic and semantic heterogeneity. While the Semantic Web (SW) offers a promising solution for data interoperability, manually creating Semantic Web Services (SWS) that wrap relational databases is a significant bottleneck. Existing approaches often require deep expertise in SW and web service standards, and few automate the process, especially for relational databases. This paper addresses the need for an automated framework to bridge the gap between relational biological databases and the Semantic Web, enabling easier data integration and discovery.
Methods
BioSemantic is a two-part framework:
- RDF View Generation and Semi-Automatic Annotation:
- Relational Database to RDF Mapping: BioSemantic uses D2RQ, an open-source tool, to automatically generate a mapping file that creates an RDF view of the relational database schema. This view acts as an abstraction layer, allowing users to query without direct knowledge of the database schema.
- Semantic Enrichment: A BioSemantic API automatically adds new metadata to the RDF view, capturing information about the database schema.
- Manual Annotation: Experts manually annotate the RDF view with terms from existing bio-ontologies. This step provides the semantic meaning for the data.
- Automatic SWS Creation:
- Shortest-Path Algorithm: BioSemantic employs a modified Dijkstra algorithm to find the shortest path between input and output ontological terms within the annotated RDF view. This path represents the relationships needed to construct a query. The algorithm incorporates conditions to favor binary associations and aggregate inheritance relationships.
- SPARQL Query Generation: Based on the detected path, a SPARQL query is automatically generated.
- SWS Deployment: The generated SPARQL query is integrated into a Semantic Web Service (SWS) template. Semantic annotations (using SAWSDL attributes) are automatically added to the WSDL components, linking them to bio-ontological terms. These SWS are then automatically deployed.
Datasets
The paper uses data from several biological databases for its use case and evaluation:
- TropGene: A relational database for functional rice genomics data.
- Gramene: A comparative genomics resource for plants.
- Ensembl: A genome browser and annotation system.
- OryGenesDB: Another database for functional rice genomics data.
- SINGER: A multi-crop germplasm database.
The authors also utilize ontologies such as the Crop Ontology, GCP Domain Model, Sequence Ontology, and EDAM ontology for semantic annotation.
Key Insights and Ideas
- Bridging the Relational-Semantic Gap: The core innovation is automating the creation of SWS from relational databases, a significant hurdle in biological data integration.
- D2RQ as a Foundation: Leveraging D2RQ for relational-to-RDF mapping provides a robust and standard-compliant way to create an intermediate data representation.
- Ontology-Driven Query Generation: Using bio-ontologies not just for annotation but as the basis for automatically finding query paths is a powerful concept.
- SAWSDL for Semantic Annotations: Employing SAWSDL for WSDL annotation ensures compatibility with existing web service standards while adding semantic richness.
- Decoupling for User Roles: The framework's two-step process allows different user profiles (data providers for annotation, data consumers for SWS creation) to work independently.
Key Results
- Automated SWS Creation: BioSemantic successfully automates the creation and deployment of SWS from relational databases.
- Efficient Query Generation: SPARQL query generation is fast, taking less than 2 seconds for schemas without inheritance and up to 15 seconds for complex schemas with multiple inheritance relationships.
- Comparable Execution Speed: While manually created SQL Web Services are slightly faster, the automatically generated SPARQL SWS execution times are comparable and do not significantly hinder usability.
- Accurate Query Results: BioSemantic's generated queries produce results identical to manually written SQL queries and often retrieve more relevant data than a basic Dijkstra algorithm, especially when inheritance relationships are involved.
- Use Case Demonstration: A workflow integrating BioSemantic SWS with external services (e.g., Ensembl BioMart via Taverna) successfully retrieved complex rice genomic information.
Limitations and Future Work
- Manual RDF View Annotation: The annotation of RDF views with bio-ontological terms is currently a manual step, which can be time-consuming for large schemas. The authors suggest developing a user-friendly interface for this task.
- Single Input/Output Restriction: The current shortest-path algorithm is limited to finding paths between a single input and a single output concept. Future work aims to extend this to handle multiple input/output nodes.
- Self-Join Detection: The framework currently doesn't explicitly handle self-joins. Future work includes implementing an algorithm for self-join detection and visualization to aid user selection.
- Automatic Schema Matching: The authors are exploring the use of automatic schema-matching tools to further automate the process of linking database schemas to ontologies.
- Reasoning Capabilities: BioSemantic currently lacks reasoning capabilities, relying on external services for this. Future work might integrate reasoning to enhance semantic understanding.
Summary updated