amalgame/commit
FIXED: misc left overs from map.pl refactoring
author | Jacco van Ossenbruggen |
---|---|
Fri Apr 3 16:15:55 2020 +0200 | |
committer | Jacco van Ossenbruggen |
Fri Apr 3 16:15:55 2020 +0200 | |
commit | 17f944e76733b652e7bff7412acad0aac84b07b4 |
tree | de41ef3225e0d486059387915825191352c0086d |
parent | ca4503d4b8922065a89b778025a348b3398862de |
Diff style: patch stat
diff --git a/api/correspondence.pl b/api/correspondence.pl index c7052fd..a101a9d 100644 --- a/api/correspondence.pl +++ b/api/correspondence.pl @@ -10,6 +10,7 @@ :- use_module(library(amalgame/mapping_graph)). :- use_module(library(amalgame/expand_graph)). +:- use_module(library(amalgame/correspondence)). :- use_module(components(amalgame/correspondence)). % http handlers @@ -65,7 +66,7 @@ find_correspondences(Mapping, Strategy, Source, Target, true, true, Cs):- findall(At, member(At, Ms), Ts) ), append(Ss, Ts, Cs0), - sort(Cs0, Cs). + sort_correspondences(source, Cs0, Cs). find_correspondences(Mapping, Strategy, Source, Target, AllSource, AllTarget, Cs):- % Other 3 cases: diff --git a/lib/ag_modules/preloaded_mapping.pl b/lib/ag_modules/preloaded_mapping.pl index 7db2035..66856f8 100644 --- a/lib/ag_modules/preloaded_mapping.pl +++ b/lib/ag_modules/preloaded_mapping.pl @@ -3,7 +3,7 @@ :- use_module(library(option)). :- use_module(library(semweb/rdf11)). :- use_module(library(semweb/rdfs)). -:- use_module(library(amalgame/correspondence)). +:- use_module(library(amalgame/mapping_graph)). :- use_module(library(amalgame/vocabulary)). :- public amalgame_module/1. diff --git a/lib/ag_modules/preloaded_selecter.pl b/lib/ag_modules/preloaded_selecter.pl index 6eace0c..28fa0b6 100644 --- a/lib/ag_modules/preloaded_selecter.pl +++ b/lib/ag_modules/preloaded_selecter.pl @@ -2,7 +2,7 @@ :- use_module(library(semweb/rdf11)). :- use_module(library(semweb/rdfs)). -:- use_module(library(amalgame/correspondence)). +:- use_module(library(amalgame/mapping_graph)). :- public amalgame_module/1. :- public selecter/5.