Google在2012年提出知識圖譜後,由於知識圖譜在儲存資料型態和擴充上較具有彈性,因此應用面越來越廣。而領域型的知識圖譜相較於通用型的知識圖,在建置時更需要仰賴專家的協助,對於特定領域的發展與以及專業知識提供更深層的理解,因此有許多研究的目標在於如何建置領域型知識圖譜。由於學習程式語言仍是許多學生所需面臨的課題,因此本研究探討如何建構程式語言領域的知識圖譜,希望能夠用來輔助學習程式語言。本研究建置的知識圖譜包含了教材以及程式範例,並繪製其綱要圖和實例圖,表達每個節點之間的關聯性。實作上以Java為例,並設計了一套程式碼轉成知識圖譜的演算法,以便整合程式知識圖譜以及教材知識圖譜,完成Java知識圖譜。最後本研究設計出一個以知識圖譜為基礎的的教學平台,並經過66位學生使用後填寫問卷回饋,結果顯示本學習平台達到感知有用性及感知易用性。本研究的貢獻包括,(一)完成Java的領域知識圖譜。(二)知識圖譜建置的過程、圖譜綱要圖、知識轉換圖譜的原則等,都可以作為建置其他程式語言知識圖譜的參考。(三)將知識圖譜應用在輔助教學平台上,讓使用者在學習時,可以多跟教學平台互動,並且不論是在學習教材還是在練習撰寫程式碼時,都能透過知識圖譜達到更輕鬆學習。
Knowledge Graph was proposed by Google in 2012.Because of their flexibility in storing data types and expansion, knowledge graphs have become more and more widely used. Compared with the general knowledge graph, the domain knowledge graph can gain a deeper understanding of the development and expertise in a specific field, and requires more expert help when building it. Therefore, many studies have explored how to build domain knowledge graph. Learning programming language is still a topic that many students of information science need to face. This study explores how to construct a knowledge graph in the field of programming language, hoping to be used to assist students in learning programming language. The knowledge graph constructed in this study includes textbook and program examples. The schema diagrams and instance diagrams are drawn to express the correlation between each node. In practice, Java is taken as an example, and the algorithm for converting program codes into knowledge graphs is designed to integrate the program knowledge graphs and textbook knowledge graphs to complete the Java knowledge graph. Finally, this study designed a teaching platform based on knowledge graphs, and 66 students filled out the questionnaire feedback after using it. The results show that the learning platform has achieved perceived usefulness and perceived ease of use. The contributions of this research include: (1) Completion of the domain knowledge graph of Java. (2) The process of building knowledge graphs, such as the principles of converting knowledge into graphs, schema diagrams, instance diagrams, can be used as a reference for building knowledge graphs in other languages. (3) Apply the knowledge map to the teaching platform to assist students to achieve better learning.