amalgame/commit

do not save empty evidence lists as empty bnodes ...

authorJacco van Ossenbruggen
Wed Aug 14 14:21:10 2013 +0200
committerJacco van Ossenbruggen
Wed Aug 14 14:21:10 2013 +0200
commit6e61b1b0e66404f56979bdf181df70043f65a561
treea9d7fd8dd12180165fb8536584abc04736cebc00
parentb8f36fde67069df692f5fcc35d8007411caddad3
Diff style: patch stat
diff --git a/lib/amalgame/edoal.pl b/lib/amalgame/edoal.pl
index c090999..8a2f0c7 100644
--- a/lib/amalgame/edoal.pl
+++ b/lib/amalgame/edoal.pl
@@ -127,6 +127,8 @@ assert_provlist([], _, _,_).
 assert_provlist([P|ProvList], Cell, Graph, Options) :-
 	memberchk(method(direct), P), !,
 	assert_provlist(ProvList, Cell, Graph, Options).
+assert_provlist([[]|ProvList], Cell, Graph, Options) :-
+	assert_provlist(ProvList, Cell, Graph, Options).
 
 assert_provlist([P|ProvList], Cell, Graph, Options) :-
 	rdf_bnode(B),