{ "QA_CONFIG_VERSION": "2.2", "service_uri": "http://ld4l.org/ld4l_services/cache", "prefixes": { "loc": "http://id.loc.gov/vocabulary/identifiers/", "madsrdf": "http://www.loc.gov/mads/rdf/v1#", "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/loc_subject_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": { "id_ldpath": "loc:lccn ::xsd:string", "label_ldpath": "skos:prefLabel ::xsd:string", "altlabel_ldpath": "skos:altLabel ::xsd:string", "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/loc_subject_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", "subauth": "entity", "start_record": "startRecord", "requested_records": "maxRecords" }, "total_count_ldpath": "vivo:count", "results": { "label_ldpath": "madsrdf:authoritativeLabel ::xsd:string", "sort_ldpath": "vivo:rank ::xsd:string" }, "context": { "groups": { "hierarchy": { "group_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.hierarchy", "group_label_default": "Hierarchy" } }, "properties": [ { "property_label_i18n": "qa.linked_data.authority.locsubjects_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.locsubjects_ld4l_cache.alternative_label", "property_label_default": "Alternative label", "ldpath": "skos:altLabel :: xsd:string", "selectable": false, "drillable": false }, { "property_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.type", "property_label_default": "Type", "ldpath": "rdf:type :: xsd:string", "selectable": false, "drillable": false }, { "group_id": "hierarchy", "property_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.broader", "property_label_default": "Broader", "ldpath": "skos:broader :: xsd:string", "selectable": true, "drillable": true, "expansion_label_ldpath": "skos:prefLabel ::xsd:string", "expansion_id_ldpath": "loc:lccn ::xsd:string" }, { "group_id": "hierarchy", "property_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.narrower", "property_label_default": "Narrower", "ldpath": "skos:narrower :: xsd:string", "selectable": true, "drillable": true, "expansion_label_ldpath": "skos:prefLabel ::xsd:string", "expansion_id_ldpath": "loc:lccn ::xsd:string" }, { "property_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.citation_note", "property_label_default": "Citation note", "ldpath": "madsrdf:hasSource / madsrdf:citation-note :: xsd:string", "selectable": false, "drillable": false }, { "property_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.citation_source", "property_label_default": "Citation source", "ldpath": "madsrdf:hasSource / madsrdf:citation-source :: xsd:string", "selectable": false, "drillable": false }, { "property_label_i18n": "qa.linked_data.authority.locsubjects_ld4l_cache.citation_status", "property_label_default": "Citation status", "ldpath": "madsrdf:hasSource / madsrdf:citation-status :: xsd:string", "selectable": false, "drillable": false } ] } } }