Skip to content

Instantly share code, notes, and snippets.

@kurtcagle
Last active November 24, 2015 05:38
Show Gist options
  • Save kurtcagle/008cb5f3f02d200043c6 to your computer and use it in GitHub Desktop.
Save kurtcagle/008cb5f3f02d200043c6 to your computer and use it in GitHub Desktop.
Model of Simple Book Recommendation Engine
user:JaneDoe
rdf:type class:User;
rdfs:label "Jane Doe";
.
book:BooksOfFae
rdf:type class:Book;
rdfs:label "Books of Fae";
book:author author:KurtCagle;
.
author:KurtCagle
rdf:type class:Author;
rdfs:label "Kurt Cagle";
.
bookReview:BooksOFae_12345
rdf:type class:BookReview;
bookReview:book book:BooksOFae;
bookReview:user user:JaneDoe;
bookReview:reviewText "This was a good book";
bookReview:rating "5"^^bookReview:Stars;
bookReview:genre genre:UrbanFantasy;
bookReview:topic
topic:Crows,
topic:Witches,
topic:Programmers,
topic:Symbolism,
topic:Books,
topic:Libraries,
topic:Magic,
topic:Startups,
topic:Vampires,
topic:SecretSocieties,
topic:Computers;
bookReview:protagonist protagonist:FemaleSolitary;
bookReview:pointOfView pointOfView:FirstPerson;
bookReview:audience audience:YoungAdult;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment