private void ReadEndpointMetadata(SparqlEndpointConfigurationElement endpoint) { MetadataPath = _server.MapPath(endpoint.Metadata); if (!File.Exists(MetadataPath)) { throw new FileNotFoundException("Cannot find service metadata file"); } Map = new SparqlMap(MetadataPath, endpoint.DefaultNamespace, endpoint.NameMapping, endpoint.DefaultPropertyNamespace, endpoint.PropertyNameMapping); }