Skip to content

KRR - The project consists in the creation of an RDF knowledge graph starting from tabular data

Notifications You must be signed in to change notification settings

AlessandroGhiotto/RDF-music-knowledge-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RDF Music Knowlege Graph

The project consists in the construction of an RDF Knowledge Graph with RDFLib starting from tabular data. The data is about music.

Description

The main task is to create a RDF Knowledge Graph that follows the next points:

  1. create an RDFLib Graph from data contained in CSV files,
  2. integrate the data with DBpedia’s,
  3. gathering information from unstructured data (Wikipedia),
  4. include a small ontology and a genres taxonomy,
  5. materialize inferences,
  6. query the Graph

KG

Keywords

  • Knowledge Representation and Reasoning (KRR)
  • Knowlegde Graph
  • RDFLib
  • RDF, RDFS
  • OWL, OWLRL
  • SPARQL
  • DBpedia
  • WikipediaAPI

CSV data

Here we can have a quick look at the two starting CSV files. The albums, artists, genre, subgenre, ratings and reviews of these albums are our main topic in the knowledge graph.

'album_list.csv':

Number Year Album Artist Genre Subgenre
1 1967 Sgt. Pepper's Lonely Hearts Club Band The Beatles Rock Rock & Roll, Psychedelic Rock
2 1966 Pet Sounds The Beach Boys Rock Pop Rock, Psychedelic Rock
3 1966 Revolver The Beatles Rock Psychedelic Rock, Pop Rock
4 1965 Highway 61 Revisited Bob Dylan Rock Folk Rock, Blues Rock
5 1965 Rubber Soul The Beatles Rock, Pop Pop Rock

'rym_top_5000_all_time.csv':

Ranking Album Artist Name Release Date Genres Descriptors Average Rating Number of Ratings Number of Reviews
1.0 OK Computer Radiohead 16 June 1997 Alternative Rock, Art Rock melancholic, anxious, futuristic, alienation, ... 4.23 70,382 1531
2.0 Wish You Were Here Pink Floyd 12 September 1975 Progressive Rock, Art Rock melancholic, atmospheric, progressive, male vo... 4.29 48,662 983
3.0 In the Court of the Crimson King King Crimson 10 October 1969 Progressive Rock, Art Rock fantasy, epic, progressive, philosophical, com... 4.30 44,943 870
4.0 Kid A Radiohead 3 October 2000 Art Rock, Experimental Rock, Electronic cold, melancholic, futuristic, atmospheric, an... 4.21 58,590 734
5.0 To Pimp a Butterfly Kendrick Lamar 15 March 2015 Conscious Hip Hop, West Coast Hip Hop, Jazz Rap political, conscious, poetic, protest, concept... 4.27 44,206 379

About

KRR - The project consists in the creation of an RDF knowledge graph starting from tabular data

Resources

Stars

Watchers

Forks