National Gallery API: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
A SPARQL end-point to an rdf description of the National Gallery Collection is being developed. The data will be stored in a triple store rfom Garlic called 4Store and will be published in the form of URIs with data in human readable and machine readable form.
A SPARQL end-point to an rdf description of the National Gallery Collection is being developed. The data will be stored in a triple store from [http://www.garlik.com/ Garlic] called [http://4store.org 4Store] and will be published in the form of URIs with data in human readable and machine readable form.
 
A basic description of RDF can be found on the [[RDF]] page.


The data will potentially be mapped to more than one schema/ontology, though we will be specifically developing a mapping to the CIDOC CRM.
The data will potentially be mapped to more than one schema/ontology, though we will be specifically developing a mapping to the CIDOC CRM.


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.  An example of a similar system, but with a project specific ontology can be seen [http://rdf.ng-london.org.uk/raphael/page here].
 
This page is part of the [[National Gallery RDF]] discussion.
 
==Related Projects==
 
=== Possible use cases for the API ===
* Internal Client: [http://cima.ng-london.org.uk/collection NG Collection Viewer].
* External Client: [http://www.bbc.co.uk/arts/yourpaintings/ Your Paintings].


--[[User:Jpadfield|Jpadfield]] 16:34, 15 December 2010 (UTC)
=== Example cross-collection semantic data aggregators ===
* [http://explore.clarosnet.org/XDB/ASP/clarosHome/ Claros]
* [http://e-culture.multimedian.nl/ MultimediaN N9C Eculture project homepage]
* [http://www.charismaportal.eu/ CHARISMA Portal], developmental semantic data aggregator, part of the [http://www.charismaproject.eu/ CHARISMA Project]


== TODO, Notes and Thoughts ==
== TODO, Notes and Thoughts ==
Line 13: Line 26:
*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/ CIDOC 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].
*Establish how best to define degrees of confidence when using the [http://www.cidoc-crm.org/ CIDOC CRM]. Prefixes on predicates.
*Establish how best to define degrees of confidence when using the [http://www.cidoc-crm.org/ CIDOC CRM]. Prefixes on predicates.  These are particularly important when describing dates and attributions, but can also be useful in orther areas.
** Subject Predicate Object
** Subject '''Predicate''' Object
** Subject '''Probable''' Predicate Object
** Subject '''Probable Predicate''' Object
** Subject '''Possible''' Predicate Object
** Subject '''Possible Predicate''' Object
*A few links to dbpedia have been added so far, but further links and data harvesting will be examined later.


== Document head==
== Document head==
Line 44: Line 58:
* [[National Gallery XML Example: Production]]
* [[National Gallery XML Example: Production]]
* [[National Gallery XML Example: Artist]]
* [[National Gallery XML Example: Artist]]
* [[National Gallery XML Example: Timespan]]

Latest revision as of 18:39, 4 April 2012

A SPARQL end-point to an rdf description of the National Gallery Collection is being developed. The data will be stored in a triple store from Garlic called 4Store and will be published in the form of URIs with data in human readable and machine readable form.

A basic description of RDF can be found on the RDF page.

The data will potentially be mapped to more than one schema/ontology, though we will be specifically developing a mapping to the CIDOC CRM.

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.

This page is part of the National Gallery RDF discussion.

Related Projects

Possible use cases for the API

Example cross-collection semantic data aggregators

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.
  • Establish how best to define degrees of confidence when using the CIDOC CRM. Prefixes on predicates. These are particularly important when describing dates and attributions, but can also be useful in orther areas.
    • Subject Predicate Object
    • Subject Probable Predicate Object
    • Subject Possible Predicate Object
  • A few links to dbpedia have been added so far, but further links and data harvesting will be examined later.

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>

  <--! Various resource descriptions would be added here -->

</rdf:RDF>

XML Resource Description Examples