You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by Stephen Mallette <sp...@gmail.com> on 2019/07/16 21:57:55 UTC

[DISCUSS] Deprecate support for Multi/Metaproperties in Neo4j

A long time back we built out multi and meta properties into neo4j by
encoding their values into the graph itself. While that was a neat
experiment, I don't think the concept really took hold and it introduced a
layer of code that we probably don't need to keep, especially since I don't
think we ever even bothered to remove the "experimental" label we've
associated with it since its inception.

Seems like we can drop "experimental" things from our code at this point of
TinkerPop's life. Tests will run faster without the extra test mode. I also
doubt that this feature has really caught on for anyone. Any objections to
deprecating in 3.3.x/3.4.x and then removing this feature for 3.5.0?

Re: [DISCUSS] Deprecate support for Multi/Metaproperties in Neo4j

Posted by Joshua Shinavier <jo...@fortytwo.net>.
Ah, got it. Even less of an objection to dropping these features, in that
case. If Neo4j natively supported multi- and meta-properties, that would be
different.

On Tue, Jul 23, 2019 at 11:30 AM Stephen Mallette <sp...@gmail.com>
wrote:

> Thanks Josh...Just to be clear, this issue isn't about removal of
> meta/multiproperties in the TinkerPop structure. It's only removing them as
> a configuration option for neo4j where they are sort of shoehorned in (as
> neo4j doesn't support them natively). I don't think this is a precursor to
> completely removing them in TinkerPop structure APIs in 3.x either right
> now.
>
> On Tue, Jul 23, 2019 at 2:27 PM Joshua Shinavier <jo...@fortytwo.net>
> wrote:
>
> > Hi Stephen,
> >
> > I do not see meta-properties much used in practice, either. No objection
> to
> > removing them for TP 3.5, but I would like to make them reappear in a
> > different form in TP 4.x, along with meta-edges (edges to or from
> > properties or other edges). Exotic as these features might seem, I think
> > the extra degree of freedom is valuable for defining mappings, e.g. to
> RDF
> > with named graphs, or to hypergraph data models. Also, the API complexity
> > is not too bad if we just promote properties to elements, along with
> > vertices and edges. Then a property is an element with an associated data
> > value. An edge is a binary relationship between two elements. Ordinary
> > edges are those in which out- and in- elements are both vertices, etc. --
> > again invoking the element taxonomy
> > <https://groups.google.com/d/msg/gremlin-users/_s_DuKW90gc/Xhp5HMfjAQAJ>
> > from my Graph Day talk (and a paper which we should be able to post very
> > soon now).
> >
> > Josh
> >
> >
> > On Tue, Jul 23, 2019 at 10:43 AM Stephen Mallette <sp...@gmail.com>
> > wrote:
> >
> > > Here's the issue for this item:
> > >
> > > https://issues.apache.org/jira/browse/TINKERPOP-2270
> > >
> > > Once that's done a new issue will get created for removal.
> > >
> > > On Tue, Jul 16, 2019 at 5:57 PM Stephen Mallette <spmallette@gmail.com
> >
> > > wrote:
> > >
> > > > A long time back we built out multi and meta properties into neo4j by
> > > > encoding their values into the graph itself. While that was a neat
> > > > experiment, I don't think the concept really took hold and it
> > introduced
> > > a
> > > > layer of code that we probably don't need to keep, especially since I
> > > don't
> > > > think we ever even bothered to remove the "experimental" label we've
> > > > associated with it since its inception.
> > > >
> > > > Seems like we can drop "experimental" things from our code at this
> > point
> > > > of TinkerPop's life. Tests will run faster without the extra test
> > mode. I
> > > > also doubt that this feature has really caught on for anyone. Any
> > > > objections to deprecating in 3.3.x/3.4.x and then removing this
> feature
> > > for
> > > > 3.5.0?
> > > >
> > >
> >
>

Re: [DISCUSS] Deprecate support for Multi/Metaproperties in Neo4j

Posted by Stephen Mallette <sp...@gmail.com>.
Thanks Josh...Just to be clear, this issue isn't about removal of
meta/multiproperties in the TinkerPop structure. It's only removing them as
a configuration option for neo4j where they are sort of shoehorned in (as
neo4j doesn't support them natively). I don't think this is a precursor to
completely removing them in TinkerPop structure APIs in 3.x either right
now.

On Tue, Jul 23, 2019 at 2:27 PM Joshua Shinavier <jo...@fortytwo.net> wrote:

> Hi Stephen,
>
> I do not see meta-properties much used in practice, either. No objection to
> removing them for TP 3.5, but I would like to make them reappear in a
> different form in TP 4.x, along with meta-edges (edges to or from
> properties or other edges). Exotic as these features might seem, I think
> the extra degree of freedom is valuable for defining mappings, e.g. to RDF
> with named graphs, or to hypergraph data models. Also, the API complexity
> is not too bad if we just promote properties to elements, along with
> vertices and edges. Then a property is an element with an associated data
> value. An edge is a binary relationship between two elements. Ordinary
> edges are those in which out- and in- elements are both vertices, etc. --
> again invoking the element taxonomy
> <https://groups.google.com/d/msg/gremlin-users/_s_DuKW90gc/Xhp5HMfjAQAJ>
> from my Graph Day talk (and a paper which we should be able to post very
> soon now).
>
> Josh
>
>
> On Tue, Jul 23, 2019 at 10:43 AM Stephen Mallette <sp...@gmail.com>
> wrote:
>
> > Here's the issue for this item:
> >
> > https://issues.apache.org/jira/browse/TINKERPOP-2270
> >
> > Once that's done a new issue will get created for removal.
> >
> > On Tue, Jul 16, 2019 at 5:57 PM Stephen Mallette <sp...@gmail.com>
> > wrote:
> >
> > > A long time back we built out multi and meta properties into neo4j by
> > > encoding their values into the graph itself. While that was a neat
> > > experiment, I don't think the concept really took hold and it
> introduced
> > a
> > > layer of code that we probably don't need to keep, especially since I
> > don't
> > > think we ever even bothered to remove the "experimental" label we've
> > > associated with it since its inception.
> > >
> > > Seems like we can drop "experimental" things from our code at this
> point
> > > of TinkerPop's life. Tests will run faster without the extra test
> mode. I
> > > also doubt that this feature has really caught on for anyone. Any
> > > objections to deprecating in 3.3.x/3.4.x and then removing this feature
> > for
> > > 3.5.0?
> > >
> >
>

Re: [DISCUSS] Deprecate support for Multi/Metaproperties in Neo4j

Posted by Joshua Shinavier <jo...@fortytwo.net>.
Hi Stephen,

I do not see meta-properties much used in practice, either. No objection to
removing them for TP 3.5, but I would like to make them reappear in a
different form in TP 4.x, along with meta-edges (edges to or from
properties or other edges). Exotic as these features might seem, I think
the extra degree of freedom is valuable for defining mappings, e.g. to RDF
with named graphs, or to hypergraph data models. Also, the API complexity
is not too bad if we just promote properties to elements, along with
vertices and edges. Then a property is an element with an associated data
value. An edge is a binary relationship between two elements. Ordinary
edges are those in which out- and in- elements are both vertices, etc. --
again invoking the element taxonomy
<https://groups.google.com/d/msg/gremlin-users/_s_DuKW90gc/Xhp5HMfjAQAJ>
from my Graph Day talk (and a paper which we should be able to post very
soon now).

Josh


On Tue, Jul 23, 2019 at 10:43 AM Stephen Mallette <sp...@gmail.com>
wrote:

> Here's the issue for this item:
>
> https://issues.apache.org/jira/browse/TINKERPOP-2270
>
> Once that's done a new issue will get created for removal.
>
> On Tue, Jul 16, 2019 at 5:57 PM Stephen Mallette <sp...@gmail.com>
> wrote:
>
> > A long time back we built out multi and meta properties into neo4j by
> > encoding their values into the graph itself. While that was a neat
> > experiment, I don't think the concept really took hold and it introduced
> a
> > layer of code that we probably don't need to keep, especially since I
> don't
> > think we ever even bothered to remove the "experimental" label we've
> > associated with it since its inception.
> >
> > Seems like we can drop "experimental" things from our code at this point
> > of TinkerPop's life. Tests will run faster without the extra test mode. I
> > also doubt that this feature has really caught on for anyone. Any
> > objections to deprecating in 3.3.x/3.4.x and then removing this feature
> for
> > 3.5.0?
> >
>

Re: [DISCUSS] Deprecate support for Multi/Metaproperties in Neo4j

Posted by Stephen Mallette <sp...@gmail.com>.
Here's the issue for this item:

https://issues.apache.org/jira/browse/TINKERPOP-2270

Once that's done a new issue will get created for removal.

On Tue, Jul 16, 2019 at 5:57 PM Stephen Mallette <sp...@gmail.com>
wrote:

> A long time back we built out multi and meta properties into neo4j by
> encoding their values into the graph itself. While that was a neat
> experiment, I don't think the concept really took hold and it introduced a
> layer of code that we probably don't need to keep, especially since I don't
> think we ever even bothered to remove the "experimental" label we've
> associated with it since its inception.
>
> Seems like we can drop "experimental" things from our code at this point
> of TinkerPop's life. Tests will run faster without the extra test mode. I
> also doubt that this feature has really caught on for anyone. Any
> objections to deprecating in 3.3.x/3.4.x and then removing this feature for
> 3.5.0?
>