Loading data using pydgraph

Looks like it is working

You have to use the right predicates

{
      nodeCount(func: has(<ACTED_BY>), first:10)  {
        person_name
        dgraph.type
        ACTED_BY {
          title
          budget
          revenue
          genres
          <dgraph.type>
        }
      }
    }

BTW, you need to do a cleanup in this RDFs.

For example the line

_:k_457307 <title> "Don't call him "Dimon"" .

is wrong. It should be parsed to JSON scaping method. Like bellow

_:k_457307 <title> "Don't call him \"Dimon\"" .
1 Like