Parts

From Schema Bib Extend Community Group
Jump to: navigation, search

Parts Proposal

Status: Discontinued - merged with Collection
Author: Richard Wallis

Overview

There is a need to identify the relationships between creative works that contain other creative works.

Proposal

The addition of two properties to the CreativeWork Type

Property Expected Type Description
hasPart schema.org/CreativeWork A creative work that is contained within this work.
isPartOf schema.org/CreativeWork A creative work that this work is contained within.

Examples

1. The Lord of the Rings trilogy
Initial example in RDF Turtle format - other formats to follow - RJW

@prefix schema: <http://schema.org/> .
@prefix schemap: <http://proposed-schema.org/> .

<http://exampleworks.org/work/12345> 
	a schema:Book;
	schema:name "Lord of the Rings";
	schema:about <http://id.worldcat.org/fast/1020337>;
	schema:author <http://viaf.org/viaf/95218067>;
	schema:author [ a schema:Person;
					schema:name "Tolkien, J. R. R. (John Ronald Reuel), 1892-1973."];
	schema:inLanguage "en";
	schema:genre "Fiction";
	schema:description	"v. 1. The fellowship of the ring.--v. 2. The two towers.--v. 3. The return of the king.";
	schemap:hasPart <http://exampleworks.org/work/12346>; 
	schemap:hasPart <http://exampleworks.org/work/12347>;
	schemap:hasPart <http://exampleworks.org/work/12348>.

<http://exampleworks.org/work/12346> 
	a schema:Book;
	schema:name "The fellowship of the ring";
	schema:about <http://id.worldcat.org/fast/1020337>;
	schema:author <http://viaf.org/viaf/95218067>;
	schema:author [ a schema:Person;
					schema:name "Tolkien, J. R. R. (John Ronald Reuel), 1892-1973."];
	schema:inLanguage "en";
	schema:genre "Fiction";
	schema:description	"Lord of the Rings Pt1";
	schemap:isPartOf <http://exampleworks.org/work/12345>.

<http://exampleworks.org/work/12347> 
	a schema:Book;
	schema:name "The two towers";
	schema:about <http://id.worldcat.org/fast/1020337>;
	schema:author <http://viaf.org/viaf/95218067>;
	schema:author [ a schema:Person;
					schema:name "Tolkien, J. R. R. (John Ronald Reuel), 1892-1973."];
	schema:inLanguage "en";
	schema:genre "Fiction";
	schema:description	"Lord of the Rings Pt2";
	schemap:isPartOf <http://exampleworks.org/work/12345>.

<http://exampleworks.org/work/12348> 
	a schema:Book;
	schema:name "The return of the king.";
	schema:about <http://id.worldcat.org/fast/1020337>;
	schema:author <http://viaf.org/viaf/95218067>;
	schema:author [ a schema:Person;
					schema:name "Tolkien, J. R. R. (John Ronald Reuel), 1892-1973."];
	schema:inLanguage "en";
	schema:genre "Fiction";
	schema:description	"Lord of the Rings Pt3";
	schemap:isPartOf <http://exampleworks.org/work/12345>.