accurator/commit
Unloading export graph after use.
author | Chris Dijkshoorn |
---|---|
Tue May 3 10:47:48 2016 +0200 | |
committer | Chris Dijkshoorn |
Tue May 3 10:47:48 2016 +0200 | |
commit | e300a23973c1171148934b86efc04cc23e082d67 |
tree | 13af54324faffa3bee77e93ca6ad1665e6d7ee43 |
parent | dca11ab4d5b1c0c5ca59249f9f3a720d70b65e67 |
Diff style: patch stat
diff --git a/lib/accurator/review.pl b/lib/accurator/review.pl index 547a43c..a7d618c 100644 --- a/lib/accurator/review.pl +++ b/lib/accurator/review.pl @@ -94,9 +94,9 @@ select_annotations(domain, Domain, User, Annotations) :- % % Export a list of annotations. export_annotations(Graph, Annotations) :- - rdf_unload_graph(Graph), maplist(add_annotation(Graph), Annotations), - rdf_save_turtle(Graph, [graph(Graph)]). + rdf_save_turtle(Graph, [graph(Graph)]), + rdf_unload_graph(Graph). %% add_annotation(Graph, Annotation) %