Difference between revisions of "National Gallery XML Example: Timespan"

From National Gallery Research Wiki
Jump to navigation Jump to search
(Created page with "The RDF system that produced this data is still under development and public URIs are not yet available, so all references to rdf.ng-london.org.uk are not yet live. This page ...")
 
 
Line 7: Line 7:
 
== Resource Description ==
 
== Resource Description ==
 
<pre>
 
<pre>
   <rdf:Description rdf:about="http://rdf.ng-london.org.uk/resource/">  
+
   <rdf:Description rdf:about="http://rdf.ng-london.org.uk/resource/1505">  
  
 
     <--! All of the defined properties and links would be added here -->
 
     <--! All of the defined properties and links would be added here -->
Line 15: Line 15:
  
 
=== Simple Properties ===
 
=== Simple Properties ===
 +
 +
More discussion will be required to clarify how to relate timespans to time literals and define the start and end dates of a time span.
  
 
<pre>
 
<pre>
       
+
    <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E52.Time-Span"/>   
 +
    <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Year_Range"/>
 +
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1505</rdfs:label>
 +
    <crm:P86F.falls_within rdf:resource="http://rdf.ng-london.org.uk/resource/16th_century"/>
 +
    <crm:P86F.falls_within rdf:resource="http://rdf.ng-london.org.uk/resource/1500s"/>
 +
    <ngo:PN12F.has_start_date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1505-01-01</ngo:PN12F.has_start_date>
 +
    <ngo:PN13F.has_end_date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1505-12-31</ngo:PN13F.has_end_date>
 
</pre>
 
</pre>

Latest revision as of 18:20, 15 December 2010

The RDF system that produced this data is still under development and public URIs are not yet available, so all references to rdf.ng-london.org.uk are not yet live.

This page is part of the National_Gallery_API discussion.

--Jpadfield 16:29, 15 December 2010 (UTC)

Resource Description

  <rdf:Description rdf:about="http://rdf.ng-london.org.uk/resource/1505"> 

    <--! All of the defined properties and links would be added here -->

  </rdf:Description>

Simple Properties

More discussion will be required to clarify how to relate timespans to time literals and define the start and end dates of a time span.

    <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E52.Time-Span"/>    
    <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Year_Range"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1505</rdfs:label>
    <crm:P86F.falls_within rdf:resource="http://rdf.ng-london.org.uk/resource/16th_century"/>
    <crm:P86F.falls_within rdf:resource="http://rdf.ng-london.org.uk/resource/1500s"/>
    <ngo:PN12F.has_start_date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1505-01-01</ngo:PN12F.has_start_date>
    <ngo:PN13F.has_end_date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1505-12-31</ngo:PN13F.has_end_date>