Changeset: 5e0a4956192a for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5e0a4956192a Modified Files: monetdb5/extras/rdf/rdfschema.c monetdb5/extras/rdf/rdfschema.h Branch: rdf Log Message:
Set the right parameter for MINIMUM_TABLE_SIZE diffs (40 lines): diff --git a/monetdb5/extras/rdf/rdfschema.c b/monetdb5/extras/rdf/rdfschema.c --- a/monetdb5/extras/rdf/rdfschema.c +++ b/monetdb5/extras/rdf/rdfschema.c @@ -3265,7 +3265,7 @@ void generatecsRelSum(CSrel csRel, int f p = csRel.lstPropId[i]; bun = BUNfnd(BATmirror(propStat->pBat),(ptr) &p); assert(bun != BUN_NONE); - printf("Prop " BUNFMT "Prop TFIDF score in S5 is %f \n",p, propStat->tfidfs[bun]); + //printf("Prop " BUNFMT "Prop TFIDF score in S5 is %f \n",p, propStat->tfidfs[bun]); if (propStat->tfidfs[bun] > MIN_TFIDF_PROP_S5){ propIdx = 0; @@ -3277,6 +3277,7 @@ void generatecsRelSum(CSrel csRel, int f csRelSum->freqIdList[propIdx][refIdx] = csRel.lstRefFreqIdx[i]; csRelSum->numPropRef[propIdx]++; + /* if (csRelSum->numPropRef[propIdx] > 1){ int j; int toFreqId; @@ -3287,6 +3288,7 @@ void generatecsRelSum(CSrel csRel, int f } printf("Will be merged with S5: Refer from freqCS %d (freq:%d | cov: %d) with prop "BUNFMT" --> numRef = %d \n", freqId,freq, freqCSset->items[freqId].coverage, csRelSum->lstPropId[propIdx],csRel.lstCnt[i]); } + */ } } } diff --git a/monetdb5/extras/rdf/rdfschema.h b/monetdb5/extras/rdf/rdfschema.h --- a/monetdb5/extras/rdf/rdfschema.h +++ b/monetdb5/extras/rdf/rdfschema.h @@ -250,7 +250,7 @@ typedef struct SubCSSet{ // This is for preventing the case of webpageID link in dbpedia //#define MIN_FROMTABLE_SIZE_S5 1 /* For example data */ -#define MINIMUM_TABLE_SIZE 10 //The minimum number of triples coverred by a table (i.e., a final CS) +#define MINIMUM_TABLE_SIZE 10000 //The minimum number of triples coverred by a table (i.e., a final CS) //#define MINIMUM_TABLE_SIZE 1 // For example dataset only #define HIGH_REFER_THRESHOLD 5 _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list