W3C home > Mailing lists > Public > public-swbp-wg@w3.org > December 2005

RE: [RDFA] Use within RDF

From: John McClure <jmcclure@hypergrove.com>
Date: Wed, 7 Dec 2005 16:33:30 -0800
To: "SWBPD" <public-swbp-wg@w3.org>
Message-ID: <MGEEIEEKKOMOLNHJAHMKAEIPDPAA.jmcclure@hypergrove.com>


Hi,
Below is an example use of an rdfa: namespace for an element representing the
first statute in the United States Code, which reads as:

	In determining the meaning of any Act of Congress,
	unless the context indicates otherwise - words importing
	the singular include and apply to several persons, parties,
	or things; ... the words "insane" and "insane person" and
	"lunatic" shall include every idiot, lunatic, insane person,
	and person non compos mentis; ...

Suggestions about the markup here are welcome. The issues arise as the block of
text above is contained by an owl:DataProperty called "eng" for English text.
The goal is to identify text that represents a "DocumentRule", and other text as
a "DocumentIdiom". For the document-idiom, still other text represents its
"IdiomDefinition". There a obvious uses for such strings: in the first case, it
is used for a check-list for new content in a document. In the second case, it
is to generate a document glossary at a minimum. The goal is to avoid needlessly
duplicating the text strings.

[I also have included another example of the <has> verb-predicate, with the
ContentTopic referencing a ClassExtent called "DocumentRules".]

<usc:Statute rdf:ID='&resources;/US/Statute/1.USC.1'>
   <dc:date>01/19/04</dc:date>
   <dc:title>Sec. 1. Words denoting number, gender, and so forth</dc:title>
   <dc:identifier>1 USC Sec. 1</dc:identifier>
   <has>
      <usc:StatuteTitle rdf:about='&resources;/US/Code/Title1'/>
      <usc:StatuteSection rdf:about='&resources;/US/Code/Title1/Section1'/>
      <usc:ContentTopic rdf:about='&legalxhtml;DocumentRules'/>
   </has>
   <eng>In determining the meaning of any Act of Congress, unless
   the context indicates otherwise -
   <eng rdfa:property='DocumentRule' rdfa:node='DocumentRule1'
        rdfa:about='&resources;/US/Code'>words importing the singular
        include and apply to several persons, parties, or things;</eng>
   <eng>the words</eng>
   <eng rdfa:property='DocumentIdiom' rdfa:node='DocumentIdiom1'
        rdfa:about='&resources;/US/Code'>"insane"</eng>
   <eng>and</eng>
   <eng rdfa:property='DocumentIdiom' rdfa:node='DocumentIdiom2'
        rdfa:about='&resources;/US/Code'>"insane person"</eng>
   <eng>and</eng>
   <eng rdfa:property='DocumentIdiom' rdfa:node='DocumentIdiom3'
        rdfa:about='&resources;/US/Code'>"lunatic"</eng>
   <eng rdfa:property='IdiomDefinition'
        rdfa:about='#DocumentIdiom1 #DocumentIdiom2 #DocumentIdiom3'>
         shall include every idiot, lunatic, insane person, and
         person non compos mentis;</eng>
</usc:Statute>

Of note is that rdfa:about is used as if defined as TOKENS, because the same
string of text is the same-named property for more than one resource. Again, any
ideas about this are appreciated.

Thanks,
John
Received on Thursday, 8 December 2005 00:33:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:31:14 UTC