- From: Toby A Inkster <tai@g5n.co.uk>
- Date: Tue, 11 Aug 2009 21:55:45 +0100
- To: martin.hepp@ebusiness-unibw.org
- Cc: semantic-web at W3C <semantic-web@w3c.org>
On 11 Aug 2009, at 19:19, Martin Hepp (UniBW) wrote:
> <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."/>
Maybe:
<link rel="meta" href="#my_data" />
<script type="text/n3" id="my_data">
   @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.
</script>
Note that while script@id is valid in HTML5 and all versions of  
XHTML, it is invalid in HTML4.
-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 11 August 2009 20:56:24 UTC