Include tags in the rdf format

Hi there,

I was wondering it it's possible to have the tags included in the rdf format of omeka dublin core extended.

I mean, I would like to export my collection in the rdf format. I did it with adding ?output=dc-rdf but the tags are missing.

It's quite important for us the have he tags as we used them to categorize our items by periods and topics.


Out of the box, we're not exposing that as RDF. As things stand now, that would have to be built with a plugin. That would be more or a little less complicated, depending on your exact needs.

One way at it would be to create a new plugin that starts with what Dublin Core Extended does, but also builds on what's there in models/Output/ItemDcRdf.php to dig up the tag information.

The big question is whether this is for a one-off task, or for broader interoperability. You'd have to decide how to represent that tag information in a schema/vocabulary/ontology -- SKOS, Taggings, something else. Building the RDF/XML wouldn't be too hard either way. I guess it would just depend on how you want to consume and expose the RDF.

All we want to do is having our data open to be consumed by whoever wants.

From what I understood from different conversations in this forum, the data are already there. But we would need the tags to be included as we are following a structure for our items.

I mean, we have bibliographic references and we have categories, sub-categories and themes. Every reference is included at least in one categorie/sub-categories/themes. So we used the tags to make this happen and create an hierarchy.

We would need to follow this hierarchy when sharing our datas.

What would be the steps to do that? Do you think we need to create a plugin for this? Is this possible for you?

It would definitely be a plugin to produce the RDF, probably similar to how DC Extended does it. It seems easy enough to make some simple SKOS for the categories, sub-categories, and themes. You would probably have to mint your own URIs somehow, though.

Then, you'd just need to expose triples for the relationships between items and the SKOS data.