char* name = RDF_GetSlotValue(rdf, node, gCoreVocab->RDF_name, RDF_STRING_TYPE, false, true); if (name != NULL) return name; return makeResourceName(node);
short l1 = strlen(pattern); short l2 = strlen(uuid); if (l2 < l1) return false; return (XP_STRNCASECMP(pattern, uuid, l1)  == 0);
PR_PUBLIC_API(char *)RDF_GetResourceName(RDF rdf, RDF_Resource node){  char* name = RDF_GetSlotValue(rdf, node, gCoreVocab->RDF_name, RDF_STRING_TYPE, false, true);  if (name != NULL) return name;  return makeResourceName(node);}