National Gallery XML Example: Painting: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.  An example of a similar system, but with a project specific ontology can be seen [http://cima.ng-london.org.uk/raphael/page here].
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.   


== TODO, Notes and Thoughts ==
This page is part of the [[National_Gallery_API]] discussion.
*The code presented here makes use of a few different ontologies listed below; [http://www.w3.org/1999/02/22-rdf-syntax-ns rdf], [http://www.w3.org/2000/01/rdf-schema rdfs], [http://www.w3.org/2002/07/owl owl], [http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs crm], ngo.
*It will probably be good to extend this list to include standards such as LIDO.
*At this moment the values listed below may not be expressed in all the available forms.
*I will be good to look at ensuring a consistent description of a resource, which will mean that some information will be expressed multiple times with separate ontologies.
*If a user searches using rdf terms (label, comment, type, etc) they would find information, but the same information could also be sourced using other terms, for example from [http://www.cidoc-crm.org/ CIDOC CRM] or [http://cidoc.icom.museum/WG_Data_Harvesting%28en%29%28E1%29.xml LIDO].


== Document head==
--[[User:Jpadfield|Jpadfield]] 16:29, 15 December 2010 (UTC)
 
== Resource Description ==
<pre>
<pre>
<?xml version="1.0" encoding="UTF-8"?>
   <rdf:Description rdf:about="http://rdf.ng-london.org.uk/resource/NG1171">  
   <rdf:RDF
 
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     <--! All of the defined properties and links would be added here -->
    xmlns:owl="http://www.w3.org/2002/07/owl#"
 
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:crm="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#"
    xmlns:ngo="http://rdf.ng-london.org.uk/ontology/#"
    xml:base="http://rdf.ng-london.org.uk/resource/">
 
  <rdf:Description rdf:about="">
     <owl:imports rdf:resource="http://rdf.ng-london.org.uk/ontology/"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
   </rdf:Description>
   </rdf:Description>
</pre>
</pre>


== Resource Description ==
=== Simple Properties ===
 
<pre>
    <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Painting"/>   
    <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E84.Information_Carrier"/>
    <rdfs:label>"""NG1171"""</rdfs:label>
    <rdfs:comment>"""Inscribed on the frieze: .SALVE.MATER.CHRISTI. (Hail Mother of Christ) and dated on the hem
of the Virgin's mantle: MDV (1505).
Saint Nicholas of Bari (the fourth-century Archbishop of Myra; in 1087 his remains were transferred to Bari) is
shown on the right with the three golden spheres which he gave to three young women who could not afford a dowry.
Saint John the Baptist (on the left) wears the camel skin he wore in the desert and holds a crystal cross.
This altarpiece, commissioned by Bernardino Ansidei for the chapel of St Nicholas of Bari in the church of S.
Fiorenzo in Perugia, developed the architectural setting and compositional scheme made popular in Perugia by
Perugino. The picture is dated 1505 (although the numerals have sometimes been read as 1506 or 1507), and was
probably commissioned in about 1504. One of the predella paintings for the altarpiece is also in the Collection (NG
6480)."""</rdfs:comment>
    <crm:P102F.has_title rdf:resource="http://rdf.ng-london.org.uk/resource/The_Madonna_and_Child_with_Saint_John_the_Baptist_and_Saint_Nicholas_of_Bari_%28The_Ansidei_Madonna%29"/>   
    <crm:P102F.has_title rdf:resource="http://rdf.ng-london.org.uk/resource/The_Ansidei_Madonna"/>
    <crm:P46B.forms_part_of rdf:resource="http://rdf.ng-london.org.uk/resource/The_National_Gallery_Collection%28Carol_Plazzotta%29"/>
    <crm:P46B.forms_part_of rdf:resource="http://rdf.ng-london.org.uk/resource/NG_GROUP69"/>
    <crm:P55F.has_current_location rdf:resource="http://rdf.ng-london.org.uk/resource/Gallery_08"/>
    <crm:P108B.was_produced_by rdf:resource="http://rdf.ng-london.org.uk/resource/Production_of_NG1171"/>     
</pre>
 
=== Complex properties: Blank Nodes ===
 
==== Identifiers ====
<pre>
<pre>
  <rdf:Description rdf:about="http://rdf.ng-london.org.uk/resource/NG1171">
     <crm:P131F.is_identified_by>
     <crm:P131F.is_identified_by>
       <crm:E42.Identifier>
       <crm:E42.Identifier>
Line 34: Line 48:
       </crm:E42.Identifier>
       </crm:E42.Identifier>
     </crm:P131F.is_identified_by>
     </crm:P131F.is_identified_by>
     <crm:P131F.is_identified_by>
     <crm:P131F.is_identified_by>
       <ngo:AlphasortID>
       <crm:E42.Identifier>
         <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E42.Identifier"/>
         <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/AlphasortID"/>
         <rdfs:label>N-1171-00</rdfs:label>
         <rdfs:label>N-1171-00</rdfs:label>
       </ngo:AlphasortID>
       </crm:E42.Identifier>
     </crm:P131F.is_identified_by>
     </crm:P131F.is_identified_by>
    <crm:P46B.forms_part_of rdf:resource="http://rdf.ng-london.org.uk/resource/The_National_Gallery_Collection%28Carol_Plazzotta%29"/>
 
    <crm:P46B.forms_part_of rdf:resource="http://rdf.ng-london.org.uk/resource/NG_GROUP69"/>
     <crm:P131F.is_identified_by>
     <crm:P131F.is_identified_by>
       <ngo:Acquisition_Number>
       <crm:E42.Identifier>
         <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E42.Identifier"/>
         <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Acquisition_Number"/>
         <rdfs:label>NG1171</rdfs:label>
         <rdfs:label>NG1171</rdfs:label>
       </ngo:Acquisition_Number>
       </crm:E42.Identifier>
     </crm:P131F.is_identified_by>
     </crm:P131F.is_identified_by>
</pre>
==== Institutional display values ====
<pre>
     <crm:P3F.has_note>
     <crm:P3F.has_note>
       <crm:E62.String>
       <crm:E62.String>
Line 54: Line 72:
       </crm:E62.String>
       </crm:E62.String>
     </crm:P3F.has_note>
     </crm:P3F.has_note>
     <crm:P3F.has_note>
     <crm:P3F.has_note>
       <crm:E62.String>
       <crm:E62.String>
Line 60: Line 79:
       </crm:E62.String>
       </crm:E62.String>
     </crm:P3F.has_note>
     </crm:P3F.has_note>
     <crm:P55F.has_current_location rdf:resource="http://rdf.ng-london.org.uk/resource/Gallery_08"/>
      
     <crm:P3F.has_note>
     <crm:P3F.has_note>
       <ngo:NG_DisplayMedium>
       <crm:E62.String>
         <crm:P90F.has_value>"""Oil on poplar"""</crm:P90F.has_value>
         <crm:P90F.has_value>"""Oil on poplar"""</crm:P90F.has_value>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_DisplayMedium"/>
         <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E62.String"/>
         <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E62.String"/>
       </ngo:NG_DisplayMedium>
       </crm:E62.String>
     </crm:P3F.has_note>
     </crm:P3F.has_note>
</pre>
==== Dimensions ====
<pre>
     <crm:P43F.has_dimension>
     <crm:P43F.has_dimension>
       <crm:E54.Dimension>
       <crm:E54.Dimension>
Line 73: Line 97:
         <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Width"/>
         <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Width"/>
       </crm:E54.Dimension>
       </crm:E54.Dimension>
     </crm:P43F.has_dimension>  
     </crm:P43F.has_dimension>
    <crm:P102F.has_title rdf:resource="http://rdf.ng-london.org.uk/resource/The_Madonna_and_Child_with_Saint_John_the_Baptist_and_Saint_Nicholas_of_Bari_%28The_Ansidei_Madonna%29"/>   
 
    <crm:P102F.has_title rdf:resource="http://rdf.ng-london.org.uk/resource/The_Ansidei_Madonna"/>   
    <rdfs:comment>"""Inscribed on the frieze: .SALVE.MATER.CHRISTI. (Hail Mother of Christ) and dated on the hem of the Virgin's mantle: MDV (1505).
Saint Nicholas of Bari (the fourth-century Archbishop of Myra; in 1087 his remains were transferred to Bari) is shown on the right with the three golden spheres which he gave to three young women who could not afford a dowry. Saint John the Baptist (on the left) wears the camel skin he wore in the desert and holds a crystal cross.
This altarpiece, commissioned by Bernardino Ansidei for the chapel of St Nicholas of Bari in the church of S. Fiorenzo in Perugia, developed the architectural setting and compositional scheme made popular in Perugia by Perugino. The picture is dated 1505 (although the numerals have sometimes been read as 1506 or 1507), and was probably commissioned in about 1504. One of the predella paintings for the altarpiece is also in the Collection (NG 6480).
Bought by Gavin Hamilton for Lord Robert Spencer, 1764; later given to the 4th Duke of Marlborough; from whose descendants bought, 1885.
Dussler 1971, pp. 13-14
Gould 1975, pp. 216-18
Jones and Penny 1983, pp. 16, 19
Plesters 1990, pp. 31-6
Dunkerton 1991, p. 376"""</rdfs:comment>   
    <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Painting"/>   
    <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E84.Information_Carrier"/>
     <crm:P43F.has_dimension>
     <crm:P43F.has_dimension>
       <ngo:Height>
       <crm:E54.Dimension>
         <crm:P90F.has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#float">209.6000</crm:P90F.has_value>
         <crm:P90F.has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#float">209.6000</crm:P90F.has_value>
         <crm:P91F.has_unit rdf:resource="http://dbpedia.org/page/Centimetre"/>
         <crm:P91F.has_unit rdf:resource="http://dbpedia.org/page/Centimetre"/>
         <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E54.Dimension"/>
         <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Height"/>
       </ngo:Height>
       </crm:E54.Dimension>
     </crm:P43F.has_dimension>
     </crm:P43F.has_dimension>
</pre>
 
==== Composition ====
<pre>   
     <crm:P46F.is_composed_of>
     <crm:P46F.is_composed_of>
       <ngo:NG_Medium>
       <crm:E18.Physical_Thing>
         <crm:P45F.consists_of rdf:resource="http://rdf.ng-london.org.uk/resource/Oil"/>
         <crm:P45F.consists_of rdf:resource="http://rdf.ng-london.org.uk/resource/Drying_Oil"/>
         <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E18.Physical_Thing"/>
         <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_Medium"/>
       </ngo:NG_Medium>
       </crm:E18.Physical_Thing>
     </crm:P46F.is_composed_of>
     </crm:P46F.is_composed_of>
     <crm:P108B.was_produced_by rdf:resource="http://rdf.ng-london.org.uk/resource/Production_of_NG1171"/>
      
    <rdfs:label>"""NG1171"""</rdfs:label>
     <crm:P46F.is_composed_of>
     <crm:P46F.is_composed_of>
       <crm:E18.Physical_Thing>
       <crm:E18.Physical_Thing>
Line 108: Line 123:
       </crm:E18.Physical_Thing>
       </crm:E18.Physical_Thing>
     </crm:P46F.is_composed_of>
     </crm:P46F.is_composed_of>
  </rdf:Description>
</rdf:RDF>
</pre>
</pre>

Latest revision as of 17:29, 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/NG1171"> 

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

  </rdf:Description>

Simple Properties

    <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Painting"/>    
    <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E84.Information_Carrier"/>
    <rdfs:label>"""NG1171"""</rdfs:label>
    <rdfs:comment>"""Inscribed on the frieze: .SALVE.MATER.CHRISTI. (Hail Mother of Christ) and dated on the hem 
of the Virgin's mantle: MDV (1505).
Saint Nicholas of Bari (the fourth-century Archbishop of Myra; in 1087 his remains were transferred to Bari) is 
shown on the right with the three golden spheres which he gave to three young women who could not afford a dowry. 
Saint John the Baptist (on the left) wears the camel skin he wore in the desert and holds a crystal cross. 
This altarpiece, commissioned by Bernardino Ansidei for the chapel of St Nicholas of Bari in the church of S. 
Fiorenzo in Perugia, developed the architectural setting and compositional scheme made popular in Perugia by 
Perugino. The picture is dated 1505 (although the numerals have sometimes been read as 1506 or 1507), and was 
probably commissioned in about 1504. One of the predella paintings for the altarpiece is also in the Collection (NG 
6480)."""</rdfs:comment> 
    <crm:P102F.has_title rdf:resource="http://rdf.ng-london.org.uk/resource/The_Madonna_and_Child_with_Saint_John_the_Baptist_and_Saint_Nicholas_of_Bari_%28The_Ansidei_Madonna%29"/>    
    <crm:P102F.has_title rdf:resource="http://rdf.ng-london.org.uk/resource/The_Ansidei_Madonna"/> 
    <crm:P46B.forms_part_of rdf:resource="http://rdf.ng-london.org.uk/resource/The_National_Gallery_Collection%28Carol_Plazzotta%29"/>
    <crm:P46B.forms_part_of rdf:resource="http://rdf.ng-london.org.uk/resource/NG_GROUP69"/>
    <crm:P55F.has_current_location rdf:resource="http://rdf.ng-london.org.uk/resource/Gallery_08"/>
    <crm:P108B.was_produced_by rdf:resource="http://rdf.ng-london.org.uk/resource/Production_of_NG1171"/>       

Complex properties: Blank Nodes

Identifiers

    <crm:P131F.is_identified_by>
      <crm:E42.Identifier>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_ObjectID"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">5363</rdfs:label>
      </crm:E42.Identifier>
    </crm:P131F.is_identified_by>

    <crm:P131F.is_identified_by>
      <crm:E42.Identifier>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/AlphasortID"/>
        <rdfs:label>N-1171-00</rdfs:label>
      </crm:E42.Identifier>
    </crm:P131F.is_identified_by>

    <crm:P131F.is_identified_by>
      <crm:E42.Identifier>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Acquisition_Number"/>
        <rdfs:label>NG1171</rdfs:label>
      </crm:E42.Identifier>
    </crm:P131F.is_identified_by>

Institutional display values

    <crm:P3F.has_note>
      <crm:E62.String>
        <crm:P90F.has_value>"""Bought, 1885"""</crm:P90F.has_value>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_CreditLine"/>
      </crm:E62.String>
    </crm:P3F.has_note>

    <crm:P3F.has_note>
      <crm:E62.String>
        <crm:P90F.has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">"""1505"""</crm:P90F.has_value>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_DisplayDate"/>
      </crm:E62.String>
    </crm:P3F.has_note>
    
    <crm:P3F.has_note>
      <crm:E62.String>
        <crm:P90F.has_value>"""Oil on poplar"""</crm:P90F.has_value>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_DisplayMedium"/>
        <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E62.String"/>
      </crm:E62.String>
    </crm:P3F.has_note>

Dimensions

    <crm:P43F.has_dimension>
      <crm:E54.Dimension>
        <crm:P90F.has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#float">148.6000</crm:P90F.has_value>
        <crm:P91F.has_unit rdf:resource="http://dbpedia.org/page/Centimetre"/>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Width"/>
      </crm:E54.Dimension>
    </crm:P43F.has_dimension>  

    <crm:P43F.has_dimension>
      <crm:E54.Dimension>
        <crm:P90F.has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#float">209.6000</crm:P90F.has_value>
        <crm:P91F.has_unit rdf:resource="http://dbpedia.org/page/Centimetre"/>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/Height"/>
      </crm:E54.Dimension>
    </crm:P43F.has_dimension>  

Composition

    
    <crm:P46F.is_composed_of>
      <crm:E18.Physical_Thing>
        <crm:P45F.consists_of rdf:resource="http://rdf.ng-london.org.uk/resource/Drying_Oil"/>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_Medium"/>
      </crm:E18.Physical_Thing>
    </crm:P46F.is_composed_of>
    
    <crm:P46F.is_composed_of>
      <crm:E18.Physical_Thing>
        <crm:P45F.consists_of rdf:resource="http://rdf.ng-london.org.uk/resource/Poplar"/>
        <rdf:type rdf:resource="http://rdf.ng-london.org.uk/resource/NG_Support"/>
      </crm:E18.Physical_Thing>
    </crm:P46F.is_composed_of>