From 65294ef93b892ec1cd296c3778b24d35222db679 Mon Sep 17 00:00:00 2001 From: Tim Prudhomme Date: Sat, 22 Jun 2024 19:37:42 -0400 Subject: [PATCH] Move SPARQL CONSTRUCTs to separate folder --- src/Makefile | 19 ++++++++++--------- src/sparql/{ => constructs}/prov-triples.rq | 0 2 files changed, 10 insertions(+), 9 deletions(-) rename src/sparql/{ => constructs}/prov-triples.rq (100%) diff --git a/src/Makefile b/src/Makefile index 8211c0a..76f5e91 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,13 +17,14 @@ config.DEV_IRI := $(config.ONTOLOGY-IRI)/dev config.MODULES_IRI := $(config.DEV_IRI)/modules # Local project directories -config.SOURCE_DIR := / -config.TEMP_DIR := build/artifacts -config.RELEASE_DIR := / -config.REPORTS_DIR := $(config.TEMP_DIR) -config.QUERIES_DIR := sparql -config.IMPORTS_DIR := imports -config.LIBRARY_DIR := ../build/lib +config.SOURCE_DIR := / +config.TEMP_DIR := build/artifacts +config.RELEASE_DIR := / +config.REPORTS_DIR := $(config.TEMP_DIR) +config.QUERIES_DIR := sparql +config.CONSTRUCT_QUERIES_DIR := sparql/construct +config.IMPORTS_DIR := imports +config.LIBRARY_DIR := ../build/lib # Settings # These will cause targets run by a Github Action to fail, if desired @@ -80,10 +81,10 @@ inferred-mappings: deductive-diff: $(ROBOT) remove --input $(EDITOR_BUILD_FILE) --select individuals \ reason --reasoner HermiT --axiom-generators $(AXIOM_GENERATORS) --include-indirect true \ - query --query $(config.QUERIES_DIR)/prov-triples.rq $(config.TEMP_DIR)/new-prov-triples.ttl --use-graph true + query --query $(config.CONSTRUCT_QUERIES_DIR)/prov-triples.rq $(config.TEMP_DIR)/new-prov-triples.ttl --use-graph true $(ROBOT) reason --input $(config.IMPORTS_DIR)/PROV/prov-ontologies.ttl --reasoner HermiT --axiom-generators $(AXIOM_GENERATORS) --include-indirect true \ - query --query $(config.QUERIES_DIR)/prov-triples.rq $(config.TEMP_DIR)/old-prov-triples.ttl --use-graph true + query --query $(config.CONSTRUCT_QUERIES_DIR)/prov-triples.rq $(config.TEMP_DIR)/old-prov-triples.ttl --use-graph true $(ROBOT) diff --left $(config.TEMP_DIR)/old-prov-triples.ttl --right $(config.TEMP_DIR)/new-prov-triples.ttl --output $(config.TEMP_DIR)/deductive-diff.txt diff --git a/src/sparql/prov-triples.rq b/src/sparql/constructs/prov-triples.rq similarity index 100% rename from src/sparql/prov-triples.rq rename to src/sparql/constructs/prov-triples.rq