amalgame/commit
lib/amalgame/scheme_stats.pl rdf11
author | Jacco van Ossenbruggen |
---|---|
Wed Feb 26 16:49:02 2020 +0100 | |
committer | Jacco van Ossenbruggen |
Wed Feb 26 16:49:02 2020 +0100 | |
commit | daf8f71b81ec10812cbdbcd56383d9d1f6bcf40b |
tree | 1b3d0854891338b6f09d46a7296d30fcedd20931 |
parent | aac986dff7842d40ea030264405c11293fad2c3d |
Diff style: patch stat
diff --git a/lib/amalgame/scheme_stats.pl b/lib/amalgame/scheme_stats.pl index e2b6756..cda915f 100644 --- a/lib/amalgame/scheme_stats.pl +++ b/lib/amalgame/scheme_stats.pl @@ -8,7 +8,7 @@ :- use_module(library(assoc)). :- use_module(library(lists)). :- use_module(library(pairs)). -:- use_module(library(semweb/rdf_db)). +:- use_module(library(semweb/rdf11)). :- use_module(library(semweb/rdf_label)). :- use_module(library(skos/util)). :- use_module(library(stat_lists)). @@ -190,7 +190,7 @@ find_subvoc_version(Voc, SuperVoc, Version) :- ). find_voc_revision(Voc, Version) :- - rdf(_, skos:inScheme, Voc, SourceGraph:_),!, + rdf(_, skos:inScheme, Voc, SourceGraph),!, prov_get_entity_version(Voc, SourceGraph, Version). find_voc_revision(Voc, Version) :- rdf(Voc, amalgame:graph, SourceGraph), !,