Overview
This defines the definitions of the OSLC Performance Monitoring 2.0 defined resources utilizing the OSLC Core Shape Resource definition. Implementations may use these shapes as a basis for their work, providing their own property additions and additional constraints on OSLC defined properties.
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<oslc:ResourceShape
rdf:about="http://example.com:8080/resourceShapes/PerformanceMonitoringRecord">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Performance Monitoring Record Resource Shape</dcterms:title>
<oslc:describes rdf:resource="http://open-services.net/ns/pm#PerformanceMonitoringRecord" />
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/title" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Title</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Title (reference: Dublin Core) or often a single line summary of
the resource represented as rich text in XHTML content.
</dcterms:description>
<oslc:name>title</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/modified" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Modified</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp last latest resource modification.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>modified</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/description" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Description</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Descriptive text (reference: Dublin Core) about resource
represented as rich text in XHTML content.</dcterms:description>
<oslc:name>description</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/identifier" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Identifier</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
A unique identifier for a resource. Assigned by the service
provider when a resource is created. Not intended for end-user
display.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>identifier</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/created" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Created</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp of resource creation.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>created</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#serviceProvider" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Service Provider</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ServiceProvider" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The scope of a resource is a URI for the resource's OSLC Service
Provider.</dcterms:description>
<oslc:name>serviceProvider</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#instanceShape" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Instance Shape</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Resource Shape that provides hints as to resource property
value-types and allowed values. </dcterms:description>
<oslc:name>instanceShape</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://open-services.net/ns/ems#observes" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Observes</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Something observed and measured about a resource
(EMS).</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>observes</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/isPartOf" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
isPartOf</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
A related resource in which the described resource is
physically or logically included (Dublin
Core).</dcterms:description>
<oslc:name>isPartOf</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/date" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Date</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The time at which the record was collected (Dublin Core).
Performance Monitoring service providers MUST provide an
explicit time zone facet value (Performance Monitoring).
This requirement is necessary to avoid differences in
interpretation between servers and clients in different time
zones; it is functionally equivalent to using the
dateTimeStamp datatype from XML Schema 1.1, but avoids any
side effects on SPARQL queries.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>date</oslc:name>
</oslc:Property>
</oslc:property>
</oslc:ResourceShape>
</rdf:RDF>