Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Updating dc:subject examples to use literals instead of URIs as values #57

Closed
wants to merge 2 commits into from

Conversation

escowles
Copy link
Contributor

@escowles
Copy link
Contributor Author

@awoods Yes, Jena comes with some version of DC bundled (I think they are using this version from 3/24/2003: http://dublincore.org/2003/03/24/dces). Looking at the RDF schema, I don't see any definition of the domain or range of dc:subject, but if I try to execute a SPARQL Update command to set dc:subject to a URI, I get a com.hp.hpl.jena.rdf.model.LiteralRequiredException. So I think an unintended side-effect of using Jena in some places we were using Sesame before is that it is enforcing Jena's notion of what DC means.

My understanding of DC is that there are basically two versions, DC Elements (http://purl.org/dc/elements/1.1/, which we are using) that requires literals for most things, and DC Terms (http://purl.org/dc/terms/) that allows URIs for most things. But @cbeer or @ajs6f probably know the ins-and-outs of DC better than I do.

@awoods
Copy link

awoods commented Oct 17, 2014

Resolved with: 791d6d6

@awoods awoods closed this Oct 17, 2014
@awoods awoods deleted the literal-dc-subject branch October 17, 2014 21:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants