{

"QA_CONFIG_VERSION": "2.2",
"service_uri": "http://ld4l.org/ld4l_services/cache",
"prefixes": {
  "vivo": "http://vivoweb.org/ontology/core#"
},
"term": {
  "url": {
    "@context": "http://www.w3.org/ns/hydra/context.jsonld",
    "@type":    "IriTemplate",
    "template": "http://services.ld4l.org/ld4l_services/ligatus_lookup.jsp?uri={term_uri}",
    "variableRepresentation": "BasicRepresentation",
    "mapping": [
      {
        "@type":    "IriTemplateMapping",
        "variable": "term_uri",
        "property": "hydra:freetextQuery",
        "required": true,
        "encode":   true
      }
    ]
  },
  "qa_replacement_patterns": {
    "term_id": "term_uri"
  },
  "term_id": "URI",
  "results": {
    "label_ldpath":    "skos:prefLabel ::xsd:string",
    "altlabel_ldpath": "skos:altLabel ::xsd:string",
    "broader_ldpath":  "skos:broader ::xsd:anyURI",
    "narrower_ldpath": "skos:narrower ::xsd:anyURI",
    "sameas_ldpath":   "skos:exactMatch ::xsd:anyURI"
  }
},
"search": {
  "url": {
    "@context": "http://www.w3.org/ns/hydra/context.jsonld",
    "@type": "IriTemplate",
    "template": "http://services.ld4l.org/ld4l_services/ligatus_batch.jsp?{?query}&{?maxRecords}&{?startRecord}&{?lang}",
    "variableRepresentation": "BasicRepresentation",
    "mapping": [
      {
        "@type": "IriTemplateMapping",
        "variable": "query",
        "property": "hydra:freetextQuery",
        "required": true,
        "encode": true
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "maxRecords",
        "property": "hydra:freetextQuery",
        "required": false,
        "default": "20"
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "startRecord",
        "property": "hydra:freetextQuery",
        "required": false,
        "default": "1"
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "lang",
        "property": "hydra:freetextQuery",
        "required": false,
        "default": "en"
      }
    ]
  },
  "qa_replacement_patterns": {
    "query":   "query",
    "start_record": "startRecord",
    "requested_records": "maxRecords"
  },
  "total_count_ldpath": "vivo:count",
  "results": {
    "label_ldpath": "skos:prefLabel ::xsd:string",
    "sort_ldpath":  "vivo:rank ::xsd:string"
  },
  "context": {
    "groups": {
      "hierarchy": {
        "group_label_i18n": "qa.linked_data.authority.ligatus_ld4l_cache.hierarchy",
        "group_label_default": "Hierarchy"
      }
    },
    "properties": [
      {
        "property_label_i18n": "qa.linked_data.authority.ligatus_ld4l_cache.preferred_label",
        "property_label_default": "Preferred label",
        "ldpath": "skos:prefLabel :: xsd:string",
        "selectable": true,
        "drillable": false
      },
      {
        "property_label_i18n": "qa.linked_data.authority.ligatus_ld4l_cache.alternative_label",
        "property_label_default": "Alternative label",
        "ldpath": "skos:altLabel :: xsd:string",
        "selectable": true,
        "drillable": false
      },
      {
        "group_id": "hierarchy",
        "property_label_i18n": "qa.linked_data.authority.ligatus_ld4l_cache.narrower",
        "property_label_default": "Narrower",
        "ldpath": "skos:narrower :: xsd:string",
        "selectable": true,
        "drillable": true,
        "expansion_label_ldpath": "skos:prefLabel ::xsd:string"
      },
      {
        "group_id": "hierarchy",
        "property_label_i18n": "qa.linked_data.authority.ligatus_ld4l_cache.broader",
        "property_label_default": "Broader",
        "ldpath": "skos:broader :: xsd:string",
        "selectable": true,
        "drillable": true,
        "expansion_label_ldpath": "skos:prefLabel ::xsd:string"
      },
      {
        "property_label_i18n": "qa.linked_data.authority.ligatus_ld4l_cache.scope_note",
        "property_label_default": "Scope note",
        "ldpath": "skos:scopeNote :: xsd:string",
        "selectable": false,
        "drillable": false
      }
    ]
  }
}

}