if (!gURL) { gURL = (RDF_Resource)fgetMem(sizeof(RDF_ResourceStruct)); gURL->url = fcopyString("URL"); HashAdd(resourceHash, gURL->url, gURL); } remoteStoreAdd(NULL, existing, gURL, existing->url, RDF_STRING_TYPE,1);
getResource (char* key, int createp) {  RDF_Resource existing = (RDF_Resource) HashLookup(resourceHash, key);  if (existing) {    return existing;  } else if (createp){    existing = (RDF_Resource)fgetMem(sizeof(RDF_ResourceStruct));    existing->url = fcopyString(key);    HashAdd(resourceHash, existing->url, existing);    return existing;  } else return NULL;}