giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessio Arleo <ingar...@icloud.com>
Subject Re: How to construct graph from rdf triples in Giraph
Date Fri, 18 Dec 2015 08:40:58 GMT
Hello Kaushik
To achieve your objective, I suggest you to read the Giraph I/O page at http://giraph.apache.org/io.html
and to study the org.apache.giraph.io package on the java docs.
Otherwise you could program a simple format converter so that you can use one of the existing
input formats or create a new custom Json input format (that is easier to program in Giraph)
extending TextVertexReaderFromEachLineProcessed.
Hope this helps :)
Alessio

Sent from Outlook Mobile

    _____________________________
From: Kaushik Baruah <kaushikbaruaa@gmail.com>
Sent: Thursday, December 17, 2015 11:57 AM
Subject: How to construct graph from rdf triples in Giraph
To:  <user@giraph.apache.org>


       

Hi,   

    

My input file consists of rdf triples of the following format –   

    

V1,EdgeRelation-1,V2   

V3,EdgeRelation-2,V4   


   

…….etc.   

    

Where Vi are vertices and EdgeRelation-i represent an edge between two vertices.   

For example –   

Fury,hasGenre,War   

    

How to take such file as input in Giraph and construct the graph out of it.   


   

Best,   

Kaushik    


  
Mime
View raw message