rhdunn / cainteoir-gtk

Gtk+ graphical front-end for Cainteoir Text-to-Speech
http://rhdunn.github.com/cainteoir/
GNU General Public License v3.0
11 stars 3 forks source link

support subject mapping in the document search UI #9

Open rhdunn opened 13 years ago

rhdunn commented 13 years ago

Create the mapping (publisher, subject) -> subject to support grouping related subjects from different publishers (e.g. how they label the subject "Super Hero").

This mapping should be used to determine how to group documents by subject.

The user can:

  1. label a subject grouping by either selecting one from the list taken from the selected (publisher, subject) pairs, or set it manually;
  2. export/import subject groupings -- all groupings, individual grouping or by publisher;
  3. see the actual subject label on a document and all labels associated with a subject group;
  4. add/remove (publisher, subject) pairs to/from a subject grouping.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

rhdunn commented 12 years ago

The mapping API for this should be supported in the cainteoir-engine. The on-disk representation should be an RDF+SKOS model (one per publisher):

skos:ConceptScheme -- a mapping set for a given publisher skos:ConceptScheme/dc:publisher -- the dc:publisher string to match in documents for the mapping skos:ConceptScheme/dc:title -- the title of the mapping skos:ConceptScheme/dc:description -- a description of the mapping

skos:Concept -- a subject entry skos:Concept/skos:prefLabel -- the label to display in cainteoir-gtk, etc. skos:Concept/skos:altLabel -- an alias of this found in the dc:subject entry of a document

This defines the mapping (skos:ConceptScheme/dc:publisher, skos:Concept/skos:altLabel) -> skos:Concept/skos:prefLabel.

Users should be able to add their own mapping files,