if (nu  && strstr(resourceID(nu), ".rdf")) {
if (nu  && startsWith("http", resourceID(nu)) && strstr(resourceID(nu), ".rdf")) {
nlocalStoreNextValue (RDFT rdf, RDF_Cursor c){  void* ans;  void* data;  if ((c == NULL) || (c->pdata == NULL)) return NULL;  if ((c->type == RDF_ARC_LABELS_IN_QUERY) || (c->type == RDF_ARC_LABELS_OUT_QUERY))     return  nlcStoreArcsInOutNextValue(rdf, c);  data = c->pdata;    while (c->count < c->size) {    DBMAs     nas = nthdbmas(data, c->count);    if (nas == NULL) break;    if ((c->tv == tvOfAs(nas)) && (c->type == valueTypeOfAs(nas))) {      if (c->type == RDF_RESOURCE_TYPE) {        RDF_Resource nu = RDF_GetResource(NULL, dataOfDBMAs(nas), 1);        if (nu  && strstr(resourceID(nu), ".rdf")) {          RDFL rl = rdf->rdf;          char* dburl = getBaseURL(resourceID(nu));          while (rl) {            RDF_AddDataSource(rl->rdf, dburl);            rl = rl->next;          }          freeMem(dburl);        }	ans = nu;	c->count =  dbmasSize(nas) + c->count;	return nu;      } else {	ans = dataOfDBMAs(nas);	c->count =  dbmasSize(nas) + c->count;	return ans;      }    }    c->count =  dbmasSize(nas) + c->count;  }  return NULL;}