amalgame/commit

pldoc: fixed missing argument for all_mapped in pldoc

authorJacco van Ossenbruggen
Wed Oct 19 09:34:02 2016 +0200
committerJacco van Ossenbruggen
Wed Oct 19 09:34:02 2016 +0200
commit24998dc87cbcc086786a2ee8c83596b99db51bf8
tree813f1538624136c400280e231c593eb4fbdd9302
parentaef09c6e5acb5aaf13c52e38b828fefeea3d826c
Diff style: patch stat
diff --git a/lib/amalgame/caching.pl b/lib/amalgame/caching.pl
index 2ff844e..381fd0f 100644
--- a/lib/amalgame/caching.pl
+++ b/lib/amalgame/caching.pl
@@ -153,7 +153,7 @@ amalgame_computed_node(Strategy, Id) :-
 	rdfs_individual_of(Id,  amalgame:'Process'),
 	rdf(Id, rdf:type, _, Strategy).
 amalgame_computed_node(Strategy, Id) :-
-	rdf(Id, rdf:type, skos:'ConceptScheme', Strategy), fail. % change to true to flush cache
+	rdf(Id, rdf:type, skos:'ConceptScheme', Strategy), true. % change to true to flush cache
 
 %%	flush_expand_cache(+Strategy)
 %
diff --git a/lib/amalgame/expand_graph.pl b/lib/amalgame/expand_graph.pl
index 9d0436c..d66978c 100644
--- a/lib/amalgame/expand_graph.pl
+++ b/lib/amalgame/expand_graph.pl
@@ -65,7 +65,8 @@ precompute_node(Strategy, Mapping) :-
 	    ),
 	    _,[ detached(true) ]).
 
-%%	all_mapped(+Strategy, +Type, +Mapping, -Concepts) is semidet.
+%%	all_mapped(+Strategy, +Type, +Mapping, -Concepts, -Sorted) is
+%	semidet.
 %
 %	True if Concepts are all sources/targets in the correspondences
 %	of Mapping. Type is either source or target.