private static object Execute(string name, Dictionary <string, string> values)
        {
            var endpoint = Resources.DB.Endpoints[name];

            if (endpoint.Type == EndpointType.HardCoded)
            {
                return(FixedQueryController.ExecuteHardCoded(name, values));
            }
            else
            {
                return(FixedQueryController.ExecuteNamedSparql(name, values));
            }
        }
        private static object Execute(string name, Dictionary <string, string> values)
        {
            var endpoint     = Resources.GetApiPathItem(name);
            var endpointType = Resources.GetEndpointType(endpoint);

            if (endpointType == EndpointType.HardCoded)
            {
                return(FixedQueryController.ExecuteHardCoded(name, values));
            }
            else
            {
                return(FixedQueryController.ExecuteNamedSparql(name, values));
            }
        }