Natural Language Querying with GPT, SOML and GraphQL. Alexiev, V. Ontotext Last Friday Webinar, May, 2023.
Video abstract bibtex Clients want to talk to their KG, i.e. ask questions about the schema and data in natural language. LLMs like GPT and LLAMA have opened a revolution in this regard. Currently Ontotext is exploring 8 themes with LLMs. NLQ can be accomplished either by: - Providing data from GraphDB to the LLM, or - Presenting a schema to the LLM and asking it to generate queries. In this talk we explore query generation. - SPARQL queries are complex, so even for known schemas (eg Wikidata, DBpedia), GPT has trouble generating good queries, see §hared drives\KGS\AI-GPT\GPT-SPARQL. Furthermore, RDF schemas (OWL and SHACL) are complex. But I'm sure there will be fast progress in SPARQL generation, see LlamaIndex advances in GDB-8329 - GraphQL queries are regular and much simpler, and SOML is a simpler schema language (from which the Ontotext Platform generates GraphQL schema, queries and SHACL shapes). In this talk I'll show how GPT4 can answer questions about a schema, and generate GraphQL to answer questions about data.
@Misc{NLQ-GPT-SOML-GraphQL-2023,
author = {Vladimir Alexiev},
title = {{Natural Language Querying with GPT, SOML and GraphQL}},
howpublished = {Ontotext Last Friday Webinar},
month = may,
year = 2023,
url_video = {https://drive.google.com/file/d/1TOHrtlleOAkv4oZYhlAWa22mUqtvsV7o/view},
abstract = {Clients want to talk to their KG, i.e. ask questions about the schema and data in natural language. LLMs like GPT and LLAMA have opened a revolution in this regard. Currently Ontotext is exploring 8 themes with LLMs.
NLQ can be accomplished either by:
- Providing data from GraphDB to the LLM, or
- Presenting a schema to the LLM and asking it to generate queries.
In this talk we explore query generation.
- SPARQL queries are complex, so even for known schemas (eg Wikidata, DBpedia), GPT has trouble generating good queries, see \Shared drives\KGS\AI-GPT\GPT-SPARQL. Furthermore, RDF schemas (OWL and SHACL) are complex. But I'm sure there will be fast progress in SPARQL generation, see LlamaIndex advances in GDB-8329
- GraphQL queries are regular and much simpler, and SOML is a simpler schema language (from which the Ontotext Platform generates GraphQL schema, queries and SHACL shapes). In this talk I'll show how GPT4 can answer questions about a schema, and generate GraphQL to answer questions about data.}
}
Downloads: 0
{"_id":"52Lb7Y4EuiXJg9kAE","bibbaseid":"alexiev-naturallanguagequeryingwithgptsomlandgraphql-2023","author_short":["Alexiev, V."],"bibdata":{"bibtype":"misc","type":"misc","author":[{"firstnames":["Vladimir"],"propositions":[],"lastnames":["Alexiev"],"suffixes":[]}],"title":"Natural Language Querying with GPT, SOML and GraphQL","howpublished":"Ontotext Last Friday Webinar","month":"May","year":"2023","url_video":"https://drive.google.com/file/d/1TOHrtlleOAkv4oZYhlAWa22mUqtvsV7o/view","abstract":"Clients want to talk to their KG, i.e. ask questions about the schema and data in natural language. LLMs like GPT and LLAMA have opened a revolution in this regard. Currently Ontotext is exploring 8 themes with LLMs. NLQ can be accomplished either by: - Providing data from GraphDB to the LLM, or - Presenting a schema to the LLM and asking it to generate queries. In this talk we explore query generation. - SPARQL queries are complex, so even for known schemas (eg Wikidata, DBpedia), GPT has trouble generating good queries, see §hared drives\\KGS\\AI-GPT\\GPT-SPARQL. Furthermore, RDF schemas (OWL and SHACL) are complex. But I'm sure there will be fast progress in SPARQL generation, see LlamaIndex advances in GDB-8329 - GraphQL queries are regular and much simpler, and SOML is a simpler schema language (from which the Ontotext Platform generates GraphQL schema, queries and SHACL shapes). In this talk I'll show how GPT4 can answer questions about a schema, and generate GraphQL to answer questions about data.","bibtex":"@Misc{NLQ-GPT-SOML-GraphQL-2023,\n author = {Vladimir Alexiev},\n title = {{Natural Language Querying with GPT, SOML and GraphQL}},\n howpublished = {Ontotext Last Friday Webinar},\n month = may,\n year = 2023,\n url_video = {https://drive.google.com/file/d/1TOHrtlleOAkv4oZYhlAWa22mUqtvsV7o/view},\n abstract = {Clients want to talk to their KG, i.e. ask questions about the schema and data in natural language. LLMs like GPT and LLAMA have opened a revolution in this regard. Currently Ontotext is exploring 8 themes with LLMs.\nNLQ can be accomplished either by:\n- Providing data from GraphDB to the LLM, or\n- Presenting a schema to the LLM and asking it to generate queries.\nIn this talk we explore query generation.\n- SPARQL queries are complex, so even for known schemas (eg Wikidata, DBpedia), GPT has trouble generating good queries, see \\Shared drives\\KGS\\AI-GPT\\GPT-SPARQL. Furthermore, RDF schemas (OWL and SHACL) are complex. But I'm sure there will be fast progress in SPARQL generation, see LlamaIndex advances in GDB-8329\n- GraphQL queries are regular and much simpler, and SOML is a simpler schema language (from which the Ontotext Platform generates GraphQL schema, queries and SHACL shapes). In this talk I'll show how GPT4 can answer questions about a schema, and generate GraphQL to answer questions about data.}\n}\n\n","author_short":["Alexiev, V."],"key":"NLQ-GPT-SOML-GraphQL-2023","id":"NLQ-GPT-SOML-GraphQL-2023","bibbaseid":"alexiev-naturallanguagequeryingwithgptsomlandgraphql-2023","role":"author","urls":{" video":"https://drive.google.com/file/d/1TOHrtlleOAkv4oZYhlAWa22mUqtvsV7o/view"},"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"http://rawgit2.com/VladimirAlexiev/my/master/Alexiev-bibliography.bib","dataSources":["fmPsPQKhqqQkXh5M4"],"keywords":[],"search_terms":["natural","language","querying","gpt","soml","graphql","alexiev"],"title":"Natural Language Querying with GPT, SOML and GraphQL","year":2023}