GraphQL for RDF/SHACL
GraphQL is a highly popular data query and manipulation language. It allows clients to define the structure of the data they require, and exactly the same structure of the data in JSON is returned from the server. GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015. Since then, GraphQL use, development community and available tools have been rapidly growing.
GraphQL for RDF/SHACL provides powerful access to RDF data by seamlessly combining W3C standards for schema definition, data validation, inferencing and query, with a popular JSON-centric query language for APIs. This makes RDF data easily available to the JSON and browser ecosystems.
TopBraid uses RDF to store and organize data. This means it offers great flexibility and solid standards to represent almost any data structure. You can combine tables and objects from multiple sources into an enterprise knowledge graph.
W3C Standards (RDF Schema, SHACL and OWL) or GraphQL's own schema language are used to define types and fields with rich semantic rules and constraints. This approach uses GraphQL directives to significantly improve the value of GraphQL schemas for JSON-based data processing. You can define multiple views for the same data, supporting whatever data shape your application prefers.
This combination is used to automatically generate query schemas for use with GraphQL including powerful features to select, filter, aggregate, dynamically compute and page results. It also includes full support for SPARQL, and lets you use the schemas to validate updates from using SHACL shapes.
- GraphQL Data Shapes Directives (for GraphQL users)
An easy-to-use set of GraphQL directives that can significantly improve the value of GraphQL schemas for JSON-based data processing.
- GraphQL Schemas to RDF/SHACL (for RDF/SHACL users)
A mapping from GraphQL to SHACL that makes is possible to leverage GraphQL schemas as RDF data models and use them in conjunction with existing RDF models.
- Publishing RDF/SHACL Graphs as GraphQL (for RDF/SHACL users)
Explains how RDF graphs can be published through the GraphQL services of TopBraid.
- Querying RDF Graphs with GraphQL (for GraphQL users)
Describes the GraphQL query features of TopBraid including filtering, ordering, paging and integration with SPARQL.
- Inferring Data with SHACL Property Value Rules
Explains how to dynamically compute values based on rules.
- Updating RDF Graphs with GraphQL (for GraphQL users)
Describes the GraphQL mutation features of TopBraid including create, update and delete operations.