Giter VIP home page Giter VIP logo

ontology_moviefinder_project's Introduction

MovieFinder_Ontology

A python application that returns you a list of films based on the included/excluded actors, directors and genres.

Overview

This project implements a movie finder application using PyQt5 for the user interface and Owlready2 for ontology manipulation. The application allows users to manage directors, actors, and genres within a tree view by adding or removing them from included and excluded sections. After configuring their preferences, users can fetch movies that match their criteria by pressing the "Get Movie" button. Behind the scenes, Owlready2 utilizes the Pellet reasoner, an OWL DL reasoner, to infer new knowledge based on ontology axioms and rules, enabling the derivation of implicit relationships between entities. Rules written in OWL 2 RL syntax define inference patterns to deduce relationships such as genre, director, actor, and movie based on their properties and classes. Additionally, SPARQL queries are employed to retrieve specific information from the ontology, facilitating the selection of movies based on user-defined criteria. Overall, this application provides an intuitive interface for exploring and selecting movie preferences, with powerful reasoning capabilities enhancing the movie discovery experience.

Libraries Needed

-rdflib

pip install rdflib

-owlready2

pip install owlready2

-pyqt5

pip install pyqt5

How to run

Open the project folder and run pythonApplication.py

python pythonApplication.py

Screenshots of Application

Main Window

Main Window

Main Window

You can manage directors, actors, and genres within the tree by adding or removing them from the included and excluded sections. Once you've configured your preferences, simply press the "Get Movie" button to fetch movies that match your criteria. This action will take you to the Information Window where you can view detailed information about the selected movie.

Information Display Window

Info Window

Info Window

Info Window

You can expand the dropdown arrow to reveal additional movie details. To return to the main window, simply press the back button.

ontology_moviefinder_project's People

Contributors

dedrec avatar engy7 avatar yaramostafa 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.