ChatGPT can generate SPARQL queries for knowledge graph databases like Wikidata with correct QIDs (identifiers) with zero-shot learning, and can even generate tables of EU member countries with their correct QIDs, demonstrating memorized knowledge of thousands of structured identifiers.

factualpending

Speaker

Knowledge graph expert

Evidence Quote

“ChatGPT got out of the box all of the QIDs right in this query... it can make SPARQL queries that are syntactically right... you can totally ask ChatGPT to make you a table of all the countries of the European Union and their QIDs. It has a lot of QIDs memorized.”

Source

The Future of Knowledge Graphs in a World of Large Language Models— Denny Vrandečić
Created: 8/12/2026, 6:34:12 PM

Your notes

Loading notes...