Hi,
I’m new here, considering buying dgraph for our on-premise clients replacing orientdb.
In general, the need is to describe the connection between humans across social networks
human
is the owner_of
twitter
/instagram
/linkedin accounts
.
the accounts are following other accounts that are owned by other humans.
in short:
humanA --owner_of-->
twitterA
--follows-->
twitterB
<--owner_of--
humanB.
I have in my hand human uid
and I want to analyze and understand what other humans are connected to him (by removing un relevant nodes) and present it on my dashboard visualization.
In the following picture, I want to remove everything that is not marked in yellow.
Query 1 - known: human2. need to understand how other human/s are connected to him through bedirectional follows
.
Query 2 - known: human4. need to understand how other human/s are connected to him through one direction follows
.
(remove everything not marked in yellow.)
Link to the data: https://jsonformatter.org/json-editor/311e62
The schema
<dgraph.graphql.schema>: string .
<follows>: [uid] @reverse .
<name>: string .
<owner_of>: [uid] .
Thanks