Skip to content

Commit

Permalink
Additional spec tests for sparql 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jitsedesmet committed Jan 15, 2025
1 parent 3a4c48f commit 5dcbd58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion engines/engine-sparql-1-1-adjust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
"build:transpile": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --bundle --log-level=error --outfile=lib/index.cjs lib/index.ts",
"build:transpile-spec": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --platform=node --bundle --log-level=error --outfile=spec/parser.cjs spec/parser.ts",
"spec:base": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/",
"spec:adjust-spec-tests": "rdf-test-suite spec/parser.cjs https://raw.githubusercontent.com/kasei/sparql-12/xsd_datetime_duration/tests/xsd_functions/manifest.ttl -c ../../.rdf-test-suite-cache/",
"spec:query": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/",
"spec:update": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/",
"spec:earl:query": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl",
"spec:earl:update": "yarn spec:update --silent -- -o earl -p spec/earl-meta.json > spec/earl-update.ttl",
"spec:all": "yarn spec:base && yarn spec:query && yarn spec:update",
"spec:all": "yarn spec:base && yarn spec:query && yarn spec:update && yarn spec:adjust-spec-tests",
"spec:earl": "yarn spec:earl:query && yarn spec:earl:update"
},
"dependencies": {
Expand Down
14 changes: 8 additions & 6 deletions engines/engine-sparql-1-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
"build:transpile": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --bundle --log-level=error --outfile=lib/index.cjs lib/index.ts",
"build:transpile-spec": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --platform=node --bundle --log-level=error --outfile=spec/parser.cjs spec/parser.ts",
"spec:base": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/",
"spec:query": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/",
"spec:update": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/",
"spec:earl:query": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl",
"spec:earl:update": "yarn spec:update --silent -- -o earl -p spec/earl-meta.json > spec/earl-update.ttl",
"spec:all": "yarn spec:base && yarn spec:query && yarn spec:update",
"spec:base-1-1": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/",
"spec:base-1-2": "rdf-test-suite spec/parser.cjs https://w3c.github.io/rdf-tests/sparql/sparql12/manifest.ttl -c ../../.rdf-test-suite-cache/",
"spec:query-1-1": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/",
"spec:query-1-2": "yarn run spec:base-1-2",
"spec:update-1-1": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/",
"spec:earl:query-1-1": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl",
"spec:earl:update-1-1": "yarn spec:update --silent -- -o earl -p spec/earl-meta.json > spec/earl-update.ttl",
"spec:all": "yarn spec:base-1-1 && yarn spec:base-1-2",
"spec:earl": "yarn spec:earl:query && yarn spec:earl:update"
},
"dependencies": {
Expand Down

0 comments on commit 5dcbd58

Please sign in to comment.