{

"QA_CONFIG_VERSION": "2.1",
"prefixes": {
  "biomesh": "http://purl.bioontology.org/ontology/MESH/",
  "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/mesh_lookup.jsp?uri={term_uri}",
    "variableRepresentation": "BasicRepresentation",
    "mapping": [
      {
        "@type":    "IriTemplateMapping",
        "variable": "term_uri",
        "property": "hydra:freetextQuery",
        "required": true
      }
    ]
  },
  "qa_replacement_patterns": {
    "term_id": "term_uri"
  },
  "term_id": "URI",
  "results": {
    "id_ldpath":       "skos:notation",
    "label_ldpath":    "skos:prefLabel",
    "altlabel_ldpath": "skos:altLabel",
    "broader_ldpath":  "biomesh:mapped_to",
    "narrower_ldpath": "biomesh:mapped_from"
  }
},
"search": {
  "url": {
    "@context": "http://www.w3.org/ns/hydra/context.jsonld",
    "@type": "IriTemplate",
    "template": "http://services.ld4l.org/ld4l_services/mesh_batch.jsp?{?query}&{?maxRecords}&{?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": "lang",
        "property": "hydra:freetextQuery",
        "required": false,
        "default": "en"
      }
    ]
  },
  "qa_replacement_patterns": {
    "query":   "query"
  },
  "results": {
    "id_ldpath": "skos:notation",
    "label_ldpath": "skos:prefLabel",
    "sort_ldpath": "vivo:rank"
  },
  "context": {
    "properties": [
      {
        "property_label_i18n": "qa.linked_data.authority.mesh_ld4l_cache.definition",
        "property_label_default": "Definition",
        "ldpath": "skos:definition :: xsd:string",
        "selectable": false,
        "drillable": false
      }
    ]
  }
}

}