Hi Lizzy,

Op 11-9-2015 om 17:37 schreef Lizzy Jongma:

Hi all,

 

Sorry to bother you again:

You're uploading your images yourself, you're not bothering us, you're making us extremely happy.

the Rijksmuseum is creating a set to upload in the GLAMwiki toolset and there is documentation about the template we are using: the artwork template. In this template the format of Wikimedia Commons fields is being described. For instance: this is the format for technique

{{Technique|Oil|Canvas}}

 

We are wondering whether we have to incorporate this in our XML or if the template/GLAMtool will rewrite: <dcterms:medium xmlns="http://www.w3.org/2000/01/rdf-schema#">paper</dcterms:medium> into the Wikimedia format?

I'm afraid the GWToolset won't do any rewriting. I would recommend you play around on the Commons Beta. Don't worry about flooding it or breaking it, that's exactly the purpose of that site.

 

We always use CC PD + CC PD Mark URL to mark our works of art:

<dc:rights xmlns="http://www.w3.org/2000/01/rdf-schema#">http://creativecommons.org/publicdomain/mark/1.0/</dc:rights>

We are now puzzeling on wiki licensing: do we need to use the {{PD-old}}  tags? And do we also need to implement the {{PD-1923}} for the US?

For 2D works I would recommend you use PD-art ( https://commons.wikimedia.org/wiki/Template:PD-Art ).

 

We are using XSLT to transform our internal XML into Dublin Core.

I don't think you need to do this. As far as I know you can just convert your data to "flat" xml (xml that has no nested value, so basic key - value pairs) and use the GLAMwiki toolset interface to map these to the fields in the artwork template. So I guess it's best to focus on mapping your info to the fields described at https://commons.wikimedia.org/wiki/Template:Artwork#Template_parameters

In the creator set you ask us to change the creator name from “Bruna, Dick” to “Dick Bruna”

Before spending hours on writing XSLT: has anyone else written XSLT code to transform a creators’name and could we “borrow” your XSLT code?

That would save us sooooo much time

For my Wikidata upload I think I split the string on the comma, strip both fields of spaces and rearrange them. http://stackoverflow.com/questions/3336424/does-xslt-have-split-function
I'm a complete XSLT noob, but some googling returns a "concat" function to glue it back together and I "normalize-space" to get rid of the extra spaces.

Maarten