{ "QA_CONFIG_VERSION": "2.0", "term": { "url": { "@context": "http://www.w3.org/ns/hydra/context.jsonld", "@type": "IriTemplate", "template": "{term_uri}", "variableRepresentation": "BasicRepresentation", "mapping": [ { "@type": "IriTemplateMapping", "variable": "term_uri", "property": "hydra:freetextQuery", "required": true, "encode": false } ] }, "qa_replacement_patterns": { "term_id": "term_uri" }, "term_id": "URI", "results": { "label_predicate": "http://www.geonames.org/ontology#name", "altlabel_predicate": "http://www.geonames.org/ontology#countryCode", "broader_predicate": "http://www.geonames.org/ontology#parentFeature", "sameas_predicate": "http://www.w3.org/2000/01/rdf-schema#seeAlso" } }, "search": { "url": { "@context": "http://www.w3.org/ns/hydra/context.jsonld", "@type": "IriTemplate", "template": "http://api.geonames.org/search?q={query}&maxRows={maximumRecords}&{?username}&type=rdf", "variableRepresentation": "BasicRepresentation", "mapping": [ { "@type": "IriTemplateMapping", "variable": "query", "property": "hydra:freetextQuery", "required": true }, { "@type": "IriTemplateMapping", "variable": "username", "property": "hydra:freetextQuery", "required": false, "default": "YOUR_GEONAMES_USERNAME" }, { "@type": "IriTemplateMapping", "variable": "maximumRecords", "property": "hydra:freetextQuery", "required": false, "default": "10" } ] }, "qa_replacement_patterns": { "query": "query" }, "language": ["en"], "results": { "label_predicate": "http://www.geonames.org/ontology#name", "altlabel_predicate": "http://www.geonames.org/ontology#countryCode", "sort_predicate": "http://www.geonames.org/ontology#name" } } }