14

Is there a dump of the Knowledge Graph API on BigQuery or can I query Knowledge graph API via BigQuery SQL language?

Felipe has this wonderful talk on querying Freebase via SQL but Freebase is no more updated.

Any chance I can do the equivalent of what Felippe does with Freebase and Wikidata with the Knowledge Graph API?

Quintin Par
  • 15,862
  • 27
  • 93
  • 146

1 Answers1

2

As the Knowledge Graph Search API returns only individual matching entities I recommend to use the wikidata dump, the fh-bigquery:wikidata dataset is available in BigQuery. You can run a statement like:

SELECT id FROM [fh-bigquery:wikidata.latest_en_v1] LIMIT 1000
Nathan Nasser
  • 1,008
  • 7
  • 18