Ok, so, exactly as I wrote a few e-mails back in this thread, you can do
this with a vertex-centric iteration :-)
All you need to do is call "myGraph.runVertexCentricIteration(new
MyUpdateFunction(), new MyMessagingFunction(), maxIterations)"
and define MyUpdateFunction and MyMessagingFunction.
T
Hi Vasia,
for compute subgraph for Person I mean exactly all the vertices that
can be reached
starting from this node and following the graph edges.
I drafted the graph as a set of vertices (where the id is the subject of
the set of triples and the value is all of its triples)
and a set of edges (p
Hi Flavio,
I'm not quite familiar with RDF or sparql, so not all of your code is clear
to me.
Your first TODO is "compute subgraph for Person". Is "Person" a vertex id
in your graph? A vertex value?
And by "subgraph of Person", do you mean all the vertices that can be
reached starting from this n
Hi to all,
I made a simple RDF Gelly test and I shared it on my github repo at
https://github.com/fpompermaier/rdf-gelly-test.
I basically setup the Gelly stuff but I can't proceed and compute the
drafted TODOs.
Could someone help me and implementing them..?
I think this could become a nice example
Thanks Vasiliki,
when I'll find the time I'll try to make a quick prototype using the
pointers you suggested!
Thanks for the support,
Flavio
On Mon, Mar 23, 2015 at 10:31 AM, Vasiliki Kalavri <
vasilikikala...@gmail.com> wrote:
> Hi Flavio,
>
> I'm not familiar with JSON-LD, but as far as I unde
Hi Flavio,
I'm not familiar with JSON-LD, but as far as I understand, you want to
generate some trees from selected root nodes.
Once you have created the Graph as Andra describes above, you can first
filter out the edges that are of no interest to you, using filterOnEdges.
There is a description
Thanks Andrea for the help!
For graph generation I mean that I'd like to materialize subgraphs of my
overall knowledge starting from some root nodes whose rdf type is of
interest (something similar to what JSON-LD does). Is that clear?
On Mar 22, 2015 1:09 PM, "Andra Lungu" wrote:
> Hi Flavio,
>
Hi Flavio,
We don't have a specific example for generating RDF graphs using Gelly, but
I will try to drop some lines of code here and hope you will find them
useful.
An RDF statement is formed of Subject - Predicate - Object triples. In Edge
notation, the Subject and the Object will be the source
Is there anu example about rdf graph generation based on a skeleton
structure?
On Mar 22, 2015 12:28 PM, "Fabian Hueske" wrote:
> Hi Flavio,
>
> also, Gelly is a superset of Spargel. It provides the same features and
> much more.
>
> Since RDF is graph-structured, Gelly might be a good fit for yo
Hi Flavio,
also, Gelly is a superset of Spargel. It provides the same features and
much more.
Since RDF is graph-structured, Gelly might be a good fit for your use case.
Cheers, Fabian
> > > http://test/Frank, type, Person
> > > > > http://test/Frank, name, Frank
> > > > > http://test/Frank, marriedWith, http://test/Mary
> > > > > http://test/Mary, type, Person
> > > > > http://test/Mary, name, Mary
> > > > >
> > > > > Thanks in advance,
> > > > > Flavio
> > > > >
> > > > > On Mon, Mar 2, 2015 at 5:04 PM, Stephan Ewen
> > wrote:
> > > > >
> > > > > > Hey Santosh!
> > > > > >
> > > > > > RDF processing often involves either joins, or graph-query like
> > > > > operations
> > > > > > (transitive). Flink is fairly good at both types of operations.
> > > > > >
> > > > > > I would look into the graph examples and the graph API for a
> start:
> > > > > >
> > > > > > - Graph examples:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/flink/tree/master/flink-examples/flink-java-examples/src/main/java/org/apache/flink/examples/java/graph
> > > > > > - Graph API:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/flink/tree/master/flink-staging/flink-gelly/src/main/java/org/apache/flink/graph
> > > > > >
> > > > > > If you have a more specific question, I can give you better
> > pointers
> > > > ;-)
> > > > > >
> > > > > > Stephan
> > > > > >
> > > > > >
> > > > > > On Fri, Feb 27, 2015 at 4:48 PM, santosh_rajaguru <
> > sani...@gmail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > > how can flink be useful for processing the data to RDFs and
> build
> > > the
> > > > > > > ontology?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Santosh
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Queries-regarding-RDFs-with-Flink-tp4130.html
> > > > > > > Sent from the Apache Flink (Incubator) Mailing List archive.
> > > mailing
> > > > > list
> > > > > > > archive at Nabble.com.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
st/Frank, marriedWith, http://test/Mary
> > > > http://test/Mary, type, Person
> > > > http://test/Mary, name, Mary
> > > >
> > > > Thanks in advance,
> > > > Flavio
> > > >
> > > > On Mon, Mar 2, 2015 at 5:04 PM, Step
; > > operations
> > > > (transitive). Flink is fairly good at both types of operations.
> > > >
> > > > I would look into the graph examples and the graph API for a start:
> > > >
> > > > - Graph examples:
> > > >
> > > >
> > >
> >
> https://github.com/apache/flink/tree/master/flink-examples/flink-java-examples/src/main/java/org/apache/flink/examples/java/graph
> > > > - Graph API:
> > > >
> > > >
> > >
> >
> https://github.com/apache/flink/tree/master/flink-staging/flink-gelly/src/main/java/org/apache/flink/graph
> > > >
> > > > If you have a more specific question, I can give you better pointers
> > ;-)
> > > >
> > > > Stephan
> > > >
> > > >
> > > > On Fri, Feb 27, 2015 at 4:48 PM, santosh_rajaguru >
> > > > wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > how can flink be useful for processing the data to RDFs and build
> the
> > > > > ontology?
> > > > >
> > > > > Regards,
> > > > > Santosh
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > > >
> > >
> >
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Queries-regarding-RDFs-with-Flink-tp4130.html
> > > > > Sent from the Apache Flink (Incubator) Mailing List archive.
> mailing
> > > list
> > > > > archive at Nabble.com.
> > > > >
> > > >
> > >
> >
>
> > > - Graph examples:
> > >
> > >
> >
> https://github.com/apache/flink/tree/master/flink-examples/flink-java-examples/src/main/java/org/apache/flink/examples/java/graph
> > > - Graph API:
> > >
> > >
> >
> https://github.com/apache/flink/tree/master/flink-staging/flink-ge
gt;
> >
> > On Fri, Feb 27, 2015 at 4:48 PM, santosh_rajaguru
> > wrote:
> >
> > > Hello,
> > >
> > > how can flink be useful for processing the data to RDFs and build the
> > > ontology?
> > >
> > > Regards,
> > > Santosh
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Queries-regarding-RDFs-with-Flink-tp4130.html
> > > Sent from the Apache Flink (Incubator) Mailing List archive. mailing
> list
> > > archive at Nabble.com.
> > >
> >
>
t;
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Queries-regarding-RDFs-with-Flink-tp4130.html
> > Sent from the Apache Flink (Incubator) Mailing List archive. mailing list
> > archive at Nabble.com.
> >
>
ist-archive.1008284.n3.nabble.com/Queries-regarding-RDFs-with-Flink-tp4130.html
> Sent from the Apache Flink (Incubator) Mailing List archive. mailing list
> archive at Nabble.com.
>
wrote:
> Hello,
>
> how can flink be useful for processing the data to RDFs and build the
> ontology?
>
> Regards,
> Santosh
>
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Queri
Hello,
how can flink be useful for processing the data to RDFs and build the
ontology?
Regards,
Santosh
--
View this message in context:
http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Queries-regarding-RDFs-with-Flink-tp4130.html
Sent from the Apache Flink
19 matches
Mail list logo