W3C home > Mailing lists > Public > semantic-web@w3.org > August 2009

Re: N3 in XHTML / META tag

From: Martin Hepp (UniBW) <martin.hepp@ebusiness-unibw.org>
Date: Thu, 13 Aug 2009 08:24:38 +0200
Message-ID: <4A83B1A6.7080400@ebusiness-unibw.org>
To: Toby A Inkster <tai@g5n.co.uk>
CC: semantic-web at W3C <semantic-web@w3c.org>
Hi Toby, thanks - sounds like a plan. Ideally, we would find a way to 
include N3/Turtle without the need to escape <,>, and quotation marks. 
Any ideas that don't require modifications of existing specs?

Also, maybe change

<link rel="meta" href="#my_data" />

to

<link rel="meta" content="text/n3" href="#my_data" />

?
Martin

Toby A Inkster wrote:
> On 11 Aug 2009, at 19:19, Martin Hepp (UniBW) wrote:
>
>> <meta name="text/n3"
>>    content="@prefix foo: &lt;http://www.example.com/xyz#&gt; .
>>    @prefix gr:  &lt;http://purl.org/goodrelations/v1#&gt; .
>>    @prefix xsd:  &lt;http://www.w3.org/2001/XMLSchema#&gt; .
>>    @prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
>>    foo:myCompany
>>        a gr:BusinessEntity ;
>>        rdfs:seeAlso &lt;http://www.example.com/xyz&gt; ;
>>        gr:hasLegalName &quot;Hepp Industries Ltd.&quot;^^xsd:string."/>
>
>
> Maybe:
>
> <link rel="meta" href="#my_data" />
> <script type="text/n3" id="my_data">
>   @prefix foo:  &lt;http://www.example.com/xyz#> .
>   @prefix gr:   &lt;http://purl.org/goodrelations/v1#> .
>   @prefix xsd:  &lt;http://www.w3.org/2001/XMLSchema#> .
>   @prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#> .
>   foo:myCompany
>     a gr:BusinessEntity ;
>     rdfs:seeAlso &lt;http://www.example.com/xyz> ;
>     gr:hasLegalName "Hepp Industries Ltd."^^xsd:string.
> </script>
>
> Note that while script@id is valid in HTML5 and all versions of XHTML, 
> it is invalid in HTML4.
>

-- 
--------------------------------------------------------------
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 Thursday, 13 August 2009 06:25:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:48:00 UTC