GRDDL Is Out, How To Integrate With SPARQL
GRDDL is out, providing a mechanism for providing instructions to convert documents on the web into RDF . In short, GRDDL allows you to link an XSLT transform to your XHTML page, which converts the XHTML into an RDF document. For more information, start at the GRDDL Primer . (The irony is that while you can use XSLT to convert into RDF, you can't ever use XSLT to convert RDF into something else with complete certainly because RDF/XML output is nondeterministic.) The primer includes a few examples of using SPARQL to query the RDF document generated by a GRDDL transform. Here's an example from the primer: PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rev: <http://www.purl.org/stuff/rev#> PREFIX vcard: <http://www.w3.org/2006/vcard/ns#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?rating ?name ?region ?hotelname FROM <http://www.w3.org/TR/grddl-primer/hotel-data.rdf>...