Hi Vladimir,

What do you mean by retrieving of subgraph?
Do you want to create a copy of this graph? Or how it supposed to be
processed?

Best regards,
Artem Orobets

* Orient Technologiesthe Company behind OrientDB*


2014-07-14 16:52 GMT+03:00 Andrey Kovalev <[email protected]>:

> Hi, Vladimir. I also wonder whether it is possible. It would be nice if
> OrientDB team gives us a lot of examples of tricky sql queries on some real
> graph models.
> The query would probably look like:
> traverse V.in_root_for, V.out_root_for, V.out_child_of from [
> id_of_New_York_islanders]
>
>
> But I do not get why do you include 'Linda', 'George' and 'child of'
> vertices?
>
>
> On Monday, 14 July 2014 14:37:53 UTC+1, Vladimir Ziankevich wrote:
>>
>> At first I am sorry for my question, but I really can't understand how to
>> solve my problem.
>>
>> Imagine, I have a graph of relationships which consists of:
>> 1) family tree: one child can heve only one parent
>> 2) graph of interests (hockey teams root for...)
>>
>> Example of the graph:
>>
>>
>> <https://lh6.googleusercontent.com/-2gmc-apHGAw/U8PZ3T4Vc1I/AAAAAAAAABM/wwa19WQtMJ0/s1600/Graph1.png>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> So, the problem is I need to retrieve the subgraph by the several childs,
>> f.e. subgraph for Shaun, John, Linda, Jeff - relationship subtree and
>> linked teams:
>>
>>
>>
>>
>> <https://lh4.googleusercontent.com/-gUIiUUxMbvU/U8Pb4JfciII/AAAAAAAAABY/ckGOzn0nHdc/s1600/Graph_highlighed1.png>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> And the result subgraph:
>>
>> <https://lh6.googleusercontent.com/-f6mUnwyrkL0/U8PcJxGfWBI/AAAAAAAAABg/ozvKup6dWlU/s1600/Subgraph_highlighted1.png>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> I have already read topic abpot
>>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to