We should make an inserter that takes a JSON file and can load multiple predicates.
This interface can be flexible, but will not be efficient (we will not be able to use bluk copying operations).
This one will be a bit different than normal because we cannot use a standard Inserter (those are bound to a predicate and partition).
So we will probably have to attach this method directly to a DataStore.
In the object, we will need to define:
Predicate
Partition
Args
Maybe Truth Value
For the truth value, we can probably allow a mix of allowing truth values or not.
Issue by eriq-augustine Wednesday May 02, 2018 at 16:30 GMT Originally opened as https://github.com/eriq-augustine/psl/issues/163
We should make an inserter that takes a JSON file and can load multiple predicates. This interface can be flexible, but will not be efficient (we will not be able to use bluk copying operations).
This one will be a bit different than normal because we cannot use a standard Inserter (those are bound to a predicate and partition). So we will probably have to attach this method directly to a DataStore.
In the object, we will need to define:
For the truth value, we can probably allow a mix of allowing truth values or not.