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

Commit

Permalink
WL-1709 Include notes about where to get the library codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
buckett committed Aug 15, 2011
1 parent e4c6f22 commit 7c97199
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/java/uk/ac/ox/oucs/sirlouie/utils/LibraryCodes.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@
import java.util.StringTokenizer;


/**
* This maps the library codes onto nice library names. The best place to get a up to data
* mapping is from http://data.ox.ac.uk/ with a SPARQL query of:
* <pre>
* PREFIX dc: <http://purl.org/dc/elements/1.1/>
* PREFIX dcterms: <http://purl.org/dc/terms/>
* PREFIX oxp: <http://ns.ox.ac.uk/namespace/oxpoints/2009/02/owl#>
*
* SELECT ?code ?title WHERE {
* ?library a oxp:Library .
* ?library dc:title ?title .
* ?library oxp:hasOLISAlephCode ?code .
* }
* </pre>
*
*/
public class LibraryCodes extends HashMap<String, String> {

private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit 7c97199

Please sign in to comment.