How prasanth866/bigdata_project works
This repository is a collection of three independent big-data lab solutions: website-traffic ranking, movie-booking analytics, and an RDF museum knowledge base. The principal workflows ingest each problem’s data, compute or query domain results, and present those results. The graph preserves the documented Java, Python, Spark, and RDF capabilities. Relationships for the RDF formats and documented Spark tasks are based on the README; source excerpts provide more detailed evidence for the runtime flows. The execution scripts and unsampled modules are not mapped as runtime components.
Main entry points: movie_booking_analysis.py Spark Analysis · validate_and_query.py Validation and Query Runner · TwoStageMostVisitedWebsite.java Two-Stage Hadoop Job · web_traffic.txt Traffic Records
Components 23
Website Traffic MapReduce
- Traffic Records
problem1_mapreduce/input/web_traffic.txt - Local Simulator
problem1_mapreduce/run_local.py - Map and Group
problem1_mapreduce/run_local.py - Unique Counts
problem1_mapreduce/run_local.py - Single-Pass Hadoop Job
problem1_mapreduce/src/com/bigdata/mapreduce/MostVisitedWebsite.java - Two-Stage Hadoop Job
problem1_mapreduce/src/com/bigdata/mapreduce/TwoStageMostVisitedWebsite.java - Streaming Mapper
problem1_mapreduce/scripts/mapper.py - Streaming Reducer
problem1_mapreduce/scripts/reducer.py
Booking Analytics
- Booking CSV
problem2_sparksql/data/movie_bookings.csv - Spark Analysis
problem2_sparksql/movie_booking_analysis.py - Ticket Filter
problem2_sparksql/movie_booking_analysis.py - Bloom Duplicate Detection
problem2_sparksql/movie_booking_analysis.py - Unique Bookings
problem2_sparksql/movie_booking_analysis.py - Movie Ticket Totals
problem2_sparksql/movie_booking_analysis.py - Movie Revenue
problem2_sparksql/movie_booking_analysis.py - Top-Revenue Movie
problem2_sparksql/movie_booking_analysis.py
Museum Knowledge Base
- Turtle Ontology
problem3_rdf_museum/ontology/museum.ttl - RDF/XML Ontology
problem3_rdf_museum/ontology/museum.rdf - N-Triples Ontology
problem3_rdf_museum/ontology/museum.nt - Validation and Query Runner
problem3_rdf_museum/validate_and_query.py - RDFS Inference
problem3_rdf_museum/validate_and_query.py - SPARQL Queries
problem3_rdf_museum/queries - Query Results
Connections 20
- Traffic Records → Local Simulator: reads
problem1_mapreduce/run_local.py - Local Simulator → Map and Group: parses
problem1_mapreduce/run_local.py - Map and Group → Unique Counts: groups records
problem1_mapreduce/run_local.py - Single-Pass Hadoop Job → Traffic Records: reads input
README.md - Two-Stage Hadoop Job → Traffic Records: reads input
README.md - Two-Stage Hadoop Job → Two-Stage Hadoop Job: runs two stages
problem1_mapreduce/src/com/bigdata/mapreduce/TwoStageMostVisitedWebsite.java - Streaming Mapper → Streaming Reducer: emits records
- Booking CSV → Spark Analysis: loads CSV
problem2_sparksql/movie_booking_analysis.py - Spark Analysis → Ticket Filter: filters
problem2_sparksql/movie_booking_analysis.py - Spark Analysis → Bloom Duplicate Detection: checks duplicates
problem2_sparksql/movie_booking_analysis.py - Spark Analysis → Unique Bookings: deduplicates
problem2_sparksql/movie_booking_analysis.py - Unique Bookings → Movie Ticket Totals: aggregates tickets
problem2_sparksql/movie_booking_analysis.py - Unique Bookings → Movie Revenue: aggregates revenue
problem2_sparksql/movie_booking_analysis.py - Unique Bookings → Top-Revenue Movie: ranks revenue
problem2_sparksql/movie_booking_analysis.py - Turtle Ontology → Validation and Query Runner: parses
problem3_rdf_museum/validate_and_query.py - Validation and Query Runner → RDFS Inference: infers types
problem3_rdf_museum/validate_and_query.py - Validation and Query Runner → SPARQL Queries: loads and executes
problem3_rdf_museum/validate_and_query.py - SPARQL Queries → Query Results: produces
- RDF/XML Ontology → Turtle Ontology: equivalent format
- N-Triples Ontology → Turtle Ontology: equivalent format