Created
February 24, 2017 15:16
-
-
Save elrayle/fd3214fcff6f26a471a9588b8eb15110 to your computer and use it in GitHub Desktop.
Example configuration that would allow an LDF server to be accessed via linked_data branch of QA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # API documentation: | |
| # http://example.org/ldf/dataset/lcnames?subject=http://id.loc.gov/authorities/names/n79065220.html | |
| term: | |
| url: http://example.org/ldf/dataset/__SUB_AUTH__?subject=__TERM_ID__ | |
| term_id: URI # valid values: ID | URI | |
| language: en | |
| results: | |
| id_predicate: http://id.loc.gov/vocabulary/identifiers/lccn | |
| label_predicate: http://www.w3.org/2004/02/skos/core#prefLabel | |
| altlabel_predicate: http://www.w3.org/2004/02/skos/core#altLabel | |
| sameas_predicate: http://www.w3.org/2004/02/skos/core#exactMatch | |
| subauthorities: | |
| replacement: | |
| pattern: __SUB_AUTH__ | |
| default: names | |
| subjects: subjects # LC Subject Headings (e.g. science) | |
| names: names # LC Name Authority File (e.g. george washington) | |
| classification: classification # LC Classification (e.g. Z668) | |
| child_subject: childrensSubjects # LC Children's Subject Headings (e.g. magic) | |
| genre: genreForms # LC Genre/Form Terms (e.g. jazz) | |
| demographic: demographicTerms # LC Demographic Group Terms (e.g. lawyers) | |
| # http://example.org/ldf/dataset/lcnames?q=Tunisia | |
| search: | |
| url: http://example.org/ldf/dataset/__SUB_AUTH__?q=__QUERY__ | |
| language: en | |
| results: | |
| id_predicate: http://id.loc.gov/vocabulary/identifiers/lccn | |
| label_predicate: http://www.w3.org/2004/02/skos/core#prefLabel | |
| altlabel_predicate: http://www.w3.org/2004/02/skos/core#altLabel | |
| sort_predicate: http://www.w3.org/2004/02/skos/core#prefLabel | |
| subauthorities: | |
| replacement: | |
| pattern: __SUB_AUTH__ | |
| default: names | |
| subjects: subjects # LC Subject Headings (e.g. science) | |
| names: names # LC Name Authority File (e.g. george washington) | |
| classification: classification # LC Classification (e.g. Z668) | |
| child_subject: childrensSubjects # LC Children's Subject Headings (e.g. magic) | |
| genre: genreForms # LC Genre/Form Terms (e.g. jazz) | |
| demographic: demographicTerms # LC Demographic Group Terms (e.g. lawyers) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment