amalgame/commit

reference alignments default to status final

authorJacco van Ossenbruggen
Fri Jun 28 12:36:43 2013 +0200
committerJacco van Ossenbruggen
Fri Jun 28 12:36:43 2013 +0200
commita9ad8bfad14e264b294c00e4f896f08c2596305f
tree510d10c501956e761697b2c36645236f153cebbd
parent4cf5797381465a6c74979a9a000ee6ebd2031eea
Diff style: patch stat
diff --git a/lib/amalgame/ag_evaluation.pl b/lib/amalgame/ag_evaluation.pl
index 1383c3a..6ef1985 100644
--- a/lib/amalgame/ag_evaluation.pl
+++ b/lib/amalgame/ag_evaluation.pl
@@ -36,7 +36,9 @@ create_evaluation_graph(Strategy, Mapping, EvalGraph) :-
 	rdf_assert(EvalGraph, rdf:type,     amalgame:'EvaluatedMapping',      Strategy),
 	rdf_assert(EvalGraph, rdfs:label,   literal('Evaluation results'),    Strategy),
 	rdf_assert(EvalGraph, amalgame:wasGeneratedBy, EvalProcess,           Strategy),
-	rdf_assert(EvalGraph, amalgame:status,	       amalgame:intermediate, Strategy),
+
+	% defaults to final status so it gets saved by default:
+	rdf_assert(EvalGraph, amalgame:status, amalgame:final, Strategy),
 
 	(   setting(amalgame:reference_alignment, mapping)
 	->  format(atom(Comment), 'Manual evaluation of ~p', [Mapping]),