In 2007 the Raphael Research Resource project began to examine how complex conservation, scientific and art historical research could be combined in a flexible digital form. Exploring the presentation of interrelated high resolution images and text, along with how the data could be stored in relation to an event driven ontology in the form of RDF triples. In addition to the main user interface the data stored within the system is now also accessible in the the form of open linkable data combined with a SPARQL end-point at https://rdf.ng-london.org.uk/rrr/sparql.

This example will introduce the information which is currently available within this resource and some of the web-base tools that have been developed to disseminate it.

This process will be based on but not necessarily limited too:
  • How to perform basic SPARQL queries.
  • Using PHP to collect and format the results of basic SPARQL queries.
  • Using existing IIPImage javascript libraries to present high resolution images.
  • Using PHP and HTML to combine the formatted results and images into simple web-pages.
This example is intended as a basic introduction to these particular resources and some of the techniques currently being used to exploit them. The resources will remain publicly available for those who wish to continue to work with them. However, this system should be considered as experimental and may be subject to periods of down time. An archive of the code used to create this example presentation can be found here.

More recently (2019) this example was refreshed as part of the work carried out in relation to the AHRC funded Linked Conservation Data project.

Complex query example: Find further details for a given digital text

SPARQL Query Query Results

Soft limit
Array
(
    [0] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0006
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Raffaello Sozi in a manuscript listing the best paintings in Perugia of about 1591
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0006
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0006
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4437_003
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Raffaello Sozi, Manuscript listing the best paintings in Perugia, about 1591, Biblioteca Augusta, Perugia, MS 322 (E70), Memorie cittadine e domestiche di Rafaello Sozi, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia, BA, MS. 322, f. 138 and title/P4437_003-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [1] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0006
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Raffaello Sozi in a manuscript listing the best paintings in Perugia of about 1591
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0006
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0006
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4437_003
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Raffaello Sozi, Manuscript listing the best paintings in Perugia, about 1591, Biblioteca Augusta, Perugia, MS 322 (E70), Memorie cittadine e domestiche di Rafaello Sozi, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia, BA, MS. 322, f. 138 and title/P4437_003-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [2] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0004
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Raffaello Borghini in his Il Riposo of 1584
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0004
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0004
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4441_005
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Borghini 1584, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Borghini_1584/P4441_005-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [3] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0004
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Raffaello Borghini in his Il Riposo of 1584
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0004
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0004
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4441_005
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Borghini 1584, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Borghini_1584/P4441_005-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [4] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Vasari in his Lives of the Artists, published in two editions of 1550 and 1568
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Vasari_engl_1912-14_title
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Vasari 1912-4, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-6480/02_Provenance/Vasari_engl_1912-14_title-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [5] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Vasari in his Lives of the Artists, published in two editions of 1550 and 1568
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Vasari_engl_1912-14_title
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Vasari 1912-4, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-6480/02_Provenance/Vasari_engl_1912-14_title-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [6] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Vasari in his Lives of the Artists, published in two editions of 1550 and 1568
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Vasari_vol_4_1976_A
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Vasari 1976, IV, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-6480/02_Provenance/Vasari_vol_4_1976_A-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [7] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Vasari in his Lives of the Artists, published in two editions of 1550 and 1568
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0003
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Vasari_vol_4_1976_A
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Vasari 1976, IV, title.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-6480/02_Provenance/Vasari_vol_4_1976_A-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [8] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0002
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Roman numerals M D V
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0002
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0002
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/N-1171-00-000129
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => The Madonna and Child with Saint John the Baptist and Saint Nicholas of Bari (The Ansidei Madonna) (Detail: Edge of Virgin's mantle), The National Gallery, London, NG1171, imaged 14/02/2001 (35mm).
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/14_Microscopy/14.2_Microscope_Details/N-1171-00-000129-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [9] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0002
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Roman numerals M D V
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0002
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0002
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/N-1171-00-000129
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => The Madonna and Child with Saint John the Baptist and Saint Nicholas of Bari (The Ansidei Madonna) (Detail: Edge of Virgin's mantle), The National Gallery, London, NG1171, imaged 14/02/2001 (35mm).
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/14_Microscopy/14.2_Microscope_Details/N-1171-00-000129-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [10] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0005
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Padre Timoteo Bottonio in his Annali before 1591
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0005
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0005
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4437_010
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Padre Timoteo Bottonio, Annali, before 1591, Biblioteca Augusta, Perugia, MS 1151, f. 176 (p. 471), note that the work was begun in 1577.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/2009/08/18/P4437_010-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [11] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0005
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Padre Timoteo Bottonio in his Annali before 1591
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0005
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0005
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4437_010
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Padre Timoteo Bottonio, Annali, before 1591, Biblioteca Augusta, Perugia, MS 1151, f. 176 (p. 471), note that the work was begun in 1577.
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/2009/08/18/P4437_010-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [12] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0009
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Ottavio Lancellotti (d. 1670) in his Scorta Sagra
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0009
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0009
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4437_012
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Ottavio Lancellotti (d. 1670), Scorta Sagra, Biblioteca Augusta, Perugia, MSS B4-5 (olim MSS 60-61), vol. II, f. 246 (olim fol. 476).
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/2009/08/18/P4437_012-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [13] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0009
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Ottavio Lancellotti (d. 1670) in his Scorta Sagra
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0009
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0009
                )

            [child_im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/P4437_012
                )

            [child_caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Ottavio Lancellotti (d. 1670), Scorta Sagra, Biblioteca Augusta, Perugia, MSS B4-5 (olim MSS 60-61), vol. II, f. 246 (olim fol. 476).
                )

            [child_thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/2009/08/18/P4437_012-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

        )

    [14] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0007
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Cesare Crispolti in his Descrizione e brevi note storiche di alcune chiese, edifici e monumenti di Perugia e di luoghi nel territorio di Perugia at the end of the sixteenth century
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0007
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0007
                )

        )

    [15] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0007
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Cesare Crispolti in his Descrizione e brevi note storiche di alcune chiese, edifici e monumenti di Perugia e di luoghi nel territorio di Perugia at the end of the sixteenth century
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0007
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0007
                )

        )

    [16] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_bw
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_bw-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0008
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Cesare Crispolti the Elder in a manuscript listing the outstanding works of art in Perugia of about 1597
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0008
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0008
                )

        )

    [17] => Array
        (
            [text] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Perugia, San Fiorenzo, San Niccolò chapel, 1505
                )

            [label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001
                )

            [im] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Perugia_San_Fiorenzo_col_CP
                )

            [caption] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => San Fiorenzo, Perugia.
                )

            [thumb] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi?FIF=/pics/tmp/raphael_pyr/N-1171/02_Provenance/Perugia_San_Fiorenzo_col_CP-PYR.tif&QLT=75&cnt=1&WID=256&CVT=JPEG
                )

            [child] => Array
                (
                    [type] => uri
                    [value] => https://rdf.ng-london.org.uk/raphael/resource/Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0008
                )

            [child_title] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Described by Cesare Crispolti the Elder in a manuscript listing the outstanding works of art in Perugia of about 1597
                )

            [child_id] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0008
                )

            [child_label] => Array
                (
                    [xml:lang] => en
                    [type] => literal
                    [value] => Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0008
                )

        )

)

Simplified PHP Code
<?php

require_once ("header.php");
setGlobals();

$q = "PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:<http://www.w3.org/2002/07/owl#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX crm:<http://www.cidoc-crm.org/rdfs/cidoc_crm_v5.0.2_english_label.rdfs#>
PREFIX rro:<https://rdf.ng-london.org.uk/raphael/ontology/>
PREFIX rri:<https://rdf.ng-london.org.uk/raphael/resource/>

SELECT 
  ?text ?id ?title ?label ?im ?thumb ?caption 
  ?child ?child_id ?child_title ?child_label 
  ?child_im ?child_thumb ?child_caption

WHERE { 
  ?text rro:RP17.has_identifier ?id ;
    rro:RP34.has_title ?title ;
    rdfs:label ?label ;
    rdf:type rro:RC220.Digital_Text .
  Optional { 
    ?text rro:RP40.is_related_to ?im .
    ?im rdf:type rro:RC25.Image ;
      rro:RP259.has_thumbnail ?thumb ;
      rro:RP233.has_caption ?caption . }.
  Optional { 
    ?child rro:RP99.is_part_of ?text ;
      rro:RP17.has_identifier ?child_id ;
      rro:RP34.has_title ?child_title ;
      rdfs:label ?child_label ;
      rdf:type rro:RC220.Digital_Text . 
    Optional { 
      ?child rro:RP40.is_related_to ?child_im .
      ?child_im rdf:type rro:RC25.Image ;
        rro:RP259.has_thumbnail ?child_thumb ;
        rro:RP233.has_caption ?child_caption . }.
    } .  
  FILTER ( ?text = rri:Hofmann_Provenance_2008_NG1171_NG6480_Part_I_0001 ) . }";

$r = selectQuery($q, true);

echo "<pre>";
print_r ($r);
echo "</pre>";

?>
		


This site was developed by: Joseph Padfield, The National Gallery Scientific Department.