Knowledge Graph

The TBFY Knowledge Graph (KG) integrates procurement and company data. The KG covers data from January 2019 onwards. New data is onboarded every night.

On June 2020 the KG consisted of over 112 million triples and contained information about

The data is represented as an RDF graph data model which uses the The graph capitalises on data from two market leaders in their fields:

Users

The Knowledge Graph (KG) is available as Open Data. The data is available online and can be explored through several services. We also provide monthly data dumps of the KG in N-Triples format, as well as the source data files (from OpenOpps and OpenCorporates) in JSON format that is used to create the KG.

Service URL Description
KG SPARQL endpoint http://data.tbfy.eu/sparql

SPARQL endpoint that allows users to query the Knowledge Graph using SPARQL. We are using Apache Jena Fuseki as the SPARQL server and Apache Jena TDB as the underlying database.

Example:

KG API http://data.tbfy.eu/kg-api REST API that allows you to query the Knowledge Graph. See https://github.com/TBFY/knowledge-graph-API/wiki for more info.

Examples:
KG data dump http://dump.tbfy.eu Monthly data dump of the Knowledge Graph in RDF format containing procurement data and company data (for matching suppliers) for the period January 2019 onwards. In addition to the KG data dump in RDF, we have also made available the source data input for the KG, i.e., procurement release data from OpenOpps and company data (for matching suppliers) from OpenCorporates in JSON format.
YASGUI for KG http://yasgui.tbfy.eu YASGUI (Yet Another SPARQL GUI) is a 3rd party web application that we have set up that allows users to query the Knowledge Graph using SPARQL.

Developers

The Knowledge Graph (KG) is available as Open Source Software. All software components and ontologies developed in the TBFY project to create the Knowledge Graph have been released as open source on GitHub.

Repository URL Description
Knowledge Graph (KG) https://github.com/TBFY/knowledge-graph Repository where all source code, information and documentation for creating, deploying and using the Knowledge Graph are found.
OCDS Ontology https://github.com/TBFY/ocds-ontology Repository for the OCDS ontology.
KG API https://github.com/TBFY/knowledge-graph-API Repository for the core API. It also contains the API documentation and SPARQL queries of the TheyBuyForYou project.
KG API Gateway https://github.com/TBFY/api-gateway Repository for the API Gateway. It provides a flexible abstraction layer and a single entry point that securely manages communication between TBFY clients and online tools via API.

Admins 

The following services are only available to the TBFY Knowledge Graph administrators:

Service URL Description
Fuseki admin UI http://fuseki.tbfy.eu Apache Jena Fuseki admin UI that allows adminstrators to manage the TBFY Knowledge Graph.