{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T00:03:07Z","timestamp":1756425787818,"version":"3.44.0"},"reference-count":0,"publisher":"IOS Press","isbn-type":[{"value":"9781643686165","type":"electronic"}],"license":[{"start":{"date-parts":[[2025,8,26]],"date-time":"2025-08-26T00:00:00Z","timestamp":1756166400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2025,8,26]]},"abstract":"<jats:p>Purpose: This paper investigates whether state-of-the-art Large Language Models (LLMs) can automatically translate SPARQL between popular Knowledge Graph (KG) schemas. We focus on translations between the DBpedia and Wikidata KG, and later on DBLP and OpenAlex KG. This study addresses a notable gap in KG interoperability research by evaluating LLM performance on SPARQL-to-SPARQL translation. Methodology: Two benchmarks are assembled, where the first aligns 100 DBpedia\u2013Wikidata queries from QALD-9-Plus dataset; the second contains 100 DBLP queries aligned to OpenAlex, testing generalizability beyond encyclopaedic KGs. Three open LLMs: Llama-3-8B, DeepSeek-R1-Distill-Llama-70B, and Mistral-Large-Instruct-2407 are selected based on their sizes and architectures and tested with zero-shot, few-shot, and two chain-of-thought variants. Outputs were compared with gold-standard answers, and resulting errors were systematically categorized. Findings: We find that the performance varies markedly across models and prompting strategies, and that translations for Wikidata to DBpedia work far better than translations for DBpedia to Wikidata. The largest model, Mistral-Large-Instruct-2407, achieved the highest accuracy, reaching 86% on the Wikidata \u2192 DBpedia task using a Chain-of-Thought approach. This performance was replicated in the DBLP \u2192 OpenAlex generalization task, which achieved similar results with a few- shot setup, underscoring the critical role of in-context examples. Value: This study demonstrates a viable and scalable pathway toward KG interoperability by using LLMs with structured prompting and explicit schema-mapping tables to translate queries across heterogeneous KGs. The method\u2019s strong performance when applied to general purpose KGs and specialized scholarly domain suggests its potential as a promising approach to reduce the manual effort required for cross-KG data integration and analysis.<\/jats:p>","DOI":"10.3233\/ssw250019","type":"book-chapter","created":{"date-parts":[[2025,8,28]],"date-time":"2025-08-28T08:05:47Z","timestamp":1756368347000},"source":"Crossref","is-referenced-by-count":0,"title":["Automating SPARQL Query Translations Between DBpedia and Wikidata"],"prefix":"10.3233","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-2113-3322","authenticated-orcid":false,"given":"Malte Christian","family":"Bartels","sequence":"first","affiliation":[{"name":"Leuphana University of L\u00fcneburg, L\u00fcneburg, Germany"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7626-8888","authenticated-orcid":false,"given":"Debayan","family":"Banerjee","sequence":"additional","affiliation":[{"name":"Leuphana University of L\u00fcneburg, L\u00fcneburg, Germany"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0191-7211","authenticated-orcid":false,"given":"Ricardo","family":"Usbeck","sequence":"additional","affiliation":[{"name":"Leuphana University of L\u00fcneburg, L\u00fcneburg, Germany"}]}],"member":"7437","container-title":["Studies on the Semantic Web","Linking Meaning: Semantic Technologies Shaping the Future of AI"],"original-title":[],"link":[{"URL":"https:\/\/ebooks.iospress.nl\/pdf\/doi\/10.3233\/SSW250019","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,28]],"date-time":"2025-08-28T08:05:47Z","timestamp":1756368347000},"score":1,"resource":{"primary":{"URL":"https:\/\/ebooks.iospress.nl\/doi\/10.3233\/SSW250019"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,26]]},"ISBN":["9781643686165"],"references-count":0,"URL":"https:\/\/doi.org\/10.3233\/ssw250019","relation":{},"ISSN":["1868-1158","2215-0870"],"issn-type":[{"value":"1868-1158","type":"print"},{"value":"2215-0870","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,8,26]]}}}