Hi Nathan,

I used this as my starting point:
http://www.openarchives.org/OAI/2.0/rdf.xsd
which is the structure to include rdf in the OAI protocol

I derived from that that construct needs to have the following form:
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
  xsi:schemaLocation="http://www.w3.org/1999/02/22-rdf-syntax-ns#  
http://www.openarchives.org/OAI/2.0/rdf.xsd";>

</rdf:RDF:>

Then I probably made a mistake by replacing
http://www.openarchives.org/OAI/2.0/rdf.xsd
with 
http://creativecommons.org/ns#
instead of replacing the first
http://www.w3.org/1999/02/22-rdf-syntax-ns#

I am equally not sure about the schemalocation. 

Probably the right way to use ccREL here is:
<rdf:RDF
  xmlns:cc="http://creativecommons.org/ns#";
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
  xsi:schemaLocation="http://www.w3.org/1999/02/22-rdf-syntax-ns#  
http://www.openarchives.org/OAI/2.0/rdf.xsd";>

</rdf:RDF:>

Would you agree?

Maarten Zeinstra

Kennisland | Knowledgeland 
T: +31.20.575.6720 | E: [email protected]
www.kennisland.nl | www.knowledgeland.org

On Jun 28, 2010, at 19:19 , Nathan Yergler wrote:

> Hi Maarten,
> 
> We do not currently have an XSD for the CC namespace, so assuming you
> can include RDF directly, that seems like the easiest way to get
> started.  Note that I'm not an expert on OAI-PMH, so I'm not certain
> that's possible.
> 
> That said, the example you gave seems a little strange to me.  In the
> rdf:RDF element, you declare the rdf as
> "http://www.w3.org/1999/02/22-rdf-syntax-ns#";.  Under normal RDF/XML
> rules (assuming those apply here) "rdf:attributionName" would be
> interpreted as http://www.w3.org/1999/02/22-rdf-syntax-ns#attributionName.
> I don't think that's what you're going for.  I'd expect to see
> something like:
> 
> <rdf:RDF
> xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
> xmlns:cc="http://creativecommons.org/ns#";>
> 
> and then "cc:attributionName", "cc:attributionUrl", etc.  I'm also not
> clear what the point of xsi:schemaLocation is on rdf:RDF.
> 
> Apologies if my comments reveal some deep-seated misunderstanding of
> OAI-PMH.  It'd be great to have a functional example of CC REL in
> OAI-PMH, so I'd love to work through the issues and get this
> documented.
> 
> Regards,
> 
> Nathan
> 
> 
> On Mon, Jun 28, 2010 at 7:35 AM, Maarten Zeinstra <[email protected]> wrote:
>> Hello list,
>> I'm trying to make an implementation of ccREL for OAI-PMH to communicate
>> specific ccREL information. I could not find examples or explanations how
>> this could be added so I thought I post it on the list.
>> I've used the standard RDF implementation to bypass the need to have an xsd,
>> which as far as I know there is none of ccREL is there?
>> That would result to a record that would like this? Wouldn't it?
>> <record>
>> <header>
>> <identifier>...</identifier>
>> <datestamp>1962-05-04T00:00:00Z</datestamp>
>> </header>
>> <metadata>
>> <oai_dc:dc xsi:schemaLocation="
>> http://www.openarchives.org/OAI/2.0/oai_dc/
>> http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>
>> ....
>> </oai_dc:dc>
>> <rdf:RDF
>> xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
>> xsi:schemaLocation=
>> ”http://www.w3.org/1999/02/22-rdf-syntax-ns#
>> http://creativecommons.org/ns#”>
>> <RDF:attributionName>
>> [maker]
>> </RDF:attributionName>
>> <RDF:attributionURL>
>> [locatie op openbeelden.nl]
>> </RDF:attributionURL>
>> <RDF:license>
>> [licentie url]
>> </RDF:license>
>> </rdf:RDF>
>> </metadata>
>> </record>
>> Best,
>> Maarten Zeinstra
>> Kennisland | Knowledgeland
>> 
>> T: +31.20.575.6720 | E: [email protected]
>> www.kennisland.nl | www.knowledgeland.org
>> 
>> _______________________________________________
>> cc-devel mailing list
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/cc-devel
>> 
>> 
> 

_______________________________________________
cc-devel mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/cc-devel

Reply via email to