{"action":"created","issue":{"url":"https://api.github.com/repos/hiscom/hispid/issues/73","labels_url":"https://api.github.com/repos/hiscom/hispid/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/hiscom/hispid/issues/73/comments","events_url":"https://api.github.com/repos/hiscom/hispid/issues/73/events","html_url":"https://github.com/hiscom/hispid/issues/73","id":94664423,"number":73,"title":"XSLT and changes to RDF","user":{"login":"nielsklazenga","id":4694550,"avatar_url":"https://avatars.githubusercontent.com/u/4694550?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsklazenga","html_url":"https://github.com/nielsklazenga","followers_url":"https://api.github.com/users/nielsklazenga/followers","following_url":"https://api.github.com/users/nielsklazenga/following{/other_user}","gists_url":"https://api.github.com/users/nielsklazenga/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsklazenga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsklazenga/subscriptions","organizations_url":"https://api.github.com/users/nielsklazenga/orgs","repos_url":"https://api.github.com/users/nielsklazenga/repos","events_url":"https://api.github.com/users/nielsklazenga/events{/privacy}","received_events_url":"https://api.github.com/users/nielsklazenga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hiscom/hispid/labels/rdf","name":"rdf","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-13T08:19:32Z","updated_at":"2015-10-16T00:55:56Z","closed_at":null,"body":"I have created the XSLT file to transform the RDF to HTML ([terms-rdf-to-html.xslt](https://github.com/hiscom/hispid/blob/master/terms/terms-rdf-to-html.xslt)).  The HTML that is now at http://hiscom.chah.org.au/hispid/terms/ is created directly from RDF using this XSLT.\r\n\r\nI have recreated the RDF file, as the _MediaItem_ properties weren't in there yet. While doing that I made a few changes to the RDF:\r\n\r\n1. The objects after the `rdf:type` predicate were in the `rdfs` namespace (http://www.w3.org/2000/01/rdf-schema#). I put them in the `rdf` namespace (http://www.w3.org/1999/02/22-rdf-syntax-ns#), where Darwin Core has them. I didn't check if `rdfs` has the RDF types as well.\r\n2. I think using `skos:exactMatch` and `skos:closeMatch` to match the old HISPID transfer codes to the current concepts is not appropriate, as they (the old HISPID terms) are older versions, not different concepts. Therefore, I have done the same thing as the Darwin Core RDF does and used `dcterms:replaces` instead. This leaves the SKOS mapping properties for mapping between different concepts and different standards. I have created a [hispidtermshistory.rdf](https://github.com/hiscom/hispid/blob/master/terms/hispidtermshistory.rdf) file in which I have dumped all the HISPID transfer codes from HISPID 3, 4, 5, so the new terms replace the HISPID 5 terms, HISPID 5 terms replace the HISPID 4 terms etc. The history file needs a bit more work.\r\n3. I think `dcterms:hasVersion` should only be used to indicate the version of the term that is currently in use and not for older versions. Therefore there can only be one `hasVersion` element for each property. Following the Darwin Core RDF, I have appended the qualified name with the `dcterms:issued` date, e.g. 'http://hiscom.chah.org.au/hispid/terms/catalogNumber-2015-07-11'. For the terms from previous versions I have appended the version instead, e.g. 'http://hiscom.chah.org.au/hispid/terms/accid-hispid3'.\r\n\r\nI didn't want to overwrite the existing [terms.rdf](https://github.com/hiscom/hispid/blob/master/terms.rdf) file before having discussed this, so I created [hispid2015.rdf](https://github.com/hiscom/hispid/blob/master/terms/hispid2015.rdf).\r\n\r\nI have adopted Ben's use of `skos:scopeNote` for the usage column. I have used the same predicate for the vocabularies, prepending the values with 'Vocabulary: ', so that the XSLT style sheet can recognise them as such. `skos:note` is used for general comments and the GitHub issues (values for the latter are prepended with 'GitHub issue: '). I think we can find a use for `skos:changeNote` as well.\r\n"},"comment":{"url":"https://api.github.com/repos/hiscom/hispid/issues/comments/148563630","html_url":"https://github.com/hiscom/hispid/issues/73#issuecomment-148563630","issue_url":"https://api.github.com/repos/hiscom/hispid/issues/73","id":148563630,"user":{"login":"nielsklazenga","id":4694550,"avatar_url":"https://avatars.githubusercontent.com/u/4694550?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsklazenga","html_url":"https://github.com/nielsklazenga","followers_url":"https://api.github.com/users/nielsklazenga/followers","following_url":"https://api.github.com/users/nielsklazenga/following{/other_user}","gists_url":"https://api.github.com/users/nielsklazenga/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsklazenga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsklazenga/subscriptions","organizations_url":"https://api.github.com/users/nielsklazenga/orgs","repos_url":"https://api.github.com/users/nielsklazenga/repos","events_url":"https://api.github.com/users/nielsklazenga/events{/privacy}","received_events_url":"https://api.github.com/users/nielsklazenga/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T00:55:56Z","updated_at":"2015-10-16T00:55:56Z","body":"I don't disagree about the semantics of dcterms:hasVersion. I just think it is more useful to know what the current version is than to list all versions, which you can easily retrieve by following the 'replaces/replacedBy' trail (it's RDF after all). My use is the same as in Darwin Core, which we are basing HISPID on."}}