I an ARABIC SEMANTIC WEB MODEL a Thesis Submitted to Kent State University in Partial Fulfillment of the Requirements for the De
Total Page:16
File Type:pdf, Size:1020Kb
AN ARABIC SEMANTIC WEB MODEL A thesis submitted to Kent State University in partial fulfillment of the requirements for the degree of Master of Science by Khalid Ayed B Alharthi August 2013 i Thesis written by by Khalid Ayed B Alharthi B.S., King Khalid University, 2008 M.S., Kent State University, 2013 Approved by Austin Melton ,Chair, Thesis Committee Cheng-Chang Lu , Members, Thesis Committee Angela Guercio Farid Fouad Accepted by Javed Khan , Chair, Department of Computer Science Raymond Craig , Dean, College of Arts and Sciences ii TABLE OF CONTENTS LIST OF FIGURES……….………………………………………………………....…viii LIST OF TABLES……………………………………………………………..……..…x DEDICATION……………………..………………………………………….…......…xiii ACKNOWLEDGMENTS…..…………………..…………...………………....………xiv CHAPTER 1 SEMANTIC WEB…………..……………………………………………1 1.1 What is the Semantic Web? ………..…..……………...………………………... 2 1.2 The Semantic Web Layers Approach…………………………………………….5 1.3 A Graph Database Model………………………………………………………...7 1.3.1 Hierarchical Database Model………….………………………………….7 1.3.2 The Relational Database Model…….…………………………………….8 1.3.3 The Graph Database Model………………………………………………9 1.3.3 The Graph Database Model………………………………………………9 1.3.3.1 The benefits of a Graph Data Model………...……………..…………..10 1.4. Identify Resources on The Web………………………………………………...13 1.4.1 Universal Resource Identifier (URI)…………………………………….13 1.4.2 Fragment Identifier………………………………………………………13 1.4.3 Relative URIs……………………………………………………………14 1.4.4 Internationalized Resource Identifier (IRI)……………………………..14 1.5 Dublin Core Metadata Element Set……………………………………...………14 1.6 The Core Components of Semantic Web…………………………………...….…17 iii 1.6.1.1 The Resource Description Framework (RDF)………………………..17 1.6.1.2 RDF Data Model………………………………………...……………20 1.6.1.3 RDF Literals , Blank Node, and Datatypes…………………………...22 1.6.1.4 RDF Vocabulary URI and Namespace………………………………..23 1.6.1.5 RDF Vocabulary………………………………………………………23 1.6.1.6 Notation-3, Turtle, and N-Triples………………….…………………..23 1.6.2.1 What Is Ontology?.................................................................................24 1.6.2.2 The Benefits of Ontology…………………………………………….25 1.6.2.3.1 RDF Schema (RDFS)……………………………………………….26 1.6.2.3.2 RDFS Terms………………………………………………………...27 1.6.2.4.1 OWL: Web Ontology Language…………………………………....28 1.6.2.4.2 The Sublanguages of OWL…………………………………….…..30 1.6.2.4.3 OWL Language Terms……………………………………………..31 1.6.2.5 SPARQL: Querying the Semantic web……………………………….33 1.7 Real-World Examples of Semantic Web……………………………………..…34 1.7.1 FOAF: Friend of a Friend……………………………………………….34 1.7.2 DBpedia…………………………………………………………………34 1.8 The Popular Frameworks for the Semantic Web Applications…………………35 1.8.1 Jena……………………………………………………………………...35 1.8.2 Protégé…………………………………………………………………..36 CHAPTER 2 Arabic Language………………………………………………………38 2.1 A History of Arabic Language……………………………………………….....38 iv 2.2 Arabic Basics Rules…………………………………………………………..…39 2.2.1 The Arabic Alphabet…………………………………………………..39 2.2.2 Supplementary Letters………………………………………………...41 2.2.3 Writing Arabic Letters………………………………………………...41 2.2.4 Arabic Vowels………………………………………………………...43 2.2.4.1 Short Vowels…………………………………………………..43 2.2.4.2 Long Vowels………………………………………………....44 2.2.4.3 Diphthongs…………………………………………………….45 2.2.5 Tashdīd…………………………………………………………………45 2.2.6 Tanwīn…………………………………………………………………..46 2.2.7 Types of Hamzah………………………………………………………..46 2.2.7.1 Permanent Hamzah………………………...……………………46 2.2.7.2 Connecting Hamzah………………………………………….….48 2.2.8 The Sun and Moon Letters………………………………………………49 2.2.9 Gender in Arabic…………………………………………..…………….50 2.2.10 Singular, Dual and Plural………………………………………...…….52 2.2.11 Arabic Sentence………………………………………………………..55 2.2.11.1 Nouns ……………………………………………………...…..55 2.2.11.2 The Verb……………………………………………………….56 2.2.11.3 Particles………………………………………………………..57 2.2.11.4 Basic Arabic Sentence Structure………………………………58 CHAPTER 3 Arabic Language and Semantic Web…………………………….……59 v 3.1 Arab Countries…………………………………………………………….....59 3.2 Arabic One of the Most Influential Languages………………………………60 3.3 The importance of Arabic language…………………………………………..63 3.4 Differences Between Arabic and English Languages………………………...64 3.5 Arabic Language and Semantic web Technologies…………………………..68 3.6 Abstract………………………………………………………………………..72 CHAPTER 4 An Arabic Semantic Web Model………………………….……...…74 4.1 An Arabic Core Metadata Initiative (ACMI)….………………………………76 4.2 An Arabic Semantic Web Model………………………………………………84 4. 2.1 Storing Arabic Data as Graph Database (RDF Triple)……………….84 4.2.1.1 Visualizing Arabic Sentences as Graph Database….……….88 4.2.1.2 Arabic RDF Triple……………………………………………90 4.2.2 Arabic RDF……………………………………………………………90 4.2.2.1 Abstract Model of Arabic RDF………..…………………….92 4.2.2.2 Arabic RDF Serialization: Arabic RDF/XML ……………..103 4.2.2.2.1 Arabic RDF Vocabulary Terms I………………….104 4.2.2.2.2 Arabic RDF Vocabulary Terms II…………………108 4.2.2.2.3 Arabic RDF Vocabulary Terms III…………..….…111 4.2.2.2.4 Arabic RDF Vocabulary Terms IV………………...112 4.2.2.2.5 Arabic RDF Vocabulary Terms V………………….114 4.2.2.2.6 Arabic RDF Vocabulary Terms VI…………………115 4.2.2.2.7 Using (ACMI) in RDF Documents…………….……117 vi 4.2.2.3 Benefits of Using Standard Arabic RDF Vocabulary ….......118 118..………………………………………(تعريف المفاهيم)Arabic Web Ontology 4.2.3 4.2.3.1 Arabic Web Ontology and its Benefits……………………….….119 4.2.3.2 Basic Notions of Arabic Web Ontology………………………....120 4.2.3.3 Arabic Web Ontology Language (AOWL) Vocabulary Terms….121 4.2.3.3.1 AOWL Vocabulary Terms I……………………..121 4.2.3.3.2 AOWL Vocabulary Terms II…………………….122 4.2.3.3.3 AOWL Vocabulary Terms III…………………...124 4.2.3.3.4 AOWL Vocabulary Terms IV……………………127 4.2.3.3.5 AOWL Vocabulary Terms V…………………….128 4.2.3.3.6 AOWL Vocabulary Terms VI……………………132 4.2.3.3.7 AOWL Vocabulary Terms VII………………......136 4.2.3.3.8 AOWL Vocabulary Terms VIII…….……………138 4.2.3.3.9 AOWL Vocabulary Terms IX……………………142 4.2.3.3.10 AOWL Vocabulary Terms X ………..………….145 4.2.3.3.11 AOWL Vocabulary Terms XI…………………..152 CHAPTER 5 Conclusion and Future Work………………………….……...….154 5.1 Conclusion………………………………………………………………154 5.2 Future Work and Recommendations……………………………………155 BIBLIOGRAPHY………………………………………………………………… 157 vii LIST OF FIGURES Figure 1.1. Generations of the web…………………..……………………………………2 Figure 1.2. Shows the layered approach of the semantic web……..…………………..….3 Figure 1.3. Illustrates the structure of the hierarchical database model……..…………….8 Figure 1.4. Illustrates the structure of the relational database model………….………….9 Figure 1.5. Shows the use of graph databases on social networks……………………..10 Figure 1.6. Shows an example of the graph database…………………………………...12 Figure 1.7. Shows the representation of statements……………………………………...19 Figure 1.8. Shows the RDF triple……………………………...………………………...22 Figure 1.9. Jena’s homepage site…………………………...……………………………36 Figure 1.10. Shows the homepage site of Protégé………...……………………………..37 Figure 3.1. Speakers of Arabic language……………………...………………………..60 Figure 3.2 Most influential language in the world……………………………….………61 Figure 3.3. The mount of people that speak a language………...……………………….62 Figure 3.4. Number of primary speakers………………………..……………………….63 Figure 3.5. Arabic script represents 8.9% of the world’s languages……...……………..64 Figure 3.6. The garbled appearance of Arabic characters when using the Ontoviz ...…..70 Figure 3.7 Beseiso’s framework of semantic web for an Arabic language………..…….71 Figure 4.1. Visualizes the relation of (Ahmed and Aisha are a couple) as graph…..…...86 Figure 4.2. Representing my address information as a graph………………….…….….88 Figure 4.3. Represents three Arabic nominal sentences as a graph………….…..….…..89 viii Figure 4.4. Represents four Arabic verbal sentences as graph………………….…….89 Figure 4.5. Shows the graph structure of an Arabic statement………………..……….93 Figure 4.6. Shows the graph representation of the statements in List 4.1……....……...94 Figure 4.7 Graph representation of List 4.6 and List 4.8……………………….……102 ix LIST OF TABLES Table 1.1. Expressing figure 1.7 as a collection of RDF triple…….….………………..21 Table 1.2 RDFS class terms……………………………………….……………………27 Table 1.3. RDFS class terms…………………………….……………………………....28 Table 2.1. The Arabic Alphabet……… …………………….…………………...………40 Table 2.2. Supplementary Letters…………………………..……………………………41 Table 2.3. Writing Arabic Letters…………………………..……………………………41 43...……………………………..……………………………..……… ا join ل .Table 2.4 Table 2.5. Short vowels…………………………………………………………………44 Table 2.6. Examples of long vowels……………………………………………………44 Table 2.7. Examples of diphthongs…………………………………………………..…45 Table 2.8. Examples of Tashdīd…………………………………………………...……45 Table 2.9. Examples of Tanwīn………………………………………………………….46 Table 2.10. Permanent hamzah at the beginning of the word……………………………47 Table 2.11. Permanent hamzah at the middle of the word………………..……………..48 Table 2.12. Permanent hamzah at the end of the word…………………………………..48 Table 2.13. Sun Letters………………………………………………………………….49 Table 2.14. Moon Letters………………………………………………………………..50 Table 2.15. Examples of masculine and feminine gender……………………...………..51 Table 2.16. Closed ‘ta’ at the end does not form feminine nouns of some masculine…..52 Table 2.17. Sound Masculine Plural……………………………………………………..53 x Table 2.18. Sound Feminine Plural………………………………………………………54 Table 2.19. Broken Plural…………………………………..……………………………54 Table 2.20. Example of Particles…………………………………..…………………….57 66...…………...….……(نوم )Table 3.1 Represents different derivations words of the word Table 3.2. Arabic represents the dual relationship ………………………..……………..68 Table 4.1. Attributes that specify the ACMI terms…………………..…………………..76