Sha256: 0b05b3bead9e9b9e094dc71f781bfaebe1c2ed6b0a4b1f5804f39e6e75656971

Contents?: true

Size: 1.99 KB

Versions: 26

Compression:

Stored size: 1.99 KB

Contents

{
  "QA_CONFIG_VERSION": "2.0",
  "term": {
    "url": {
      "@context": "http://www.w3.org/ns/hydra/context.jsonld",
      "@type":    "IriTemplate",
      "template": "{term_uri}?{?lang}",
      "variableRepresentation": "BasicRepresentation",
      "mapping": [
        {
          "@type":    "IriTemplateMapping",
          "variable": "term_uri",
          "property": "hydra:freetextQuery",
          "required": true
        },
        {
          "@type":    "IriTemplateMapping",
          "variable": "lang",
          "property": "hydra:freetextQuery",
          "required": false,
          "default":  "en"
        }
      ]
    },
    "qa_replacement_patterns": {
      "term_id": "term_uri"
    },
    "term_id": "URI",
    "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"
    }
  },
  "search": {
    "url": {
      "@context": "http://www.w3.org/ns/hydra/context.jsonld",
      "@type":    "IriTemplate",
      "template": "http://localhost/test_replacement/search?{?query}&{?lang}",
      "variableRepresentation": "BasicRepresentation",
      "mapping": [
        {
          "@type":    "IriTemplateMapping",
          "variable": "query",
          "property": "hydra:freetextQuery",
          "required": true
        },
        {
          "@type":    "IriTemplateMapping",
          "variable": "lang",
          "property": "hydra:freetextQuery",
          "required": false,
          "default":  "en"
        }
      ]
    },
    "qa_replacement_patterns": {
      "query": "query"
    },
    "results": {
      "id_predicate":       "http://purl.org/dc/terms/identifier",
      "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"
    }
  }
}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
qa-5.13.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.12.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.11.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.10.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.9.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.8.1 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.8.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.7.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.6.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.5.2 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-4.3.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.5.1 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.5.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.4.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.3.1 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.3.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.2.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.1.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-5.0.0 spec/fixtures/authorities/linked_data/lod_lang_param.json
qa-4.2.4 spec/fixtures/authorities/linked_data/lod_lang_param.json