<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>KGMistral: Towards Boosting the Performance of Large Language Models for Question Answering with Knowledge Graph Integration</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mingze Li</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Haoran Yang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhaotai Liu</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mirza Mohtashim Alam</string-name>
          <email>Mirza-Mohtashim.Alam@fiz-karlsruhe.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ebrahim Norouzi</string-name>
          <email>Ebrahim.Norouzi@fiz-karlsruhe.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Harald Sack</string-name>
          <email>Harald.Sack@fiz-karlsruhe.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Genet Asefa Gesese</string-name>
          <email>Genet-Asefa.Gesese@fiz-karlsruhe.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Workshop</string-name>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Knowledge Graph, Large Language Models, Question Answering, Retrieval Augmented Generation, SPARQL</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>FIZ Karlsruhe - Leibniz Institute for Information Infrastructure</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Karlsruhe Institute of Technology, Institute AIFB</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, a novel question-answering (QA) approach named KGMistral is proposed, based on the Retrieval Augmented Generation (RAG) framework. Given the limitations of Large Language Models (LLMs) in generating accurate answers for domains not adequately covered by their training corpus, this work focuses on leveraging external domain-specific Knowledge Graphs (KGs) to enhance the performance of LLMs. Specifically, the study examines the benefits of using information from a KG to improve the QA performance of the Mistral model in the material science and engineering field. Experimental results indicate that KGMistral significantly enhances Mistral's QA performance.</p>
      </abstract>
      <kwd-group>
        <kwd>Answering</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>KG?</p>
      <p>The key contributions of this work are given as follows:</p>
      <p>• A novel architecture named KGMistral, based on the Retrieval Augmented Generation (RAG)
frame</p>
      <p>CEUR</p>
      <p>ceur-ws.org
• The use of SPARQL queries to retrieve relevant triples (i.e., context) is examined.
• A set of experiments is conducted to evaluate KGMistral using competency questions and a KG in the
domain of materials science. The results indicate that using domain-specific KGs as external sources
in RAG leads to improved QA performance.</p>
      <p>To the best of our knowledge, this is the first work leveraging the RAG framework in the material
science and engineering domain by integrating domain-specific KG.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background and Related Work</title>
      <sec id="sec-2-1">
        <title>2.1. Background</title>
        <p>
          Mistral 7B Mistral-7B [
          <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
          ] is a cutting-edge LLM with 7 billion parameters, designed for high
performance and eficiency. It surpasses the top open-source 13B model (LLaMA-2-13B [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]) in all
evaluated benchmarks and exceeds the best open-source 34B model (LLaMA-34B [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]) in reasoning,
mathematics, and code generation. Mistral-7B leverages grouped-query attention for faster inference
and sliding window attention to manage sequences of any length more efectively, all while reducing
inference costs as discussed in detail in [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
        </p>
        <p>
          Retrieval Augmented Generation (RAG) RAG [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] is a language generation method that improves
the accuracy and reliability of generative AI models by incorporating facts retrieved from external
sources. This method is built on a tripartite foundation comprising retrieval, generation, and
augmentation techniques. By utilizing external knowledge, RAG significantly mitigates the issue of hallucination
in LLMs, leading to its widespread adoption [15].
        </p>
        <p>SPARQL SPARQL [16] is a query language for the Resource Description Framework (RDF) data. As a
query language, it can be used to add, remove, and retrieve data.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Related Work</title>
        <p>To address hallucinations in LLMs, one emerging solution involves using external knowledge as
supplementary information to assist LLMs in generating authoritative outputs [17]. In [18], LLMs are trained
to retrieve relevant knowledge from external KGs to tackle domain-specific questions. The Mistral
model with Contextual Position Encoding (CPE) introduced in [19] dynamically encodes positional data
based on token context, thereby improving evaluation outcomes. The issue of hallucinations in Mistral
is also addressed in [20] by using RAG to integrate information from Wikipedia, enhancing the model’s
accuracy. In a related but distinct study [21], an ontology serves as an external knowledge source
for developing a Text-to-SPARQL system. In contrast to all these methods, the approach proposed in
this paper employs SPARQL queries for retrieving relevant triples from the KG. These triples are then
integrated into the prompt for the QA task.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. KGMistral</title>
      <p>The general architecture of the proposed approach is given in Figure 1. The various components of the
architecture i.e., entity and relation extraction, similarity matching, extraction of relevant triples using
SPARQL, verbalization, and prompt engineering and response generation, are discussed in detail in the
subsequent sections.</p>
      <sec id="sec-3-1">
        <title>3.1. Entity and Relation Extraction</title>
        <p>The purpose of this component is to extract entities and relations from the set of questions. The first
step in the extraction process involves applying the en_core_web_sm named entity recognition (NER)
model from spaCy1 due to its eficiency and customizability. Relations often exhibit varied expressions
in natural language questions, as highlighted by Berant et al. [22]. For instance, the predicate ”email
address” in the question: ”What is the email address of ’ParaView’?” could be expressed in multiple ways,
such as ”What is...’s email address?”, ”What is... contact point”, or ”How could... contact...?”.</p>
        <p>To address this challenge, specific regular expressions and part-of-speech analysis are employed
to improve the categorization of entities and relations, regardless of their varied expressions. This
approach can also enable handling a broad range of questions efectively.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Similarity Matching</title>
        <p>After extracting named entities and relations from a given question (see Section 3.1), the next step
involves matching them to elements in the KG. This process aims to identify entities and relations in
the KG that are relevant to the question. To achieve this, semantic similarity matching is performed for
entities using BERT with cosine similarity metric, leveraging the entities’ labels and textual descriptions.
Similarly, for relations, the Spacy’s en_core_web_lg 2 model is used. For each question, the top n
1https://spacy.io/models/en#en_core_web_sm
2https://spacy.io/models/en#en_core_web_lg
most similar entities and the top m most similar relations in the KG are identified. In the next step, the
identified entities and relations are then utilized to construct SPARQL queries to search for relevant
triples from the KG.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Extraction of relevant triples using SPARQL</title>
        <p>While some questions are simple, others can be more complex requiring more than one-hop graph
traversal. For example, considering Figure 2, the question ”Who is working in the Computational Materials
Science field?” would be a simple query that can be answered by looking at the one-hop neighbors of the
entity ”Computational Materials Science”. On the other hand, the question ”Who is working in the same
ifeld as ‘Prof.Dr. Karsten Durst’?” , may require two-hope graph traversal to retrieve the correct answers.</p>
        <p>SPARQL can be utilized to answer straightforward questions involving a single entity and a single
relation, as well as to infer more complex multi-hop facts. In this work, once an entity and a relation are
identified during the similarity matching phase as discussed in the previous section (see Section 3.2), a
SPARQL query is constructed using the templates provided in Table 1. In this table, SPARQL Template
1 provides the query that can be used to extract entities that appear in the head position in triples where
the relation and the tail entities are fixed to some given URIs. On the other hand, SPARQL Template
2 is designed to extract entities that appear at the tail position given some head entity and relation.
SPARQL Template 3 is created to extract multi-hop facts. Specifically, it is used to extract more relevant
information by first taking a tail entity that is returned as part of the results of a query with Template 2,
together with a relation, it retrieves new head entities that are diferent from the original head entity.</p>
        <p>SELECT ?otherHeadEntity ?tailEntity</p>
        <p>WHERE {{</p>
        <p>{{
}}</p>
        <p>SELECT ?tailEntity
WHERE {{</p>
        <p>&lt;head_entity_uri&gt; &lt;relation_uri&gt; ?tailEntity .</p>
        <p>}}
}}
?otherHeadEntity &lt;relation_uri&gt; ?tailEntity .</p>
        <p>FILTER (?otherHeadEntity != &lt;head_entity_uri&gt;)</p>
        <p>The answers that are retrieved using the SPARQL queries will then be passed to the verbalization
phase where they will be processed and converted to sentences that make proper sense (see Section 3.4).</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Verbalization</title>
        <p>Since the results returned by SPARQL are URIs, it is necessary to verbalize them so that LLMs would be
able to make sense of them. Verbalization is performed by replacing the entities and the predicates in
the triples with their corresponding human-readable labels.</p>
      </sec>
      <sec id="sec-3-5">
        <title>3.5. Prompt Engineering and Response Generation</title>
        <p>The verbalized triples created using the previous steps are used as context and passed to the prompt
engineering and response generation step to generate answers from LLMs Specifically Mistral 7B
(without loss of generality) as illustrated in Figure 1. The prompt consists of three components:
instruction, relevant information for enhanced context (verbalized triples), and the user question. The
structured prompt is delineated as follows:</p>
        <p>System Instruction:
• Role and Purpose: ”You are a helpful assistant. Extract and answer using key information from
context.” This instruction sets a clear expectation for the system’s function, explaining the idea of
boosting LLM performance with relevant contextual information verbalized from triples.
• Precision and Brevity: ”Ensure the response is concise, without duplicates, focusing solely on
crucial details.” This directs the LLM to avoid redundancy and extract only essential details.
• Examples: Two examples were provided to clarify the expected response format:
– Example 1: (Context: The sun is a star in the center of our solar system. Question: What is
the sun? Answer: A star at the center of the solar system.)
– Example 2: (Context: Neil Armstrong was the first person to walk on the moon. Question:</p>
        <p>Who was the first person to walk on the moon? Answer: Neil Armstrong.)
• Instructions on Format: ”Your answer must be provided in a direct and concise format, without
using any lead-in format such as ‘Answer:’ or similar. Only the answer itself should be included
in the response.” This instruction ensures the LLM generates a simplified, correct format response,
increasing evaluation performance.</p>
        <p>• This component utilizes the verbalized relevant triples from the KG as context for each question.</p>
        <sec id="sec-3-5-1">
          <title>Relevant Information for Enhanced Context:</title>
        </sec>
        <sec id="sec-3-5-2">
          <title>User Question:</title>
          <p>• The user question is also part of the prompt to be fed into the LLM along with the instruction
and context to generate responses, which is a key step in RAG.</p>
          <p>Using this prompt, the proposed architecture eficiently integrates the relevant triples from a KG into
LLMs for improved QA.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments</title>
      <p>In this section, the experiments conducted to evaluate the performance of the proposed approach
are presented. The source code and the datasets are made publicly available at https://github.com/
Mingze101/KGMistral.</p>
      <sec id="sec-4-1">
        <title>4.1. Dataset</title>
        <p>The MSE-KG3, representing data from institutions within the NFDI-MatWerk consortium4, is used as an
external resource for retrieving relevant triples. The KG contains information on (i) relevant community
structure: researchers, research projects, universities, and institutions; (ii) infrastructure: software,
workflows, controlled vocabularies, instruments, facilities, educational resources, and events; and (iii)
data: repositories, databases, scientific publications, published datasets, and reference data. MSE-KG is
composed of 8,166 triples, 112 relations, and 1823 entities. The number of competency questions used
for the experiments is 37.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Baselines</title>
        <p>KGMistral is compared against three baselines:
• Mistral: This model operates without utilizing any information from the KG, relying exclusively
on the knowledge contained within the Mistral LLM.
3https://demo.fiz-karlsruhe.de/matwerk/
4https://nfdi-matwerk.de/
• MistralRaw: In this model, the input KG is divided into chunks using a character-based text
splitter, with each chunk having a maximum length of 1024 characters. Next, vector similarity is
calculated between the question text and these chunks using a pretrained LLM. The top K chunks
with the highest similarity scores (nearest neighbors) to the question are then selected as the
context. Note that this model does not utilize SPARQL.
• MistralVerbalized: This baseline model is a verbalized version of MistralRaw, where each triple
from the KG is converted into a sequence resembling a natural language sentence, making it
easier for the LLM to understand.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Experiment settings and Evaluation Metrics</title>
        <p>
          The hyper-parameters for similarity matching, n and m, are set to 5 and 9 respectively. To prevent the
Mistral 7B model [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] from becoming overly creative and deviating from the answer, its perplexity is
set to zero. The metrics given in Table 2 are used to evaluate the models. BLEU[23] measures how
many words and phrases in the machine-translated text appear in the reference translations, taking into
account the order of words through the use of n-grams. ROUGE[24] assesses the quality of a generated
summary or translation by comparing it with one or more reference texts.
        </p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Results</title>
        <p>Method
BLEU
Rouge</p>
        <p>BLEU =  ⋅
ROUGE = ∑ (Recall of  -grams)</p>
        <p>Formula</p>
        <p>exp (∑=1   log   )
As shown in Table 3, the models Mistralraw, Mistralverbalized, and KGMistral which utilize the KG
as an external information source, outperform the Mistral model that does not leverage the KG. This
demonstrates that integrating KGs into QA systems using RAG leads to significant improvements. The
results also reveal that verbalization enhances model performance by making the retrieval process more
efective. Notably, the proposed</p>
        <p>KGMistral approach surpasses all baseline models w.r.t all metrics
except BLEU, indicating that generating context for user questions by extracting relevant triples with
SPARQL queries and then verbalizing these triples is highly promising.</p>
      </sec>
      <sec id="sec-4-5">
        <title>4.5. Limitations</title>
        <p>In this work, the relation and entity extraction component of the proposed approach is primarily designed
for simple user questions that include only one entity and one relation. Consequently, applying it to
more complex questions may result in degraded performance.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion and Future Work</title>
      <p>In this study, the advantages of integrating information from KG to enhance the QA performance of
LLMs in the field of materials science and engineering are investigated. A novel RAG-based QA approach
named KGMistral is proposed. According to the experimental results, KGMistral outperforms all the
baseline models. Despite these promising results, further improvements can still be made. Therefore,
the following directions can be investigated in future work:
• Improving the relation and entity extraction process to support more complex user question
• Enhancing the verbalization process
• Experimenting with other LLMs, such as GPT-3.5-turbo and fine-tuned GPT-3.5-turbo.
[15] Y. Gao, Y. Xiong, X. Gao, K. Jia, J. Pan, Y. Bi, Y. Dai, J. Sun, H. Wang, Retrieval-augmented
generation for large language models: A survey, arXiv preprint arXiv:2312.10997 (2023).
[16] W3C, Sparql 1.1 query language, https://www.w3.org/TR/sparql11-query/, 2013.
[17] R. Ren, Y. Wang, Y. Qu, W. X. Zhao, J. Liu, H. Tian, H. Wu, J.-R. Wen, H. Wang, Investigating
the factual knowledge boundary of large language models with retrieval augmentation, arXiv
preprint arXiv:2307.11019 (2023).
[18] C. Feng, X. Zhang, Z. Fei, Knowledge solver: Teaching llms to search for domain knowledge from
knowledge graphs, arXiv preprint arXiv:2309.03118 (2023).
[19] S. Desrochers, J. Wilson, M. Beauchesne, Reducing hallucinations in large language models through
contextual position encoding (????).
[20] J. Kirchenbauer, C. Barns, Hallucination reduction in large language models with
retrievalaugmented generation using wikipedia knowledge (2024).
[21] D. Allemang, J. Sequeda, Increasing the llm accuracy for question answering: Ontologies to the
rescue!, arXiv preprint arXiv:2405.11706 (2024).
[22] J. Berant, A. Chou, R. Frostig, P. Liang, Semantic parsing on Freebase from question-answer pairs,
in: Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing,
2013. URL: https://aclanthology.org/D13-1160.
[23] C. Callison-Burch, M. Osborne, P. Koehn, Re-evaluating the role of Bleu in machine translation
research, in: D. McCarthy, S. Wintner (Eds.), 11th Conference of the European Chapter of the
Association for Computational Linguistics, 2006. URL: https://aclanthology.org/E06-1032.
[24] C.-Y. Lin, ROUGE: A package for automatic evaluation of summaries, in: Text Summarization
Branches Out, Association for Computational Linguistics, Barcelona, Spain, 2004, pp. 74–81. URL:
https://aclanthology.org/W04-1013.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>F.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Quartey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Schilder</surname>
          </string-name>
          ,
          <article-title>Legal prompting: Teaching a language model to think like a lawyer</article-title>
          ,
          <source>arXiv preprint arXiv:2212.01326</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A. J.</given-names>
            <surname>Thirunavukarasu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S. J.</given-names>
            <surname>Ting</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Elangovan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Gutierrez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. F.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S. W.</given-names>
            <surname>Ting</surname>
          </string-name>
          ,
          <article-title>Large language models in medicine</article-title>
          ,
          <source>Nature medicine 29</source>
          (
          <year>2023</year>
          )
          <fpage>1930</fpage>
          -
          <lpage>1940</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>E.</given-names>
            <surname>Kasneci</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Seßler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Küchemann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bannert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dementieva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Fischer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Gasser</surname>
          </string-name>
          , G. Groh,
          <string-name>
            <given-names>S.</given-names>
            <surname>Günnemann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Hüllermeier</surname>
          </string-name>
          , et al.,
          <article-title>Chatgpt for good? on opportunities and challenges of large language models for education</article-title>
          ,
          <source>Learning and individual diferences 103</source>
          (
          <year>2023</year>
          )
          <fpage>102274</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M. A. C.</given-names>
            <surname>Soares</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. S.</given-names>
            <surname>Parreiras</surname>
          </string-name>
          ,
          <article-title>A literature review on question answering techniques, paradigms and systems</article-title>
          ,
          <source>Journal of King Saud University-Computer and Information Sciences</source>
          <volume>32</volume>
          (
          <year>2020</year>
          )
          <fpage>635</fpage>
          -
          <lpage>646</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Cai</surname>
          </string-name>
          , L. Liu,
          <string-name>
            <given-names>T.</given-names>
            <surname>Fu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          , et al.,
          <article-title>Siren's song in the ai ocean: a survey on hallucination in large language models</article-title>
          ,
          <source>arXiv preprint arXiv:2309.01219</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L. K.</given-names>
            <surname>Umapathi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sankarasubbu</surname>
          </string-name>
          , Med-halt:
          <article-title>Medical domain hallucination test for large language models</article-title>
          ,
          <source>arXiv preprint arXiv:2307.15343</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>X.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>Knowledge graph embedding based question answering</article-title>
          ,
          <source>in: Proceedings of the twelfth ACM international conference on web search and data mining</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>113</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <article-title>[8] fiz-karlsruhe</article-title>
          ,
          <source>MSE Knowledge Graph v1.0</source>
          , https://demo.fiz-karlsruhe.de/matwerk/, n.d.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Mistral</surname>
            <given-names>AI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mistral-</surname>
          </string-name>
          7b
          <source>-v0.1</source>
          , https://huggingface.co/mistralai/Mistral-7B
          <source>-v0.1</source>
          , n.d. Accessed: n.d.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A. Q.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sablayrolles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mensch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bamford</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Chaplot</surname>
          </string-name>
          , D. de las Casas,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bressand</surname>
          </string-name>
          , G. Lengyel,
          <string-name>
            <given-names>G.</given-names>
            <surname>Lample</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Saulnier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. R.</given-names>
            <surname>Lavaud</surname>
          </string-name>
          , M.
          <article-title>-</article-title>
          <string-name>
            <surname>A. Lachaux</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Stock</surname>
            ,
            <given-names>T. L.</given-names>
          </string-name>
          <string-name>
            <surname>Scao</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Lavril</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Lacroix</surname>
            ,
            <given-names>W. E.</given-names>
          </string-name>
          <string-name>
            <surname>Sayed</surname>
          </string-name>
          , Mistral 7b,
          <year>2023</year>
          . arXiv:
          <volume>2310</volume>
          .
          <fpage>06825</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>H.</given-names>
            <surname>Touvron</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Stone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Albert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Almahairi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Babaei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Bashlykov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Batra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Bhargava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bhosale</surname>
          </string-name>
          , et al.,
          <source>Llama</source>
          <volume>2</volume>
          :
          <article-title>Open foundation and fine-tuned chat models</article-title>
          ,
          <source>arXiv preprint arXiv:2307.09288</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>H.</given-names>
            <surname>Touvron</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Lavril</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Izacard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Martinet</surname>
          </string-name>
          , M.
          <article-title>-</article-title>
          <string-name>
            <surname>A. Lachaux</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Lacroix</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Rozière</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Goyal</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Hambro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Azhar</surname>
          </string-name>
          , et al.,
          <article-title>Llama: Open and eficient foundation language models</article-title>
          ,
          <source>arXiv preprint arXiv:2302.13971</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Minaee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Nikzad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chenaghlu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Socher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Amatriain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <article-title>Large language models: A survey</article-title>
          ,
          <source>arXiv preprint arXiv:2402.06196</source>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Perez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Piktus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Petroni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Karpukhin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Küttler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          , W.-t. Yih,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rocktäschel</surname>
          </string-name>
          , et al.,
          <article-title>Retrieval-augmented generation for knowledge-intensive nlp tasks</article-title>
          ,
          <source>Advances in Neural Information Processing Systems</source>
          <volume>33</volume>
          (
          <year>2020</year>
          )
          <fpage>9459</fpage>
          -
          <lpage>9474</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>