OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-metadata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office] citation example


Hi Bruce,

I'm not sure, but I think I have found a few minor errors.

Bruce D'Arcus wrote:

> 
> So user adds a citation to their document with two references. They use 
> an APA style, and it displays like:
> 
>     (Doe, 1999:23; Smith, 2000)
> 
> In the content file, then, we have a nested field; something like:
> 
> <text:meta-field xml:id="citation-1">
>   (<text:meta-field xml:id="citation-1-r1">
>     Doe, 1999
>   </text:meta-field>;
>   <text:meta-field xml:id="citation-1-r2">
>     Smith, 2000
>   </text:meta-field>)
> </text:meta-field>

Isn't there a "23" missing in your example code?
> 
> Now, we have to hook up our RDF/XML to these fields to the RDF.
> 
> First, we define two RDF graphs (files) and register them in the 
> manifest. Within that, we add a binding to associate content with a 
> stable URI, which we can use to make further statements about (note: 
> this is an abbreviated manifest file just for illustration):
> 

I know, you have corrected below example, but ...

> <odf:Package rdf:about="urn:uuid:224ab023-77b8-4396-a75a-8cecd85b81e3"
>             
> xmlns:odf="http://docs.oasis-open.org/opendocument/meta/package#";
>             xmlns:dcterms="http://purl.org/dc/terms/";>
>   <dcterms:hasPart>
>     <odf:MetadataFile odf:path="citation.rdf">

Doesn't this have to be

<odf:ContentFile odf:path="content.xml">?

>       <odf:Element 
> rdf:about="urn:uuid:afdc453c-5dc8-4988-8dab-fc378bd9e73d"
>             odf:idref="citation-1-r1"/>
>       <odf:Element 
> rdf:about="urn:uuid:321fc314-69d3-4019-859d-29a5dc2721a0"
>             odf:idref="citation-1-r1"/>

r1->r2?
>     </odf:MetadataFile>
>   </dcterms:hasPart>
>   <dcterms:hasPart>
>     <odf:MetadataFile odf:path="bibliography.rdf"/>
>   </dcterms:hasPart>
> </odf:Package>
> 
> Finally, within the bibliography.rdf file we store the raw source 
> metadata (for one; I've omitted the other because I'm in a hurry!):
> 
> <b:Document rdf:about="urn:isbn:23983487">
>   <b:referenceType="http://zotero.org/types/book"/>
>   <dcterms:creator rdf:resource="http://ex.net/people#jane"/>
>   <dc:title>Some Book Title</dc:title>
>   <dc:date>2000</dc:date>
>   <dcterms:publisher rdf:resource="http://ex.net"/>

Schouldn't this be something like

<dcterms:publisher rdf:resource="http://ex.net#abc"/>

and the second vCard entry below

<vcard:VCard rdf:about="http://ex.net/people#abc";>

> </b:Document>
> 
> <vcard:VCard rdf:about="http://ex.net/people#jane";>
> <!-- note, here, we're using vcard; this could be stored in a 
> contacts.rdf if one wanted -->
>   <vcard:sort-string>Smith, Jane</vcard:sort-string>
> <!-- obviously could encode much more -->
> </vcard:VCard>
> 
> <vcard:VCard rdf:about="http://ex.net/people#jane";>
>   <vcard:fn>ABC Books</vcard:fn>
> <!-- obviously could encode much more -->
> </vcard:VCard>
> 
> Any questions?
> 
> Bruce
> 

Michael

-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
        D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Marcel Schneider, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]