<?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 * WHERE {
rri:NG1171 rro:RP231I.has_the_display_image ?dim .
?dim rro:RP259.has_thumbnail ?thumb .
}";
$r = selectQuery($q, true);
echo "<pre>";
print_r ($r);
echo "</pre>";
?>
|