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.