diff --git a/doc/References.bib b/doc/References.bib index 07f2c10..2499852 100644 --- a/doc/References.bib +++ b/doc/References.bib @@ -17,6 +17,7 @@ title = {Learning to Ask: Neural Question Generation for Reading Comprehension}, url = {https://arxiv.org/pdf/1705.00106.pdf}, urldate = {28/05/2023}, + year = {2017}, file = {1705.00106:Attachments/1705.00106.pdf:application/pdf} } @@ -32,6 +33,7 @@ abstract = {Recently, the term knowledge graph has been used frequently in research and business, usually in close association with Semantic Web technologies, linked data, large-scale data analytics and cloud computing. Its popularity is clearly influenced by the introduction of Google’s Knowledge Graph in 2012, and since then the term has been widely used without a definition. A large variety of interpretations has hampered the evolution of a common understanding of knowledge graphs. Numerous research papers refer to Google’s Knowledge Graph, although no official documentation about the used methods exists. The prerequisite for widespread academic and commercial adoption of a concept or technology is a common understanding, based ideally on a definition that is free from ambiguity. We tackle this issue by discussing and defining the term knowledge graph, considering its history and diversity in interpretations and use. Our goal is to propose a definition of knowledge graphs that serves as basis for discussions on this topic and contributes to a common vision.}, author = {Lisa Ehrlinger, Wolfram Wöß}, title = {Towards a Definition of Knowledge Graphs}, + year = {2016}, keywords = {Knowledge Graphs} } @@ -43,6 +45,7 @@ author = {Lupe Hernandez and Sam Randall, Ahmad Nazeri}, url = {http://cs230.stanford.edu/projects_fall_2020/reports/55771015.pdf}, urldate = {29/05/2023}, + year = {2020}, file = {55771015:Attachments/55771015.pdf:application/pdf} } @@ -60,6 +63,7 @@ title = {SQuAD: 100,000+ Questions for Machine Comprehension of Text}, url = {https://aclanthology.org/D16-1264.pdf}, urldate = {29/05/2023}, + year = 2016, file = {100,000 Questions for Machine Comprehension of Text:Attachments/100,000 Questions for Machine Comprehension of Text.pdf:application/pdf} } @@ -77,6 +81,28 @@ language = {English} } +@inproceedings{SciPyProceedings_11, + author = {Aric A. Hagberg and Daniel A. Schult and Pieter J. Swart}, + title = {Exploring Network Structure, Dynamics, and Function using NetworkX}, + booktitle = {Proceedings of the 7th Python in Science Conference}, + pages = {11 - 15}, + address = {Pasadena, CA USA}, + year = {2008}, + editor = {Ga\"el Varoquaux and Travis Vaught and Jarrod Millman} +} + +% This file was created with Citavi 6.15.2.0 + +@unpublished{spacy2, + author = {Honnibal, Matthew and Montani, Ines}, + title = {{spaCy 2}: Natural language understanding with {B}loom embeddings, convolutional neural networks and incremental parsing}, + year = {2017}, + note = {spaCy excels at large-scale information extraction tasks.} +} + + +% This file was created with Citavi 6.15.2.0 + @phdthesis{Sukhbaatar.31032015, abstract = {We introduce a neural network with a recurrent attention model over a possibly large external memory. The architecture is a form of Memory Network (Weston et al., 2015) but unlike the model in that work, it is trained end-to-end, and hence requires significantly less supervision during training, making it more generally applicable in realistic settings. It can also be seen as an extension of RNNsearch to the case where multiple computational steps (hops) are performed per output symbol. The flexibility of the model allows us to apply it to tasks as diverse as (synthetic) question answering and to language modeling. For the former our approach is competitive with Memory Networks, but with less supervision. For the latter, on the Penn TreeBank and Text8 datasets our approach demonstrates comparable performance to RNNs and LSTMs. In both cases we show that the key concept of multiple computational hops yields improved results.}, author = {Sukhbaatar, Sainbayar and Szlam, Arthur and Weston, Jason and Fergus, Rob}, @@ -86,18 +112,19 @@ file = {1503.08895:Attachments/1503.08895.pdf:application/pdf} } + + % This file was created with Citavi 6.15.2.0 @article{TorstenZesch, title = {Analyzing and Accessing Wikipedia as a Lexical Semantic Resource}, - author = {Torsten Zesch, Iryna Gurevych, Max Mühlhäuser - }, - url = {https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=96fcad8bec2bce17d70ca60b042529dd5be513cc}, - urldate = {30/05/2023} + author = {Torsten Zesch, Iryna Gurevych, Max Mühlhäuser}, + year = {2008}, } -% This file was created with Citavi 6.15.2.0 + + @online{wikiapi, year = {2023}, @@ -105,10 +132,6 @@ url = {https://wikipedia-api.readthedocs.io/en/latest/wikipediaapi/api.html} } - - -% This file was created with Citavi 6.15.2.0 - @online{wkpd, author = {Wikipedia}, title = {{Wikipedia special exports}}, @@ -117,23 +140,19 @@ note = {[Online; accessed 01-May-2023]} } - - - - -@unpublished{spacy2, - AUTHOR = {Honnibal, Matthew and Montani, Ines}, - TITLE = {{spaCy 2}: Natural language understanding with {B}loom embeddings, convolutional neural networks and incremental parsing}, - YEAR = {2017}, - Note = {spaCy excels at large-scale information extraction tasks.} +@techreport{hagberg2008exploring, + title={Exploring network structure, dynamics, and function using NetworkX}, + author={Hagberg, Aric and Swart, Pieter and S Chult, Daniel}, + year={2008}, + institution={Los Alamos National Lab.(LANL), Los Alamos, NM (United States)} } -@InProceedings{SciPyProceedings_11, - author = {Aric A. Hagberg and Daniel A. Schult and Pieter J. Swart}, - title = {Exploring Network Structure, Dynamics, and Function using NetworkX}, - booktitle = {Proceedings of the 7th Python in Science Conference}, - pages = {11 - 15}, - address = {Pasadena, CA USA}, - year = {2008}, - editor = {Ga\"el Varoquaux and Travis Vaught and Jarrod Millman}, +@inproceedings{mckinney2010data, + title={Data structures for statistical computing in python}, + author={McKinney, Wes and others}, + booktitle={Proceedings of the 9th Python in Science Conference}, + volume={445}, + pages={51--56}, + year={2010}, + organization={Austin, TX} } \ No newline at end of file diff --git a/doc/chapters/chapter1.tex b/doc/chapters/chapter1.tex index f3bc26c..c7dba37 100644 --- a/doc/chapters/chapter1.tex +++ b/doc/chapters/chapter1.tex @@ -2,18 +2,19 @@ Graph-based knowledge representation has been researched for decades. A \acf{kg} acquires and integrates information into an ontology and applies a reasoner to derive new knowledge \parencite{LisaEhrlinger}. -The knowledge base is a dataset with formal semantics that can contain different kinds of knowledge, for example, rules, facts, axioms, definitions, statements, and primitives \cite{Davies.2008cop.2006}. +The knowledge base is a dataset with formal semantics that can contain different kinds of knowledge, for example, rules, facts, axioms, definitions, statements, and primitives \parencite{Davies.2008cop.2006}. \begin{figure}[h!] \centering \includesvg[scale=0.5]{Thesis_kg.svg} \caption{\acl{kg} architecture} \label{fig:kg} + \parencite[Chapter 4]{LisaEhrlinger} \end{figure} -Figure \ref{fig:kg} illustrates the procsssing of plain text from various sources such as Wikipedia API, PDF into a graph. This abstract architecture of a \acl{kg} portraits the asumption that a \acl{kg} is more than a \acf{kb}. \acl{kg} is a combination of \acl{kb} and \acf{qe}. +Figure \ref{fig:kg} illustrates the procsssing of plain text from various sources such as Wikipedia API, PDF into a graph. This abstract architecture represented by \Citeauthor{LisaEhrlinger} of a \acl{kg} portraits the asumption that a \acl{kg} is more than a \acf{kb}. \acl{kg} is a combination of \acl{kb} and \acf{qe}. -\Iac{qe} is a set of graph of possible questions that could be formed in reference to \iac{kb}. \acf{qg} for comprehensive reading is a challenging task. There are datasets available for \acs{qg}, one of it is Stanford Question Answering Dataset v1.0 (SQuAD) consisting of questions posed by crowdworkers on a set of Wikipedia articles \cite{PranavRajpurkar.}. The limitation with such a data set is that these do not contain unanserable questions. Building a machine learning model when no answer is supported was out of scope of SQuAD objective \cite{LupeHernandez}. Study on automatic question generation from an attention-based sequence learning model for \ac{qg} and investigate the effect of encoding sentence- vs. paragraph-level information \cite{DuXinya.29042017}, reduces reliance on handcrafted rule based systems. +\Iac{qe} is a set of graph of possible questions that could be formed in reference to \iac{kb}. \acf{qg} for comprehensive reading is a challenging task. There are datasets available for \acs{qg}, one of it is Stanford Question Answering Dataset v1.0 (SQuAD) consisting of questions posed by crowdworkers on a set of Wikipedia articles \parencite{PranavRajpurkar.}. The limitation with such a data set is that these do not contain unanserable questions. Building a machine learning model when no answer is supported was out of scope of SQuAD objective \parencite{LupeHernandez}. Study on automatic question generation from an attention-based sequence learning model for \ac{qg} and investigate the effect of encoding sentence- vs. paragraph-level information \parencite{DuXinya.29042017}, reduces reliance on handcrafted rule based systems. \clearpage @@ -21,15 +22,15 @@ Figure \ref{fig:kg} illustrates the procsssing of plain text from various source One of the first things required for \acf*{nlp} tasks is a creating a text corpus. -In linguistics and \acs{nlp}, corpus refers to a collection of texts. This paper's objective is to web crawl and extract data related to "Motor Oil". Our intention is to fetch the unstructred text corpus specifically related to "Motor Oil" and to create a graph-based \acs{kb}. +In linguistics and \acs{nlp}, corpus refers to a collection of texts. One of the objective of this paper is to web crawl and extract data related to "Motor Oil". Our intention is to fetch the unstructred text corpus specifically related to "Motor Oil" and to create a graph-based knowledge. -Wikipedia\footnote{https://www.wikipedia.org/} is primarily an encyclopedia with the additional benefit of heavy linking between articles and without the size constraints of paper articles \cite{TorstenZesch}. Wikipedia API \footnote{https://pypi.org/project/Wikipedia-API/} +Wikipedia\footnote{https://www.wikipedia.org/} is primarily an encyclopedia with the additional benefit of heavy linking between articles and without the size constraints of paper articles \parencite{TorstenZesch}. Wikipedia API \footnote{https://pypi.org/project/Wikipedia-API/} \section{spaCy - Dependency Parsing} -spaCy \cite{spacy2} features neural models for parsing and entity recognition. These models can be trained for \acf{ner} , tagging and parsing. Its official page on usage\footnote {https://v2.spacy.io/usage/} provides in-depth code example for information extraction. +spaCy \parencite{spacy2} features neural models for parsing and entity recognition. These models can be trained for \acf{ner} , tagging and parsing. Its official page on usage\footnote {https://v2.spacy.io/usage/} provides in-depth code example for information extraction. -In figure \ref{fig:dp}, we see a complex sentence's dependency parsing. It has a \acf{nsubj} , connecting \acfp{pobj} with \acfp{adp} and no \acf{dobj}. +In figure \ref{fig:dp}, we see a complex sentence's dependency parsing. It has a \acf{nsubj}, connecting \acfp{pobj} with \acfp{adp} and no \acf{dobj}. \begin{figure}[htp!] \centering @@ -38,15 +39,12 @@ In figure \ref{fig:dp}, we see a complex sentence's dependency parsing. It has a \label{fig:dp} \end{figure} -The \acs{nsubj} "oil", itself do not give a complete meaning. However, upon combining its dependency noun "Motor", which is "Motor oil" gives us an understanding of the topic. Traversing from \acs{nsubj} to \acfp{conj} provides us with three related compound nouns belonging to a similar group. +The \acs{nsubj} "oil", itself does not give a complete meaning. However, upon combining its dependency noun "Motor", which is "Motor oil" gives us an understanding of the topic. Traversing from \acs{nsubj} to \acfp{conj} provides us with three related compound nouns belonging to a similar group. "Motor oil", "Engine Oil", "Engine Lubricant" Traversing further right of the dependency tree we can extract the \acsp{pobj}. An \acf{amod} "internal" is connecting compound noun "combustion engine". -\begin{figure}[htp!] - \centering - \includesvg[scale=0.7]{verbpart.svg} - \caption{Negetive Part} - \label{fig:vp} -\end{figure} +\section{Knowledge graph in using Python} + +Networkx \parencite{hagberg2008exploring} and Pandas \parencite{mckinney2010data} are python libraries for working with graphs and data structures. \ No newline at end of file