Open sahil1105 opened 5 years ago
added ability to export as asp facts in both simple and triples format with v0.0.14 Working on feature to recreate pws_rel_df, rels, pw_objs from these two formats.
Now that I think about it, do we need ability to recreate original pws_rel_dfs, rels, pw_objs from the two formats? What use case would this be useful in where you do not already have the originals in the first place?
Need to support export of wfs models to these two formats as well.
eg. for simple -> col(TRUE, 1, 2, blue). col(UNDEFINED, 1, 5, red).
for triples -> triples(17, rel, col). triples(17, wfs/3val, TRUE). triples(17, 1, 1). triples(17,2,2). triples(17,3,blue).
In triples export mode, also add option to refer to the index by known column name from schema.
eg. triples(17, rel, col). triples(17, pw_id, 2). triples(17, NODE_ID1, 1). triples(17, NODE_ID2, 5). triples(17, COLOR, red).
the above two features have been added in v0.0.17
Part of "close the loop"/"round tripping" effort, where we can output the PWs from one experiment into clingo/dlv files, that can be used in subsequent experiments. Two types of exports:
Also implement ability to extract information from the triple or simple form (for instance after reading them in as DFs, have aggregate/group by operations to recreate original DFs, to avoid recursive explosion).