GraphQL

Query EDG knowledge graph using today’s most popular query language for APIs

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 support in TopBraid provides powerful access to RDF knowledge graphs​ 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, as a starting point, GraphQL’s own schema language are used to define data models – types and fields with rich semantic rules and constraints. GraphQL directives are used to add richer query capabilities, thereby, significantly improving the value of GraphQL schemas for JSON-based data processing. 

Users can define multiple views for the same data, supporting whatever data shape their application prefers.

Query schemas for use with GraphQL are automatically generated from the data models. This includes powerful features to select, filter, aggregate, dynamically compute and page results. For even more power, full support for SPARQL expressions is available from GraphQL queries. Data updates are automatically validated using SHACL shapes.

Learn More About GraphQL in TopBraid

FOR GRAPHQL USERS: GraphQL Data Shapes Directives

An easy-to-use set of GraphQL directives that can significantly improve the value of GraphQL schemas for JSON-based data processing.

FOR RDF/SHACL USERS: GraphQL Schemas to RDF/SHACL

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.

FOR GRAPHQL USERS: Querying RDF Graphs with GraphQL

Describes the GraphQL query features of TopBraid including filtering, ordering, paging and integration with SPARQL.

FOR RDF/SHACL USERS: Publishing RDF/SHACL Graphs as GraphQL

Explains how RDF graphs can be published through the GraphQL services of TopBraid.

FOR GRAPHQL USERS: Updating RDF Graphs with GraphQL

Describes the GraphQL mutation features of TopBraid including create, update and delete operations.

Inferring Data with SHACL Property Value Rules

Explains how to dynamically compute values based on rules.

Ready to get started?

Get in touch today to learn how to improve semantic data governance for your enterprise.