Graph Data Modeling for NoSQL and SQL