{
"QA_CONFIG_VERSION": "2.2",
"service_uri": "http://ld4l.org/ld4l_services/cache",
"prefixes": {
"dcterms": "http://purl.org/dc/terms/",
"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/fast_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": "dcterms:identifier ::xsd:string",
"label_ldpath": "skos:prefLabel ::xsd:string",
"altlabel_ldpath": "skos:altLabel ::xsd:string",
"sameas_ldpath": "rdfs:sameAs ::xsd:anyURI"
}
},
"search": {
"url": {
"@context": "http://www.w3.org/ns/hydra/context.jsonld",
"@type": "IriTemplate",
"template": "http://services.ld4l.org/ld4l_services/fast_batch.jsp?{?query}&{?entity}&{?maxRecords}&{?startRecord}&{?lang}",
"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"
}
]
},
"qa_replacement_patterns": {
"query": "query",
"subauth": "entity",
"start_record": "startRecord",
"requested_records": "maxRecords"
},
"total_count_ldpath": "vivo:count",
"results": {
"id_ldpath": "dcterms:identifier ::xsd:string",
"label_ldpath": "skos:prefLabel ::xsd:string",
"sort_ldpath": "vivo:rank ::xsd:string"
},
"subauthorities": {
"concept": "Concept",
"event": "Event",
"meeting": "Meeting",
"person": "Person",
"organization": "Organization",
"place": "Place",
"intangible": "Intangible",
"work": "Work"
}
}
}