Project Login
Registration No:
Password:
MAIL ALERTS SMS ALERTS
 
     
   
     

Heuristics Based Query Processing for Large RDF Graphs Using Cloud Computing

Platform : DOT NET

IEEE Projects Years : 2012 - 13

Heuristics Based Query Processing for Large RDF Graphs Using Cloud Computing

Abstract:

Semantic Web is an emerging area to augment human reasoning. Various technologies are being developed in this arena which has been standardized by the World Wide Web Consortium (W3C). One such standard is the Resource Description Framework (RDF). Semantic Web technologies can be utilized to build efficient and scalable systems for Cloud Computing. With the explosion of semantic web technologies, large RDF graphs are common place. This poses significant challenges for the storage and retrieval of RDF graphs. Current frameworks do not scale for large RDF graphs and as a result do not address these challenges. In this paper, we describe a framework that we built using Hadoop to store and retrieve large numbers of RDF triples by exploiting the cloud computing paradigm. We describe a scheme to store RDF data in Hadoop Distributed File System. More than one Hadoop job (the smallest unit of execution in Hadoop) may be needed to answer a query because a single triple pattern in a query cannot simultaneously take part in more than one join in a single Hadoop job. To determine the jobs, we present an algorithm to generate query plan, whose worst case cost is bounded, based on a greedy approach to answer a SPARQL Protocol and RDF Query Language(SPARQL) query. We use Hadoop’s MapReduce framework to answer the queries. Our results show that we can store large RDF graphs in Hadoop clusters built with cheap commodity class hardware.

Furthermore, we show that our framework is scalable and efficient and can handle large amounts of RDF data, unlike traditional approaches.

Algorithm:

Relaxed - Best plan algorithm

Relaxed Best plan problem is to find the job plan that has the minimum number of jobs. Next, we show that if joins are reasonably chosen, and no eligible join operation is left undone in a job, then we may set an upper bound on the maximum number of jobs required for any given query. However, it is still computationally expensive to generate all possible job plans. Therefore, we resort to a greedy algorithm, that finds an approximate solution to the Relaxed Best plan problem, but is guaranteed to find a job plan within the upper bound.

Existing System:

Semantic Web technologies are being developed to present data in standardized way such that such data can be retrieved and understood by both human and machine. Historically, web pages are published in plain html files which are not suitable for reasoning.

1. No user data privacy

2. Existing commercial tools and technologies do not scale well in Cloud Computing settings.

Proposed System:

Researchers are developing Semantic Web technologies that have been standardized to address such inadequacies. The most prominent standards are Resource 1Description Framework1 (RDF) and SPARQL Protocol and RDF Query Language2 (SPARQL). RDF is the standard for storing and representing data and SPARQL is a query language to retrieve data from an RDF store. Cloud Computing systems can utilize the power of these Semantic Web technologies to provide the user with capability to efficiently store and retrieve data for data intensive applications.

1. Researchers propose an indexing scheme for a new distributed database which can be used as a Cloud system.

2. RDF storage becoming cheaper and the need to store and retrieve large amounts of data.

3. Semantic web technologies could be especially useful for maintaining data in the cloud.

Modules:

1. Data Generation and Storage We use the LUBM dataset. It is a benchmark datasets designed to enable researchers to evaluate a semantic web repository’s performance. The LUBM data generator generates data in RDF/XML serialization format. This format is not suitable for our purpose because we store data in HDFS as flat files and so to retrieve even a single triple we would need to parse the entire file. Therefore we convert the data to N-Triples to store the data, because with that format we have a complete RDF triple (Subject, Predicate and Object) in one line of a file, which is very convenient to use with MapReduce jobs. The processing steps to go through to get the data into our intended format are described in following sections.

2. File Organization

We do not store the data in a single file because, in Hadoop and MapReduce Framework, a file is the smallest unit of input to a MapReduce job and, in the absence of caching, a file is always read from the disk. If we have all the data in one file, the whole file will be input to jobs for each query. Instead, we divide the data into multiple smaller files.

3. Predicate Object Split(POS)

In the next step, we work with the explicit type information in the rdf type file. The predicate rdf:type is used in RDF to denote that a resource is an instance of a class. The rdf type file is first divided into as many files as the number of distinct objects the rdf:type predicate has. For example, if in the ontology the leaves of the class hierarchy are c1, c2, ..., cn then we will create files for each of these leaves and the file names will be like type c1, type c2, ... , type cn. Please note that the object values c1, c2, ..., cn are no longer needed to be stored within the file as they can be easily retrieved from the file name. This further reduces the amount of space needed to store the data. We generate such a file for each distinct object value of the predicate rdf:type.

4. Query plan generation

We define the query plan generation problem, and show that generating the best (i.e., least cost) query plan for the ideal model as well as for the practical is computationally expensive. Then, we will present a heuristic and a greedy approach to generate an approximate solution to generate the best plan.

Running example: We will use the following query as a running example in this section.

Running Example

SELECT ?V, ?X, ?Y, ?Z WHERE{

?X rdf : type ub : GraduateStudent

?Y rdf : type ub : University

?Z ?V ub : Department

?X ub : memberOf ?Z

?X ub : undergraduateDegreeFrom ?Y }

System Requirements:

Hardware Requirements:

• System : Pentium IV 2.4 GHz.

• Hard Disk : 40 GB.

• Floppy Drive : 1.44 Mb.

• Monitor : 15 VGA Colour.

• Mouse : Logitech.

• Ram : 512 Mb.

Software Requirements:

• Operating system : Windows XP.

• Coding Language : ASP.Net with C#

• Data Base : SQL Server 2005



NOW GET PROJECTS ! GET TRAINED ! GET PLACED !

IEEE, NON-IEEE, REAL TIME LIVE ACADEMIC PROJECTS,

PROJECTS WITH COMPLETE COURSES,SOFT SKILLS & PLACEMENTS

ALLOVER INDIA & WORLD WIDE,

HOSTEL FACILITY AVAILABLE FOR GIRLS & BOYS SEPARATELY,

CALL: 08985129129 ,  E-Mail Id: support@ascentit.in

REGISTER FOR PROJECTS NOW ! GET DISCOUNT
   
1