Over the past few days, I’ve thrown together a simple Java GUI application to query SPARQL endpoints that purport to have file format information. The results have been less than sparkling. The only endpoint that I’ve been able to query successfully is the one for DBPedia (http://dbpedia.org/sparql), and the data there, extracted from infoboxes on Wikipedia pages, is too inconsistent for structured queries to be of much use.
The endpoints for Pronom (http://test.linkeddatapronom.nationalarchives.gov.uk/sparql/endpoint.php) and P2 (http://p2-registry.ecs.soton.ac.uk/SPARQL/) just aren’t responding, and I can’t find a published endpoint for UDFR. If anyone can help me out with these, maybe I can make some more progress.
What I have to show for my effort so far is a beginner’s knowledge of SPARQL and an application that can easily be tailored to query any SPARQL HTTP endpoint. If anyone’s interested in seeing it, let me know.
RDFa 1.1
Lately I’ve been looking at RDFa 1.1. Previous versions of RDF and RDFa had been hampered by not being usable in ordinary HTML. RDFa 1.0 could be used only with XHTML. With version 1.1’s usability in HTML5 as well as XML, a lot more possibilities for embedding metadata in documents arise. It’s invisible in the browser but can be extracted more easily and reliably than data can be mined from ordinary Web pages. Dublin Core metadata, for example, is often expressed in RDFa.
The quick explanation, in case you aren’t familiar with it: RDF is an extensible way of expressing arbitrary data relationships by triples, which consist of a subject, a predicate (property type), and object (property value). It makes heavy use of IRIs, which are like URIs but allow the full Unicode character set; IRIs are used rather than simple names to avoid ambiguity. “Title,” for instance, means one thing when talking about books and something else when talking about British nobility; different IRIs can distinguish between them. To create a new RDF vocabulary, you just have to create new IRIs. RDFa is a way of expressing RDF in XML or HTML5 syntax. You’ll often run into the term “linked data” in connection with RDF.
I’ve started work on a possible tool to take advantage of RDFa data in HTML. I start a lot more projects than I ever bring to completion, so for the present I won’t say more about it.
Comments Off on RDFa 1.1
Posted in commentary
Tagged metadata, RDF