The main content of my Bachelor's thesis was constructing an
intelligent tourism Q&A system based on the knowledge graph
of tourist attractions in Jingzhou City. Except for calling and
using some packages and frameworks, other parts of the work
including data acquisition(existing knowledge graphs and usage
of Scrapy) and processing, knowledge fusion, knowledge graph
construction, Q&A system construction, and user interface
design and construction were all included in this thesis. The
data came from Ctrip.com and two kinds of Chinese open knowledge
graphs, and after cleaning, processing and knowledge fusion,
Neo4j was used as a database to store the triple knowledge as
the knowledge base of the constructed intelligent Q&A
system. Considering the diversity of users' questions, different
types of questions were reasonably analysed and processed, so as
to correctly understand the user's questions and return the
corresponding answers. The interaction between the system and
the user was done through the website interface implemented
using the Django framework. And the programming language used
was Python.
In summary, the main work of this thesis consists of:
1.
the collection and processing of data of tourist attractions
information in Jingzhou city,
2. the design and
construction of knowledge graph,
3. the implementation of
Q&A system (including four modules: question classification,
question parsing, answer searching, answer displaying), and
4. the design and development of a website based on the
Django framework used for interacting with the users.
Knowledge Graphs
Attraction-[belongTo]->District.