Dormitory Information Search Based on Semantic Web TERM PROJECT REPORT Submitted to Professor Atila. Elçi Eastern Mediterranean University By Omid Sharifi 065284 Omid.sharifi@cc.emu.edu.tr In partial fulfillment of the requirements for the course CMPE 588 ENGINEERING SEMANTIC WEB INFORMATION SYSTEMS in Department of Computer Engineering Gazi Magusa, Turkish Republic of Northern Cyprus June 11, 2008 Acknowledgements I would like to thank my teacher Professor Atila. Elçi for his helpful comments and trainers and criticisms as the research presented here evolved to its current state. Finally, I would like to thank my family, for creating within me a desire to study. ABSTRACT This report presents an overview in the field of a semantic web dormitories information application. Dormitory information designed for searching through the available rooms in the cties; it is assumed that the system is the central information system of all the dormitories in the every city. The user is asked to distinct his/her sex, the number of the beds available in the room (double/single), the room condition (air-conditioner, kitchen), market and the preferred distance between the dorm and university. The aim of this system is to solve the selection problem through many available options in the campus. The users of this system are students. The system applies Protégé to design OWL concepts and relations, PHP for Graphical User Interface and Apache as Web Server. TABLE OF CONTENTS LIST OF FIGURES ..........................................................................................................5 INTRODUCTION.............................................................................................................6 SEMANTIC WEB AND DORMITORY INFORMATION SEARCH ........................7 ONTOLOGY WEB LANGUAGE(OWL) ......................................................................7 EXPLANTION OF DORMITORY ONTOLOGY ........................................................7 GRAPHICAL USER INTERFACE (GUI) ...................................................................10 RDQL ............................................................................................................................... 11 RDQL SYNTAX..............................................................................................................11 CONCLUSION ...............................................................................................................14 REFERENCES ................................................................................................................15 LIST OF FIGURES Figure 1. The OWLClasses Tab. ....................................................................................................8 Figure 2. The OWL Properties . .....................................................................................................9 Figure 3. Individuals ......................................................................................................................9 Figure 4. Screen Shot of GUI ......................................................................................................10 Figure 5. Screen Shot of a Sample Query and Its Result ........................................................... 13 INTRODUCTION Dormitory information system is a web based system that hepls students to find and schuchule best options on the World Wide Web. Using of the latest information and technologies, such as semantic web, ontologies , web services, and web processes, have impact role in schuchleing. Using standard ontologies cause harmonies among data, information on internet, these supply cooperation internet resources in web technology. Dormitory Information Search suggests a new way of achieving information in finding dormitories. I show how this system can use the ontology from the semantic web to help students for better planning. I further illustrate how this can be successfully implemented with web service technologies to integrate disparate resources. The ontology description will be studied in the Protégé which is an open source ontology editor from Stanford University. The ontology language to be used is the OWL. Also PHP will be used for the graphical viewing and editing of ontology. The completion of the project is at the point where the dormitories components are defined in ontology, and the defined ontology gives the desired results to the queries, which are the query results of semantic mappings of data structures. In addition, my approach connains three levels .Firstly I develop my ontology and convert it to rdfs, creation of GUI is next step of my work. My case become practical with use of RDQL as a query language which gets some parameters from GUI, entered by users and sends them to a prewritten query in a php file and runs it over a RDf file then results are returned to screen for user consuming.