- From: Martin Hepp (UniBW) <martin.hepp@ebusiness-unibw.org>
- Date: Tue, 11 Aug 2009 20:19:56 +0200
- To: semantic-web at W3C <semantic-web@w3c.org>
- Message-ID: <4A81B64C.6070606@ebusiness-unibw.org>
Dear all: Is there any work on using N3/Turtle syntax inside XHTML or HTML5 documents? I think it would be a much more readable way of embedding small amounts of RDF meta-data than RDFa in some cases. Actually agreeing upon a value for the attribute "name" in a meta element might be sufficient - or defining a new element/tag or attribute. Even without tweaking any existing spec, this just requires escaping <,>," and maybe a few more. For example, the attached snippet validates correctly as XHTML 1.0 strict. Best wishes Martin <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="text/n3" content="@prefix foo: <http://www.example.com/xyz#> . @prefix gr: <http://purl.org/goodrelations/v1#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . foo:myCompany a gr:BusinessEntity ; rdfs:seeAlso <http://www.example.com/xyz> ; gr:hasLegalName "Hepp Industries Ltd."^^xsd:string."/> <title>N3/Turtle in XHTML</title> </head> <body> <div> A test page with embedded N3. </div> </body> </html> -- -------------------------------------------------------------- martin hepp e-business & web science research group universitaet der bundeswehr muenchen e-mail: mhepp@computer.org phone: +49-(0)89-6004-4217 fax: +49-(0)89-6004-4620 www: http://www.unibw.de/ebusiness/ (group) http://www.heppnetz.de/ (personal) skype: mfhepp twitter: mfhepp Check out GoodRelations for E-Commerce on the Web of Linked Data! ================================================================= Webcast: http://www.heppnetz.de/projects/goodrelations/webcast/ Recipe for Yahoo SearcMonkey: http://tr.im/rAbN Talk at the Semantic Technology Conference 2009: "Semantic Web-based E-Commerce: The GoodRelations Ontology" http://tinyurl.com/semtech-hepp Overview article on Semantic Universe: http://tinyurl.com/goodrelations-universe Project page: http://purl.org/goodrelations/ Resources for developers: http://www.ebusiness-unibw.org/wiki/GoodRelations Tutorial materials: CEC'09 2009 Tutorial: The Web of Data for E-Commerce: A Hands-on Introduction to the GoodRelations Ontology, RDFa, and Yahoo! SearchMonkey http://tr.im/grcec09
Received on Tuesday, 11 August 2009 18:20:39 UTC