A while ago I did some work on using SPARQL to do testing of RDF data. It was very similar to an earlier idea called "Schemarama", so I called it "Schemarama 2" - see [1].
The basic idea was that you could use a SPARQL query to look for patterns in an RDF graph, and then generate a report consisting of "information", "warning" and "error" messages. It was intended as a very practical way to do quality control on RDF data - a sort of "validation" mechanism. The current SKOS Validation Service [2] is implemented as Schemarama 2 test cases.
This might be relevant to the discussion on application profiles. Although I wouldn't recommend using Schemarama 2 to *define* an application profile, you could use Schemarama 2 to define test cases to support an application profile.
Cheers,
Al.
[1] http://isegserv.itd.rl.ac.uk/schemarama/
[2] http://www.w3.org/2004/02/skos/validation
--
Alistair Miles
Research Associate
CCLRC - Rutherford Appleton Laboratory
Building R1 Room 1.60
Fermi Avenue
Chilton
Didcot
Oxfordshire OX11 0QX
United Kingdom
Web: http://purl.org/net/aliman
Email: [log in to unmask]
Tel: +44 (0)1235 445440
|