Beispiel #1
0
 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);
 }
 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);
 }