- From: Miles, AJ (Alistair) <A.J.Miles@rl.ac.uk>
- Date: Thu, 5 Feb 2004 17:38:50 -0000
- To: "Nikki Rogers (E-mail)" <Nikki.Rogers@bristol.ac.uk>, "Dave Beckett (E-mail)" <dave.beckett@bristol.ac.uk>
- Cc: "'public-esw-thes@w3.org'" <public-esw-thes@w3.org>
Hi, Three suggestions for the SKOS API, adding to what I already wrote <http://www.w3c.rl.ac.uk/SWAD/api/kosAPI.txt>: 1. Some mapping methods: ----------------------------------- getSupportedSemanticMappings() getSupportedSemanticMappings(URI sourceThesaurus, URI targetThesaurus) --> These methods return the mapping properties available, along with their definitions. Analagous to the getSupportedSemanticRelations() methods. getConceptMappings(URI sourceConcept, SemanticMapping map, URI targetThesaurus) getConceptMappings(Literal prefLabel, URI sourceThesaurus, SemanticMapping map, URI targetThesaurus) getConceptMappings(Literal externalID, URI sourceThesaurus, SemanticMapping map, URI targetThesaurus) --> Returns all mappings from the source concept to the target thesaurus, according to the given semantic mapping property. getConceptMappings(URI sourceConcept, URI targetThesaurus) getConceptMappings(Literal prefLabel, URI sourceThesaurus, URI targetThesaurus) getConceptMappings(Literal externalID, URI sourceThesaurus, URI targetThesaurus) --> Returns all mappings from the source concept to the target thesaurus. 2. Add a path length argument to all of the getConceptRelatives() methods, allowing a larger data structure to be returned in one go: ----------------------------------- getConceptRelatives(URI conceptURI, Int expansionDepth) etc...... 3. Add a 'return format' argument to the methods, so can return a concept datastructure in, for example, SKOS-RDF/XML-ABBREV, SKOS-RDF/N3, ZThes XML, XTM, etc.. ---------------------------------- getConcept(URI uri, String returnFormat) [Could be good for promoting interoperability ... !] That's it. Al. CCLRC - Rutherford Appleton Laboratory Building R1 Room 1.60 Fermi Avenue Chilton Didcot Oxfordshire OX11 0QX United Kingdom Email: a.j.miles@rl.ac.uk Telephone: +44 (0)1235 445440
Received on Thursday, 5 February 2004 12:39:10 UTC