Hi there

 

I need a wee bit of help with my RELS-EXT and RDF.  I get the idea that
RELS-EXT can be used to indicate when an object has a relationship with
another object.  Something like ..  "this object" isMemberOfCollection
"that object".  So, I have realised that sometimes an object will be  a
member of two (or more) collections but not being very experienced with
FOXML or RDF I wasn't sure how to encode this. Would this work (below) ?


 

Thanks in advance for your help.

Gill

 

[to explain: The object nls:100 is the Super collection (NLS digital
repository) everything in the repository would need to be a member of
that collection and object nls:101 is our Scottish Govt electronic
publications]

 

    <foxml:datastream ID="RELS-EXT" CONTROL_GROUP="X">
        <foxml:datastreamVersion
FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"
            ID="RELS-EXT.0" MIMETYPE="application/rdf+xml"
            LABEL="relationships">
            <foxml:xmlContent>
                <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
                    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
 
xmlns:fedora="info:fedora/fedora-system:def/relations-external#"> 

                   
                    <rdf:Description
rdf:about="info:fedora/[PIDofThisObject]">
                        <fedora:isMemberOfCollection
                            rdf:resource="info:fedora/nls:100"/>
                    </rdf:Description>



                    <rdf:Description
rdf:about="info:fedora/[PIDofThisObject]">
                        <fedora:isMemberOfCollection
                            rdf:resource="info:fedora/nls:101"/>
                    </rdf:Description>



                </rdf:RDF>
            </foxml:xmlContent>
        </foxml:datastreamVersion>
    </foxml:datastream>          

 

---------------------------------------------------
Gill Hamilton
Systems Librarian
National Library of Scotland
George IV Bridge
Edinburgh EH1 1EW
Scotland, UK

e: [email protected]
skype: gill.hamilton.nls
t: +44 (0)131-623 3774
w: http://www.nls.uk <http://www.nls.uk/> 

 

***********************************************************************
Visit the National Library of Scotland online at www.nls.uk
***********************************************************************
Please consider the environment before printing this e-mail.

This communication is intended for the addressee(s) only. If you
are not the intended recipient, please notify the Information Services Helpdesk 
on +44 131 623 3789 or [email protected] and delete this e-mail. The 
statements and opinions expressed in this message are those of the author and 
do not necessarily reflect those of the National Library of Scotland. The 
National Library of Scotland is a registered Scottish charity. Scottish Charity 
No. SC011086. This message is subject to the Data Protection Act 1998 
and Freedom of Information (Scotland) Act 2002 and has been 
scanned by Webroot.
*********************************************************************** 

Follow us on Twitter for twice-weekly updates.
Become our fan on Facebook and keep up-to-date that way too.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to