I think it could be useful if we allowed alternative serialization formats
for RDF in RELS-EXT (and RELS-INT).
Alternatives could include N3 and N-Triples, both of which tend to be more
readable (and therefore potentially easier to author) than RDF/XML -
possibly useful to those less experienced in creating RDF/XML.
This would not be possible with the current 3.3 release, as the RELS-*
datastreams must be XML as they are "X" datastreams (N3 and N-Triples are
not XML), but could be an option for 3.4 onwards now that we support M
datastreams for RELS-*.
(Additionally, RDF/XML has limitations as to to what RDF can be serialized
as RDF/XML.)
Regards
Steve
-----Original Message-----
From: Chris Wilper [mailto:[email protected]]
Sent: 04 August 2010 17:47
To: Hamilton, Gill
Cc: [email protected]
Subject: Re: [fcrepo-user] FOXML RELS-EXT member of two collections?
Hi Gill,
You've got the right idea. Try this instead:
<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"/>
<fedora:isMemberOfCollection
rdf:resource="info:fedora/nls:101"/>
</rdf:Description>
</rdf:RDF>
This is actually equivalent in meaning to the RDF you posted (which itself
is valid RDF), but RELS-EXT is more constrained than generic RDF: it only
expects a single rdf:Description element because the subject (the thing
you're making statements about) is the same for all statements expressed
within a RELS-EXT datastream.
- Chris
On Wed, Aug 4, 2010 at 12:35 PM, Hamilton, Gill <[email protected]> wrote:
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/>
------------------------------------------------------------------------------
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