Skip to content

Commit

Permalink
[Upd] Debug info about loaded queries
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Dec 5, 2021
1 parent 99a30d4 commit ad7a188
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void loadConfiguration() {
// TODO does not work with string query as object is not RDF resource ???
constructQueries = getResourcesByProperty(SML.constructQuery);

LOG.debug("Loading spin constuct queries ... " + constructQueries);
LOG.debug("Loaded {} spin construct queries.", constructQueries.size());

//TODO default value must be taken from template definition
isReplace = this.getPropertyValue(SML.replace, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import cz.cvut.spipes.engine.ExecutionContextFactory;
import cz.cvut.spipes.util.JenaUtils;
import cz.cvut.spipes.util.QueryUtils;
import java.util.List;
import org.apache.jena.query.Query;
import org.apache.jena.query.QueryFactory;
import org.apache.jena.query.QuerySolution;
Expand All @@ -20,6 +19,8 @@
import org.topbraid.spin.system.SPINModuleRegistry;
import org.topbraid.spin.vocabulary.SP;

import java.util.List;

public abstract class ApplyConstructAbstractModule extends AnnotatedAbstractModule {

private static final Logger LOG = LoggerFactory.getLogger(ApplyConstructAbstractModule.class);
Expand Down Expand Up @@ -174,7 +175,7 @@ public void loadConfiguration() {
// TODO does not work with string query as object is not RDF resource ???
constructQueries = getResourcesByProperty(SML.constructQuery);

LOG.debug("Loading spin constuct queries ... " + constructQueries);
LOG.debug("Loaded {} spin construct queries.", constructQueries.size());

//TODO default value must be taken from template definition
isReplace = this.getPropertyValue(SML.replace, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void loadConfiguration() {
.map(st -> st.getObject().asResource())
.collect(Collectors.toList());

LOG.debug("Loading spin constuct queries ... " + constructQueries);
LOG.debug("Loaded {} spin construct queries.", constructQueries.size());

//TODO default value must be taken from template definition
isReplace = this.getPropertyValue(SML.replace, false);
Expand Down

0 comments on commit ad7a188

Please sign in to comment.