Model URI

wos

index

Types

Type integer

xmltype: http://www.w3.org/2001/XMLSchema#integer
UsedBy
Book:first-page
Book:last-page
Book:num_paintings
Book:num_images
Illustration:page
Artist:age

Type decimal

xmltype: http://www.w3.org/2001/XMLSchema#decimal
UsedBy
Location:latitude
Location:longitude

Type id

maxlength: 5
UsedBy
Book:id
Illustration:id
Painting:id
Artist:id
Location:id
The ids of each entity (illustration, artist or location) is unique.

Type image

xmltype: rdf:resource
maxlength: 100
UsedBy
Book:cover
Painting:image
Artist:image
Location:image

Type text

maxlength: 4x50
UsedBy

Type illustration-type

Value Title
Enum painting
Enum photograph
Enum pottery
Enum advert
UsedBy

Type medium

Value Title
Enum oil
Enum minature
UsedBy

Entities

Entity Book

id
type id
primarykey: true
comment: the identifier for the book.
label
typ: string
derived: true
comment: label - a common field for all entities- derived
rule: $entity/title/string()
alias:
title
type string
maxlength: 50
comment: The title of the book
author
type string
maxlength: 50
comment: The author of the book
comment
type html
per-editor: true
comment: Each editor can create their own comment on the book. HTML tags can be used but bad html will error.
cover
type image
min: 0
comment: the URL of a JPEG image of the book cover
first-page
type integer
last-page
type integer
publication-date
type string
maxlength: 50
comment: The date of publication of the book
webpage
type uri
comment: the URL of a page which provides an in-depth description of the book.
num_paintings
type integer
derived: true
rule: count($wos:data//Painting[id = $wos:data//Illustration[book=$entity/id]/painting])
num_images
type integer
derived: true
rule: count($wos:data//Painting[id = $wos:data//Illustration[book=$entity/id]/painting]/image)

Entity Illustration

id
type id
primarykey: true
comment: the identifier for the illustration.
book
type Book
painting
type Painting
page
type integer
maxlength: 5
comment: The page number the illustration in its book
page-view
type luri
derived: true
rule: concat("?mode=page&id=",$entity/page)
label: concat("View Page ",$entity/page)
label
type string
derived: true
comment: label - a common field for all entities- derived
rule: concat(wos:entity-label($entity/book), " page ", $entity/page," ",$entity/position)
alias:
position
type string
maxlength: 12
comment: The position of the image on the page
clip
type string
min: 0
comment: a CSS clip rect to display part of the image
comment
type html
per-editor: true
comment: Each editor can create their own comment on the book. HTML tags can be used but bad html will error.

Entity Painting

order: label
id
type id
primarykey: true
comment: the identifier for the Painting.
title
type string
maxlength: 50
comment: The title of the painting
label
derived: true
comment: label - a common field for all entities- derived
rule: $entity/title
alias:
searchlabel
derived: true
comment: search string for use in search links
rule: concat($entity/title, " by ", wos:entity-label($entity/artist) )
subjects
type string
maxlength: 100
comment: list of subjects, separated by ";". These are used to create links to wikipedia pages.
source
type string
maxlength: 50
min: 0
date
type string
maxlength: 12
comment: The date of creation of the painting.
artist-qualification
type string
min: 0
artist
type Artist
min: 0
comment: The artist who created the painting
location-qualification
type string
min: 0
location
type Location
min: 0
comment: The location of the painting, typically a museum
image
type image
comment: the URL of a JPEG image which is appropriate size and quality to use as the image on the book page.
hiresimage
type uri
comment: the URL of a high resolution JPEG or website which provides a high resolution image (such as the National Gallery)
webpage
type uri
comment: the URL of a page which provides an in-depth description of the painting.
googleImages
type uri
derived: true
comment: search Google Images
rule: concat("http://www.google.com/images?q=",encode-for-uri(wos:search-label($entity)))
comment
type html
per-editor: true
comment: Each editor can create their own comment on the illustration. HTML tags can be used but bad html will error.

Entity Artist

id
type id
primarykey: true
comment: the identifier for the artist.
label
type string
derived: true
comment: label - a common field for all entities- derived
rule: $entity/artist-name/string()
alias:
artist-name
type string
comment: The name of the artist
sort-label
type string
derived: true
comment: extracted surname - not entirely accurate
rule: let $parts := tokenize($entity/artist-name,"\s+") return concat($parts[last()],", ",string-join($parts[position() < count($parts)]," "))
known-as
type string
comment: An alternative, nickname for the artist
artist-dates
type string
maxlength: 20
comment: This data is taken from the "Ways of Seeing" text
dateofbirth
type string
maxlength: 12
label: date of birth
comment: The year of birth
dateofdeath
type string
maxlength: 12
label: date of death
comment: The year of birth
age
type integer
derived: true
comment: Computed from the difference between date of death and date of birth
rule: if ($entity/dateofbirth castable as xs:integer and $entity/dateofdeath castable as xs:integer) then xs:integer($entity/dateofdeath) - xs:integer($entity/dateofbirth) else ()
image
type image
comment: The URL of an image of the artist
webpage
type uri
comment: The URL of a web page providing a biography of the artist.
wikipedia-name
type string
min: 0
comment: The name of the wikipedia page for the artist where this is different from the name and needed for disambiguation
wikipedia
type uri
derived: true
rule: concat("http://en.wikipedia.org/wiki/", replace(($entity/wikipedia-name,$entity/artist-name)[1]," ","_"))
dbpedia
type uri
derived: true
rule: concat("http://dbpedia.org/resource/", replace(($entity/wikipedia-name,$entity/artist-name)[1]," ","_"))
commonspage
type uri
derived: true
rule: concat("http://commons.wikipedia.org/wiki/Category:", replace($entity/artist-name," ","_"))
googleImages
type uri
derived: true
rule: concat("http://www.google.com/images?q=", $entity/artist-name)
comment
type html
per-editor: true
comment: Each editor can create their own comment on the artist. HTML tags can be used but bad html will error.

Entity Location

id
type id
primarykey: true
comment: the identifier for the location.
location-name
type string
maxlength: 60
comment: The English name of the location
label
type string
derived: true
rule: $entity/location-name/string()
alias:
address
type string
maxlength: 100
comment: The postal address of the location
latitude
type decimal
comment: The latitude of the location in decimal degrees
longitude
type decimal
comment: The longitude of the location in decimal degrees
image
type image
comment: The URL of an image of the artist
webpage
type uri
comment: The URL of the museums webpage
gap
type uri
min: 0
comment: The URL of the Google Art Project for the museum
wikipedia-name
type string
min: 0
comment: The name of the wikipedia page for the location where this is different from the name and needed for disambiguation
wikipedia
type uri
derived: true
rule: concat("http://en.wikipedia.org/wiki/", replace(($entity/wikipedia-name,$entity/location-name)[1]," ","_"))
dbpedia
type uri
derived: true
rule: concat("http://dbpedia.org/resource/", replace(($entity/wikipedia-name,$entity/location-name)[1]," ","_"))
googlemap
type uri
derived: true
rule: concat("http://maps.google.com/maps?q=", if ($entity/latitude) then concat($entity/latitude,",",$entity/longitude,"(",$entity/location-name,")") else $entity/location-name)
comment
type html
per-editor: true
comment: Each editor can create their own comment on the location. HTML tags can be used but bad html will error.