kaka

Book Vocabulary


Defines a few basic terms for describing books and people’s relationships with them. It works best when combined with Dublin Core, FOAF and the Reviews vocabulary.

Examples

Add another example.

Describing a Person Who Owns a Book

This example describes a book with the title of “A Brief History of Time” written by “Stephen Hawkings” and ISBN 0553804367. It also describes a person called “alice” who owns a copy of the book and the condition of that copy. more…

@prefix book  : <http://purl.org/NET/book/vocab#> .
@prefix dc    : <http://purl.org/dc/terms/> .
@prefix ddc   : <http://purl.org/NET/decimalised#c> .
@prefix event : <http://purl.org/NET/c4dm/event.owl#> .
@prefix ex    : <http://example.com/ns#> .
@prefix foaf  : <http://xmlns.com/foaf/0.1/> .
@prefix tl    : <http://purl.org/NET/c4dm/timeline.owl#> .
@prefix xsd   : <http://www.w3.org/2001/XMLSchema#> .

_:abhot a book:Book ;
  book:isbn "0553804367" ;
  dc:title "A Brief History of Time" ;
  dc:creator [ a foaf:Person ; foaf:name "Stephen Hawkings" ] ;
  dc:subject ddc:523 .
	
_:alice book:owns [
    a book:Copy ;
    book:book _:abhot ;
    ex:condition "As good as new!"
  ] .

A Person Who Has Read a Book

This example describes the time during which a person “alice”read the book called “A Brief History of Time”. She read it over a period of 4 days starting on 15 October2007 in France. more…

@prefix book  : <http://purl.org/NET/book/vocab#> .
@prefix dc    : <http://purl.org/dc/terms/> .
@prefix ddc   : <http://purl.org/NET/decimalised#c> .
@prefix event : <http://purl.org/NET/c4dm/event.owl#> .
@prefix ex    : <http://example.com/ns#> .
@prefix foaf  : <http://xmlns.com/foaf/0.1/> .
@prefix tl    : <http://purl.org/NET/c4dm/timeline.owl#> .
@prefix xsd   : <http://www.w3.org/2001/XMLSchema#> .

_:abhot a book:Book ;
  book:isbn "0553804367" ;
  dc:title "A Brief History of Time" ;
  dc:creator [ a foaf:Person ; foaf:name "Stephen Hawkings" ] ;
  dc:subject ddc:523 .
	
[] a book:Reading ;
    book:reader _:alice ;
    book:readingOf _:abhot ;
    event:time [
        a tl:Interval;
        tl:at "2007-10-15"^^xsd:dateTime;
        tl:duration "P4D"^^xsd:duration;
    ] ;
    event:place <http://dbpedia.org/resource/France> .