SPHN Schema Forge
The SPHN Schema Forge is a web service for building SPHN-compliant RDF schemas by simply uploading an Excel file as input. It simplifies the process of generating a SPHN-compliant RDF Schema, human-readable HTML representation of the schema as well as SHACL shapes and SPARQL queries which are used for data quality checks.
The web service is available at: https://schemaforge.dcc.sib.swiss.
Figure 1. The SPHN Schema Forge web service homepage.
There are two options to run the web service:
In addition, it is possible to upload a SHACL exception file for the SHACL output (JSON file) and to upload concept images for the human-readable HTML representation (PNG files).
When uploading a project-specific Turtle file, please ensure the file name has the structure “prefix_anything.ttl” to differentiate it from the SPHN Turtle file.
The web service will run the Dataset2RDF, the Documentation and Visualization tool, the SPARQLer and the SHACLer in the background, without the need to install any of this tools. After completion, the RDF Schema, the HTML documentation, the SPARQL queries and the SHACL contraints will be generated and can be downloaded.
Figure 2. Workflow integrating the SPHN Schema Forge web service in the context of the SPHN Semantic Interoperability Framework.
Tools integrated in SPHN Schema Forge
The following tools are integrated in the SPHN Schema Forge and enable to automatically build the full stack of Semantic Web content in SPHN (RDF schema, HTML visualization, SPARQLs and SHACLs):
SPHN Dataset2RDF Tool: The SPHN Dataset2RDF Tool takes as input an Excel Dataset, compliant with SPHN, and returns the RDF schema as a Turtle file. Further information on this tool will be soon available.
SPHN Schema Visualization Tool & SPARQLer: The SPHN Schema Visualization Tool takes as input the RDF schema and returns a HTML documentation file describing the content of the RDF schema. It currently also generates SPARQL queries for each concept (concept flattening and statistical queries).
The Visualization tool and the SPARQLer are currently interconnected and consist of the same tool generating two different outputs: one being the HTML visualization of the RDF schema and the other being SPARQL queries related to the RDF schema.
SHACLer: The SHACLer takes as input the RDF schema and returns SHACL constraints used for validation of SPHN-related data. Further information on the SHACLer can be found at SHACLer.
Availability and usage rights
© Copyright 2023, Personalized Health Informatics Group (PHI), SIB Swiss Institute of Bioinformatics
For any question or comment, please contact the SPHN Data Coordination Center (DCC) at email@example.com.