Movies I've Watched

From GetSemantic

Jump to: navigation, search

"Movies I've Watched" is a simple eRDF schema that I've (Tom) put together to place a list of movies that one has watched in RDF and HTML format. It uses a movie namespace that I have put there and it uses FOAF to make it easy to merge with another FOAF document (change the "id" to whatever ID you use to mark yourself in FOAF). Below is an example of how one could use such a schema. It is also an example of how trivially easy making such a format can be.

Contents

[edit] Code Sample

<?xml version="1.0" ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head profile="http://purl.org/NET/erdf/profile">
  <title>Movies</title>
  <link rel="schema.movie" href="http://rdf.opiumfield.com/movie/0.1/" />
  <link rel="schema.foaf" href="http://xmlns.com/foaf/0.1/" />
 </head>
 <body>
  <div id="me" class="-foaf-Person">
   <ul>
    <li><a rel="movie-watched" href="http://imdb.com/title/tt0117060/"><span class="movie-name">Mission Impossible</span>
    (<span class="movie-year">1996</span>)</a></li>
    <li><a rel="movie-watched" href="http://imdb.com/title/tt0057413/"><span class="movie-name">The Pink Panther</span>
    (<span class="movie-year">1963</span>)</a></li>
   </ul>
  </div>
 </body>
</html>

[edit] Transforms

  • eRDF - you can use the standard eRDF stylesheet to turn this in to RDF/XML.
  • Specific stylesheet will be available soon for those who do not have the ability to edit the HEAD - see Stylesheets for the eRDF impaired
  • XSLT to turn in to OPML to be used with Grazr?
  • Import/Export scripts for cataloguing applications?

[edit] Limitations

[edit] Implementation

See Movies_I've_watched_using_dbpedia

[edit] Works done in this area by SimonRozet

I've also worked on the "Movies I've Watched" things

-- SimonRozet

Personal tools