National Gallery XML Example: Painting: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


== TODO, Notes and Thoughts ==
== TODO, Notes and Thoughts ==
*The code presented here makes use of a few different ontologies listed below; [http:// rdf], [http:// rdfs], [http:// owl], [http://www.cidoc-crm.org/ crm], ngo.  
*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.  
*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.
*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.
*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/ crm] or [http://cidoc.icom.museum/WG_Data_Harvesting%28en%29%28E1%29.xml LIDO].
*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==
== Document head==

Revision as of 17:04, 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. An example of a similar system, but with a project specific ontology can be seen here.

TODO, Notes and Thoughts

  • The code presented here makes use of a few different ontologies listed below; rdf, rdfs, owl, 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 CIDOC CRM or LIDO.

Document head

<?xml version="1.0" encoding="UTF-8"?>
  <rdf:RDF 
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
    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>

Resource Description

  <rdf:Description rdf:about="http://rdf.ng-london.org.uk/resource/NG1171"> 
    <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>
      <ngo:AlphasortID>
        <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E42.Identifier"/>
        <rdfs:label>N-1171-00</rdfs:label>
      </ngo:AlphasortID>
    </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>
      <ngo:Acquisition_Number>
        <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E42.Identifier"/>
        <rdfs:label>NG1171</rdfs:label>
      </ngo:Acquisition_Number>
    </crm:P131F.is_identified_by>
    <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:P55F.has_current_location rdf:resource="http://rdf.ng-london.org.uk/resource/Gallery_08"/>
    <crm:P3F.has_note>
      <ngo:NG_DisplayMedium>
        <crm:P90F.has_value>"""Oil on poplar"""</crm:P90F.has_value>
        <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E62.String"/>
      </ngo:NG_DisplayMedium>
    </crm:P3F.has_note>
    <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: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>
      <ngo:Height>
        <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://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E54.Dimension"/>
      </ngo:Height>
    </crm:P43F.has_dimension>
    <crm:P46F.is_composed_of>
      <ngo:NG_Medium>
        <crm:P45F.consists_of rdf:resource="http://rdf.ng-london.org.uk/resource/Oil"/>
        <rdf:type rdf:resource="http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#E18.Physical_Thing"/>
      </ngo:NG_Medium>
    </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: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>
  </rdf:Description>
</rdf:RDF>