amalgame/commit

serve node stats if available on startup of builder

authorJacco van Ossenbruggen
Wed Sep 17 17:15:53 2014 +0200
committerJacco van Ossenbruggen
Wed Sep 17 17:15:53 2014 +0200
commit0c55b3918581ce5f161f84c6087cf9db18887326
tree14f75bb8e15e41b084f48a62437343f7e0cdafc2
parent00a55b31bbc0eccde8bd66ffce4f838a9721e242
Diff style: patch stat
diff --git a/lib/amalgame/json_util.pl b/lib/amalgame/json_util.pl
index 9160765..aba3c03 100644
--- a/lib/amalgame/json_util.pl
+++ b/lib/amalgame/json_util.pl
@@ -116,6 +116,8 @@ node_prop(S, R, label, Label) :-
 	;   rdf_display_label(R, Lit)
 	),
 	literal_text(Lit, Label).
+node_prop(S, R, stats, Stats) :-
+	node_stats(S,R,Stats, [compute(false)]).
 node_prop(_S, R, type, Type) :-
 	(   rdfs_individual_of(R, amalgame:'AlignmentStrategy')
 	->  Type = strategy