GraphQL queries for spaCy

GraphQL is a strongly typed query language for APIs. Its powerful, JSON-like query syntax allows the client to only fetch what it really needs. This demo shows an example implementation for querying spaCy's linguistic annotations. The API currently supports most token attributes, named entities, sentences and text categories, if available. You can try it out in the GraphiQL visualizer below. For a full overview of the available attributes and types, check out the documentation widget.