-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: invalid view query during publishing
- Loading branch information
Showing
15 changed files
with
1,029 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@view-builder/api": patch | ||
--- | ||
|
||
When publishing views, there was an invalid query being generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
<> a | ||
<https://cube.link/view/View>, | ||
</api/View> ; | ||
schema:sameAs <https://ld.stadt-zuerich.ch/statistics/view/BEV353OD3531> ; | ||
schema:author <https://view-builder.ld.integ.stadt-zuerich.ch/user/sszmop> ; | ||
<https://cube.link/view/dimension> | ||
[ | ||
rdf:type <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/measure/ZUZ> ; | ||
] ; | ||
rdfs:label | ||
"Measure Zuzüge von Personen (wirtschaftlich) (Zuzüge von Personen (wirtschaftlich) nach Alter (20-Jahres-Altersklasse80), Herkunft und Geschlecht, gemessen nach Ereignisdatum)" ; | ||
<https://view-builder.described.at/generated> true ; | ||
], | ||
_:genid-ca5f09348634420db5e962546edc79a2-3B61177AC6B4C6D3F94321A240DDAFDA, | ||
_:genid-ca5f09348634420db5e962546edc79a2-7C780A7C073A806916F63CD4B645AF36, | ||
[ | ||
rdf:type <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/property/ALT> ; | ||
] ; | ||
rdfs:label "Key Alter" ; | ||
<https://view-builder.described.at/generated> true ; | ||
], | ||
[ | ||
rdf:type <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/property/SEX> ; | ||
] ; | ||
rdfs:label "Key Geschlecht" ; | ||
<https://view-builder.described.at/generated> true ; | ||
], | ||
[ | ||
rdf:type <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/property/HEL> ; | ||
] ; | ||
rdfs:label "Key Heimatland" ; | ||
<https://view-builder.described.at/generated> true ; | ||
], | ||
[ | ||
rdf:type <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/property/ZEK> ; | ||
] ; | ||
rdfs:label "Key Zeitkonzept" ; | ||
<https://view-builder.described.at/generated> true ; | ||
] ; | ||
<https://view-builder.described.at/publish> true ; | ||
schema:name "Zuzüge von auswärts nach Tag, Stadtquartier, Geschlecht, Altersgruppe und Herkunft" ; | ||
schema:alternateName "BEV353OD3531" ; | ||
<https://cube.link/view/projection> | ||
[ | ||
<https://cube.link/view/limit> 100 ; | ||
] ; | ||
<https://view-builder.described.at/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/filter> | ||
[ | ||
rdf:type <https://cube.link/view/Filter> ; | ||
rdfs:label "Raum is one of \"QuartiereZH\"" ; | ||
<https://view-builder.described.at/baseDimension> | ||
_:genid-ca5f09348634420db5e962546edc79a2-7C780A7C073A806916F63CD4B645AF36 ; | ||
<https://view-builder.described.at/filterTermSet> <https://ld.stadt-zuerich.ch/statistics/termset/QuartiereZH> ; | ||
<https://view-builder.described.at/drillDownProperty> schema:name ; | ||
], | ||
[ | ||
rdf:type <https://cube.link/view/Filter> ; | ||
rdfs:label "Zeit is one of \"Tag\"" ; | ||
<https://view-builder.described.at/baseDimension> | ||
_:genid-ca5f09348634420db5e962546edc79a2-3B61177AC6B4C6D3F94321A240DDAFDA ; | ||
<https://view-builder.described.at/filterTermSet> <https://ld.stadt-zuerich.ch/statistics/termset/Tag> ; | ||
<https://view-builder.described.at/drillDownProperty> schema:name ; | ||
], | ||
[ | ||
rdf:type <https://cube.link/view/Filter> ; | ||
rdfs:label "Zeit is one of \"Periode\"" ; | ||
<https://view-builder.described.at/baseDimension> | ||
_:genid-ca5f09348634420db5e962546edc79a2-3B61177AC6B4C6D3F94321A240DDAFDA ; | ||
<https://view-builder.described.at/filterTermSet> <https://ld.stadt-zuerich.ch/statistics/termset/Periode> ; | ||
<https://view-builder.described.at/drillDownProperty> schema:name ; | ||
] ; | ||
schema:isBasedOn <https://ld.stadt-zuerich.ch/statistics/meta/object/640> ; | ||
<https://ld.stadt-zuerich.ch/schema/metadataCreator> <https://view-builder.ld.integ.stadt-zuerich.ch/user/sszmop> . | ||
|
||
_:genid-ca5f09348634420db5e962546edc79a2-3B61177AC6B4C6D3F94321A240DDAFDA a <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/property/ZEIT> ; | ||
] ; | ||
rdfs:label "Key Zeit" ; | ||
<https://view-builder.described.at/generated> true . | ||
|
||
_:genid-ca5f09348634420db5e962546edc79a2-7C780A7C073A806916F63CD4B645AF36 a <https://cube.link/view/Dimension> ; | ||
<https://cube.link/view/from> | ||
[ | ||
<https://cube.link/view/source> | ||
<#source-GSAFVdiQxRnKyjdbADwAT> ; | ||
<https://cube.link/view/path> <https://ld.stadt-zuerich.ch/statistics/property/RAUM> ; | ||
] ; | ||
rdfs:label "Key Raum" ; | ||
<https://view-builder.described.at/generated> true . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
"author": "Zazuko GmbH <[email protected]>", | ||
"repository": "https://github.com/zazuko/ssz-view-builder", | ||
"dependencies": { | ||
"@hydrofoil/knossos": "^0.9.6", | ||
"@hydrofoil/knossos": "^0.9.11", | ||
"@hydrofoil/talos": "^0.6.2", | ||
"compression": "^1.7.4", | ||
"express": "^4.17.1", | ||
|
@@ -40,12 +40,12 @@ | |
"url-state": "3.0.2" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.25.2", | ||
"@changesets/cli": "^2.26.2", | ||
"@open-wc/eslint-config": "^8.0.2", | ||
"@tpluscode/eslint-config": "^0.3.0", | ||
"@tpluscode/eslint-config": "^0.4.4", | ||
"@types/sparql-http-client": "^2.2.7", | ||
"@typescript-eslint/eslint-plugin": "^5.35.1", | ||
"@typescript-eslint/parser": "^5.35.1", | ||
"@typescript-eslint/eslint-plugin": "^6.7.4", | ||
"@typescript-eslint/parser": "^6.7.4", | ||
"c8": "^7.12.0", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-snapshot-matcher": "^2.0.3", | ||
|
@@ -58,6 +58,7 @@ | |
"eslint-plugin-n": "^15.2.5", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-require-extensions": "^0.1.3", | ||
"eslint-plugin-wc": "^1.3.2", | ||
"husky": "^8.0.1", | ||
"lint-staged": "^13.0.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { createEnv } from '@rdfine/env' | ||
import { ShFactory } from '@rdfine/shacl/Factory' | ||
|
||
export default createEnv( | ||
ShFactory, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.