Changeset: f69ebb7d9f55 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f69ebb7d9f55
Modified Files:
        monetdb5/extras/rdf/rdfschema.c
        monetdb5/extras/rdf/rdfschema.h
Branch: rdf
Log Message:

fix delimiter in sample data, fix number of candidates that are printed


diffs (24 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
@@ -6501,7 +6501,7 @@ str printFullSampleData(CSSampleExtend *
                                if (tmpBat->ttype == TYPE_oid){ //URI or BLANK 
NODE  or MVCol
                                        objOid = (oid *) BUNtail(tmpi, k);
                                        if (*objOid == oid_nil){
-                                               fprintf(fout,";NULL");
+                                               fprintf(fout,"|NULL");
                                                fprintf(foutis,"|NULL");
                                        }
                                        else{
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
@@ -403,7 +403,7 @@ typedef struct CSPropTypes {
 
 #define NUM_SAMPLETABLE 20
 #define        NUM_SAMPLE_INSTANCE 10
-#define NUM_SAMPLE_CANDIDATE 999 // print all candidates
+#define NUM_SAMPLE_CANDIDATE 9
 #define SAMPLE_FILTER_THRESHOLD 10  // SAMPLE_FILTER_THRESHOLD/ 100    
 #define GETSAMPLE_BEFOREMERGING 1  // Get the sample data before merging CS's
 #define NUM_PROP_SUPPORT_SAMPLE 5 // how many properties should be added to 
the sample data because of a high support (excluding subject column)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to