Giter Site home page Giter Site logo

leonardosaccotelli / movielens Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 69 KB

This project has the purpose to test the use on Neo4j with the Movielens dataset. Then we create a simple Spring Boot Application to access the data.

License: MIT License

Java 100.00%
neo4j graphdb spring-boot java movielens

movielens's Introduction

Movielens - Neo4j

In this project we test the use of Neo4j, a graph database, using the Movielens dataset. With Neo4j Desktop we perfom different query that you can find in the followinf folder. Two approaches have been proposed to analyze the data. The first approach is to run queries directly from the Neo4j Desktop. In the second approach we have developed a Spring Boot Application that accesses the database and returns the desired information. Project developed during the Database Design with New Generation Models course @ Department of Computer Science @ University of Bari "Aldo Moro" under the supervision of dr. Nicola Fanizzi.

Prerequisites

By default, requirement for compilation are:

  • JDK 11+
  • Maven

Requirement for running application is:

  • Neo4j Desktop 4+

Using from Neo4j Desktop

You can download the dataset from here. We use the largest dataset with more than 20 milion ratings. Because of the size of the dataset we use the bulk import to load the data. More details here. Now we can use some example query you can find in the folder.

Built with Maven

To create a jar file with dependencies including resource files:

$ mvn install

Using from Spring Boot

Application can be run from root folder by typing into terminal:

$ mvn spring-boot:run

Now from your browser you can typing (the params are simple example of data stored in Neo4j):

localhost:8080/titlesByNameContains/Toy Story (1995)
localhost:8080/allMovies
localhost:8080/allGenres
localhost:8080/allUser
localhost:8080/findUserById/3

License

This software is released under the MIT License. See the LICENSE file for details.

movielens's People

Contributors

leonardosaccotelli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.