Schema
default namespace d3e55a1480 = ""
namespace local = ""
namespace inh = inherit
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
namespace dc = "http://purl.org/dc/elements/1.1/"
namespace odbib = "http://www.example.net/odbib#"
namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"

[
dc:creator [ "Bruce D’Arcus" ]
dc:description
[
"This an example for bibligraphic metadata modeled on DOAP: a clean XML representation that is also RDF."
]
]
start = element rdf:RDF { ( odbib.Referencesodbib.Agentsodbib.Events )+ }

div
{
ID = attribute rdf:about { xsd:anyURI } | attribute rdf:ID { xsd:anyURI }?

## to handle ordered lists

div
{
Sequence = element rdf:Seq { ListItem+ }

ListItem = element rdf:li { URIResource }
}

div
{
Literal = text, attribute xml:lang { xsd:language }?

XMLLiteral = text, attribute rdf:parseType { "Literal" }, attribute xml:lang { xsd:language }?

Resource = element * - d3e55a1480:* { rdf.property+ }

rdf.property = element * - d3e55a1480:* { ( LiteralURI ) | Resource }
}

URI = attribute rdf:resource { xsd:anyURI }
}

div
{
div
{
odbib.References =
Abstract
Article
Bill
Book
Broadcast
Collection
CourtReporter
Data
EditedBook
Hearing
Image
Interview
Journal
LegalCase
Legislation
Magazine
Manuscript
Map
MotionPicture
Pamphlet
Paper
Patent
Periodical
PersonalCommunication
Photograph
Poster
Proceedings
Report
Review
Series
Speech
Thesis

div
{
odbib.part = ( odbib.base-propertiesodbib.containedInodbib.part-properties ), ID

odbib.monograph = ( odbib.base-propertiesodbib.edition? & odbib.partOf? & odbib.original? ), ID

odbib.serial = odbib.base-properties, ID

odbib.generic = ( odbib.base-propertiesodbib.containedIn? & odbib.partOf? ), ID

odbib.presentation =
( odbib.base-propertiesodbib.containedIn? & odbib.presentedAt? & odbib.part-properties ),
ID

odbib.collection = odbib.collection-properties, ID
}

div
{
Abstract = element odbib:Abstract { odbib.part }

Article = element odbib:Article { odbib.part }

Bill = element odbib:Bill { odbib.part }

Book = element odbib:Book { odbib.monograph }

Broadcast = element odbib:Broadcast { odbib.generic }

Collection = element odbib:Collection { odbib.collection }

CourtReporter = element odbib:CourtReporter { odbib.part }

Data = element odbib:Data { odbib.generic }

EditedBook = element odbib:EditedBook { odbib.monograph }

Hearing = element odbib:Hearing { odbib.generic }

Image = element odbib:Image { odbib.generic }

Interview = element odbib:Image { odbib.part }

Journal = element odbib:Journal { odbib.serial }

LegalCase = element odbib:LegalCase { odbib.part }

Legislation = element odbib:Legislation { odbib.part }

Magazine = element odbib:Magazine { odbib.serial }

Manuscript = element odbib:Manuscript { odbib.monograph }

Map = element odbib:Map { odbib.generic }

MotionPicture = element odbib:MotionPicture { odbib.monograph }

Pamphlet = element odbib:Pamphlet { odbib.monograph }

Paper = element odbib:Paper { odbib.presentation }

Patent = element odbib:Patent { odbib.monograph }

Periodical = element odbib:Periodical { odbib.serial }

PersonalCommunication = element odbib:PersonalCommunication { odbib.generic }

Photograph = element odbib:Photograph { odbib.generic }

Poster = element odbib:Poster { odbib.presentation }

Proceedings = element odbib:Proceedings { odbib.monograph }

Report = element odbib:Report { odbib.monograph }

Review = element odbib:Review { odbib.part }

Series = element odbib:Series { odbib.collection }

Speech = element odbib:Speech { odbib.presentation }

Thesis = element odbib:Thesis { odbib.monograph }
}
}

div
{
odbib.Authors = element odbib:authors { element rdf:Seq { element rdf:li { odbib.AgentsURI }* } }

odbib.Agents = odbib.Personodbib.Organization

odbib.Person = element odbib:Person { ID, odbib.PersonProperties }

odbib.Organization = element odbib:Organization { ID, odbib.OrganizationProperties }

div
{
div
{
odbib.PersonProperties =
odbib.prefix? & odbib.givenname? & odbib.surname? & odbib.suffix? & odbib.name? & odbib.articular?

odbib.givenname = element odbib:givenname { Literal }

odbib.surname = element odbib:surname { Literal }

odbib.prefix = element odbib:prefix { Literal }

odbib.suffix = element odbib:suffix { Literal }

## articular refers to examples like "von" or "bin" which typically precede surnames, but are not sorted on

odbib.articular = element odbib:articular { Literal }
}

div
{
odbib.OrganizationProperties = odbib.nameodbib.abbreviatedName? & odbib.address?

odbib.name = element odbib:name { Literal }

odbib.abbreviatedName = element odbib:abbreviatedName { Literal }

odbib.address = odbib.city

odbib.city = element odbib:city { URILiteral }
}
}
}

div
{
odbib.Events = odbib.Conferenceodbib.Workshop

odbib.Conference = element odbib:Conference { ( odbib.base-properties & ( odbib.dateodbib.dateRange ) ), ID }

odbib.Workshop = element odbib:Workshop { ( odbib.base-properties & ( odbib.dateodbib.dateRange ) ), ID }
}
}

div
{
odbib.base-properties =
odbib.title*
odbib.abbreviatedTitle*
odbib.dateIssued?
odbib.Authors?
odbib.item*
odbib.publisher?
odbib.identifier*

odbib.part-properties = odbib.volume_number? & odbib.issue_number? & odbib.document_number? & odbib.page_numbers?

odbib.collection-properties = odbib.partOf

div
{
odbib.title = element odbib:title { LiteralXMLLiteral }

odbib.abbreviatedTitle = element odbib:abbreviatedTitle { LiteralXMLLiteral }
}

div
{
odbib.containedIn = element odbib:containedIn { URIodbib.References }

odbib.presentedAt = element odbib:presentedAt { URIodbib.Events }

odbib.partOf = element odbib:partOf { URIodbib.References }

odbib.reviewOf = element odbib:reviewOf { URIodbib.References }

odbib.original = element odbib:original { URIodbib.References }
}

div
{
odbib.publisher = element odbib:publisher { URIodbib.Organization }

odbib.volume_number = element odbib:volume { Literal }

odbib.issue_number = element odbib:issue { Literal }

odbib.document_number = element odbib:document { Literal }

odbib.edition = element odbib:edition { Literal }

odbib.page_numbers = element odbib:pages { Literal }

odbib.identifier = element odbib:identifier { URI }
}

div
{
odbib.dateIssued = element odbib:dateIssued { xsd:datexsd:gYearxsd:gYearMonth }

odbib.date = element odbib:date { xsd:datexsd:gYearxsd:gYearMonth }

odbib.dateRange = odbib.beginDateodbib.endDate

odbib.beginDate = element odbib:beginDate { xsd:datexsd:gYearxsd:gYearMonth }

odbib.endDate = element odbib:endDate { xsd:datexsd:gYearxsd:gYearMonth }
}

div
{
odbib.item = element odbib:item { URIodbib.Copy }

odbib.Copy = odbib.PhysicalCopyodbib.ElectronicCopy

odbib.PhysicalCopy = element odbib:PhysicalCopy { odbib.item-properties* }

odbib.ElectronicCopy = element odbib:ElectronicCopy { odbib.item-properties* }

odbib.item-properties = odbib.locationodbib.accessDateodbib.audienceodbib.owner

odbib.location = element odbib:location { LiteralURI }

odbib.accessDate = element odbib:accessDate { xsd:date }

odbib.audience = element odbib:audience { text }

odbib.owner = element odbib:owner { URILiteral }
}
}
Index
 
start
Definitions: 1
Abstract
Definitions: 1
Referenced from:
odbib.References
Article
Definitions: 1
Referenced from:
odbib.References
Bill
Definitions: 1
Referenced from:
odbib.References
Book
Definitions: 1
Referenced from:
odbib.References
Broadcast
Definitions: 1
Referenced from:
odbib.References
Collection
Definitions: 1
Referenced from:
odbib.References
CourtReporter
Definitions: 1
Referenced from:
odbib.References
Data
Definitions: 1
Referenced from:
odbib.References
EditedBook
Definitions: 1
Referenced from:
odbib.References
Hearing
Definitions: 1
Referenced from:
odbib.References
ID
Definitions: 1
Image
Definitions: 1
Referenced from:
odbib.References
Interview
Definitions: 1
Referenced from:
odbib.References
Journal
Definitions: 1
Referenced from:
odbib.References
LegalCase
Definitions: 1
Referenced from:
odbib.References
Legislation
Definitions: 1
Referenced from:
odbib.References
ListItem
Definitions: 1
Referenced from:
Sequence
Literal
Definitions: 1
Magazine
Definitions: 1
Referenced from:
odbib.References
Manuscript
Definitions: 1
Referenced from:
odbib.References
Map
Definitions: 1
Referenced from:
odbib.References
MotionPicture
Definitions: 1
Referenced from:
odbib.References
odbib.abbreviatedName
Definitions: 1
odbib.abbreviatedTitle
Definitions: 1
Referenced from:
odbib.base-properties
odbib.accessDate
Definitions: 1
Referenced from:
odbib.item-properties
odbib.address
Definitions: 1
odbib.Agents
Definitions: 1
Referenced from:
start
odbib.Authors
odbib.articular
Definitions: 1
Referenced from:
odbib.PersonProperties
odbib.audience
Definitions: 1
Referenced from:
odbib.item-properties
odbib.Authors
Definitions: 1
Referenced from:
odbib.base-properties
odbib.base-properties
Definitions: 1
odbib.beginDate
Definitions: 1
Referenced from:
odbib.dateRange
odbib.city
Definitions: 1
Referenced from:
odbib.address
odbib.collection
Definitions: 1
Referenced from:
Collection
Series
odbib.collection-properties
Definitions: 1
Referenced from:
odbib.collection
odbib.Conference
Definitions: 1
Referenced from:
odbib.Events
odbib.containedIn
Definitions: 1
odbib.Copy
Definitions: 1
Referenced from:
odbib.item
odbib.date
Definitions: 1
odbib.dateIssued
Definitions: 1
Referenced from:
odbib.base-properties
odbib.dateRange
Definitions: 1
odbib.document_number
Definitions: 1
Referenced from:
odbib.part-properties
odbib.edition
Definitions: 1
Referenced from:
odbib.monograph
odbib.ElectronicCopy
Definitions: 1
Referenced from:
odbib.Copy
odbib.endDate
Definitions: 1
Referenced from:
odbib.dateRange
odbib.Events
Definitions: 1
Referenced from:
start
odbib.presentedAt
odbib.generic
Definitions: 1
odbib.givenname
Definitions: 1
Referenced from:
odbib.PersonProperties
odbib.identifier
Definitions: 1
Referenced from:
odbib.base-properties
odbib.issue_number
Definitions: 1
Referenced from:
odbib.part-properties
odbib.item
Definitions: 1
Referenced from:
odbib.base-properties
odbib.item-properties
Definitions: 1
odbib.location
Definitions: 1
Referenced from:
odbib.item-properties
odbib.monograph
Definitions: 1
odbib.name
Definitions: 1
odbib.Organization
Definitions: 1
Referenced from:
odbib.Agents
odbib.publisher
odbib.OrganizationProperties
Definitions: 1
Referenced from:
odbib.Organization
odbib.original
Definitions: 1
Referenced from:
odbib.monograph
odbib.owner
Definitions: 1
Referenced from:
odbib.item-properties
odbib.page_numbers
Definitions: 1
Referenced from:
odbib.part-properties
odbib.part
Definitions: 1
odbib.partOf
Definitions: 1
odbib.part-properties
Definitions: 1
odbib.Person
Definitions: 1
Referenced from:
odbib.Agents
odbib.PersonProperties
Definitions: 1
Referenced from:
odbib.Person
odbib.PhysicalCopy
Definitions: 1
Referenced from:
odbib.Copy
odbib.prefix
Definitions: 1
Referenced from:
odbib.PersonProperties
odbib.presentation
Definitions: 1
Referenced from:
Paper
Poster
Speech
odbib.presentedAt
Definitions: 1
Referenced from:
odbib.presentation
odbib.publisher
Definitions: 1
Referenced from:
odbib.base-properties
odbib.References
Definitions: 1
odbib.reviewOf
Definitions: 1
Not referenced from any pattern
odbib.serial
Definitions: 1
Referenced from:
Journal
Magazine
Periodical
odbib.suffix
Definitions: 1
Referenced from:
odbib.PersonProperties
odbib.surname
Definitions: 1
Referenced from:
odbib.PersonProperties
odbib.title
Definitions: 1
Referenced from:
odbib.base-properties
odbib.volume_number
Definitions: 1
Referenced from:
odbib.part-properties
odbib.Workshop
Definitions: 1
Referenced from:
odbib.Events
Pamphlet
Definitions: 1
Referenced from:
odbib.References
Paper
Definitions: 1
Referenced from:
odbib.References
Patent
Definitions: 1
Referenced from:
odbib.References
Periodical
Definitions: 1
Referenced from:
odbib.References
PersonalCommunication
Definitions: 1
Referenced from:
odbib.References
Photograph
Definitions: 1
Referenced from:
odbib.References
Poster
Definitions: 1
Referenced from:
odbib.References
Proceedings
Definitions: 1
Referenced from:
odbib.References
rdf.property
Definitions: 1
Referenced from:
Resource
Report
Definitions: 1
Referenced from:
odbib.References
Resource
Definitions: 1
Referenced from:
ListItem
rdf.property
Review
Definitions: 1
Referenced from:
odbib.References
Sequence
Definitions: 1
Not referenced from any pattern
Series
Definitions: 1
Referenced from:
odbib.References
Speech
Definitions: 1
Referenced from:
odbib.References
Thesis
Definitions: 1
Referenced from:
odbib.References
URI
Definitions: 1
XMLLiteral
Definitions: 1