{ "QA_CONFIG_VERSION": "2.1", "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_genre_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 | madsrdf:variantLabel ::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/loc_genre_batch.jsp?{?query}&{?entity}&{?maxRecords}&{?startRecord}&{?lang}&{?context}", "variableRepresentation": "BasicRepresentation", "mapping": [ { "@type": "IriTemplateMapping", "variable": "query", "property": "hydra:freetextQuery", "required": true, "encode": true }, { "@type": "IriTemplateMapping", "variable": "entity", "property": "hydra:freetextQuery", "required": false, "default": "" }, { "@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" }, { "@type": "IriTemplateMapping", "variable": "context", "property": "hydra:freetextQuery", "required": false, "default": "false" } ] }, "qa_replacement_patterns": { "query": "query", "subauth": "entity" }, "results": { "id_ldpath": "loc:lccn ::xsd:string", "label_ldpath": "skos:prefLabel | madsrdf:variantLabel ::xsd:string", "sort_ldpath": "vivo:rank ::xsd:string" }, "context": { "groups": { "hierarchy": { "group_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.hierarchy", "group_label_default": "Hierarchy" }, "deprecation": { "group_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.deprecation", "group_label_default": "Deprecation" } }, "properties": [ { "property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.preferred_label", "property_label_default": "Preferred label", "ldpath": "skos:prefLabel | madsrdf:variantLabel :: xsd:string", "selectable": true, "drillable": false }, { "property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.alt_label", "property_label_default": "Alternative Label", "ldpath": "skos:altLabel :: xsd:string", "selectable": false, "drillable": false }, { "property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.scope_note", "property_label_default": "Scope note", "ldpath": "skos:note :: xsd:string", "selectable": false, "drillable": false }, { "property_label_i18n": "qa.linked_data.authority.locgenres_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.locgenres_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.locgenres_ld4l_cache.citation_status", "property_label_default": "Citation status", "ldpath": "madsrdf:hasSource / madsrdf:citation-status :: xsd:string", "selectable": false, "drillable": false }, { "group_id": "hierarchy", "property_label_i18n": "qa.linked_data.authority.locgenres_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.locgenres_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.locgenres_ld4l_cache.type", "property_label_default": "Type", "ldpath": "rdf:type :: xsd:string", "selectable": false, "drillable": false }, { "group_id": "deprecation", "property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.use_instead", "property_label_default": "Use instead", "ldpath": "madsrdf:useInstead :: xsd:string", "selectable": true, "drillable": true, "expansion_label_ldpath": "skos:prefLabel ::xsd:string", "expansion_id_ldpath": "loc:lccn ::xsd:string" }, { "group_id": "deprecation", "property_label_i18n": "qa.linked_data.authority.locgenres_ld4l_cache.deletion_note", "property_label_default": "Deletion note", "ldpath": "madsrdf:deletionNote :: xsd:string", "selectable": false, "drillable": false } ] }, "subauthorities": { "active": "active", "deprecated": "deprecated" } } }