Contributing to the Query Library

The Query Library provides example SPARQL queries that are displayed in the TED Open Data Service. Contributions from the community are welcome.

How you can help

  • Add comments to existing queries to make them easier to understand

  • Fix or improve existing queries (e.g. adding explicit joins for better performance)

  • Contribute new queries that demonstrate useful data retrieval patterns

How to contribute

  1. Create a branch from develop in the ted-rdf-docs repository

  2. Add or edit .sparql files in the queries directory

  3. Update index.yaml if adding a new query (with category, title, and description)

  4. Test your query on the TED Open Data Service

  5. Open a pull request targeting develop

Your changes will be published with the next release.

Writing guidelines

For detailed instructions on query format, commenting conventions, prefix usage, and best practices, see the Query Library contributing guide.