-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
495 additions
and
24 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
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,3 @@ | ||
# Blueprint Trevas provenance | ||
|
||
Deployed [here](https://blueprint-trevas-provenance.lab.sspcloud.fr), in the `project-mekong` namespace. |
55 changes: 55 additions & 0 deletions
55
vtl-prov/docs/configuration/provenance/blueprint-class-metadata.ttl
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,55 @@ | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX schema: <http://schema.org/> | ||
PREFIX fluxShape: <https://ld.flux.zazuko.com/shapes/metadata/> | ||
PREFIX flux: <https://ld.flux.zazuko.com/> | ||
PREFIX fluxSchema: <https://flux.described.at/> | ||
PREFIX sdth: <http://rdf-vocabulary.ddialliance.org/sdth#> | ||
|
||
sdth:Program a rdfs:Class; | ||
rdfs:label "Program" ; | ||
rdfs:comment "SDTH Program" . | ||
|
||
flux:ProgramFluxClassInstance a fluxShape:ClassMetadataShape ; | ||
sh:targetNode sdth:Program ; | ||
rdfs:label "Program" ; | ||
rdfs:comment "SDTH Program" ; | ||
fluxSchema:faIcon "fas fa-screwdriver-wrench" ; | ||
fluxSchema:colorIndex 1 ; | ||
fluxSchema:searchPrio 1 . | ||
|
||
sdth:ProgramStep a rdfs:Class; | ||
rdfs:label "Program step" ; | ||
rdfs:comment "SDTH Program step" . | ||
|
||
flux:ProgramStepFluxClassInstance a fluxShape:ClassMetadataShape ; | ||
sh:targetNode sdth:ProgramStep ; | ||
rdfs:label "Program step" ; | ||
rdfs:comment "SDTH Program step" ; | ||
fluxSchema:faIcon "fas fa-calculator" ; | ||
fluxSchema:colorIndex 2 ; | ||
fluxSchema:searchPrio 2 . | ||
|
||
sdth:VariableInstance a rdfs:Class; | ||
rdfs:label "Variable instance" ; | ||
rdfs:comment "SDTH Variable instance" . | ||
|
||
flux:VariableInstanceFluxClassInstance a fluxShape:ClassMetadataShape ; | ||
sh:targetNode sdth:VariableInstance ; | ||
rdfs:label "Variable instance" ; | ||
rdfs:comment "SDTH Variable instance" ; | ||
fluxSchema:faIcon "fa-solid fa-subscript" ; | ||
fluxSchema:colorIndex 3 ; | ||
fluxSchema:searchPrio 3 . | ||
|
||
sdth:DataframeInstance a rdfs:Class; | ||
rdfs:label "Dataframe instance" ; | ||
rdfs:comment "SDTH Dataframe instance" . | ||
|
||
flux:DataframeInstanceFluxClassInstance a fluxShape:ClassMetadataShape ; | ||
sh:targetNode sdth:DataframeInstance ; | ||
rdfs:label "Dataframe instance" ; | ||
rdfs:comment "SDTH Dataframe instance" ; | ||
fluxSchema:faIcon "fas fa-table" ; | ||
fluxSchema:colorIndex 4 ; | ||
fluxSchema:searchPrio 4 . |
23 changes: 23 additions & 0 deletions
23
vtl-prov/docs/configuration/provenance/blueprint-detail-metadata.ttl
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,23 @@ | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX blueprintMetaShapes: <https://ld.flux.zazuko.com/shapes/metadata/> | ||
PREFIX blueprint: <https://flux.described.at/> | ||
PREFIX sdth: <http://rdf-vocabulary.ddialliance.org/sdth#> | ||
|
||
blueprintMetaShapes:LabelDetail a blueprintMetaShapes:ClassDetailShape ; | ||
rdfs:label "Name" ; | ||
sh:path rdfs:label ; | ||
sh:order 0 ; | ||
blueprint:showAs blueprintMetaShapes:Plain ; | ||
sh:targetClass sdth:Program ; | ||
sh:targetClass sdth:ProgramStep ; | ||
sh:targetClass sdth:VariableInstance ; | ||
sh:targetClass sdth:DataframeInstance . | ||
|
||
blueprintMetaShapes:SourceCodeDetail a blueprintMetaShapes:ClassDetailShape ; | ||
rdfs:label "Source code" ; | ||
sh:path sdth:hasSourceCode ; | ||
sh:order 1 ; | ||
blueprint:showAs blueprintMetaShapes:Plain ; | ||
sh:targetClass sdth:ProgramStep . |
51 changes: 51 additions & 0 deletions
51
vtl-prov/docs/configuration/provenance/blueprint-link-metadata.ttl
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,51 @@ | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX fluxShape: <https://ld.flux.zazuko.com/shapes/metadata/> | ||
PREFIX flux: <https://ld.flux.zazuko.com/> | ||
PREFIX fluxSchema: <https://flux.described.at/> | ||
PREFIX prov: <http://www.w3.org/ns/prov#> | ||
PREFIX sdth: <http://rdf-vocabulary.ddialliance.org/sdth#> | ||
|
||
flux:ProgramToProgramStep a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "has program step" ; | ||
sh:path sdth:hasProgramStep; | ||
sh:class sdth:ProgramStep ; | ||
sh:targetClass sdth:Program . | ||
|
||
flux:ProgramStepToDataframeInstanceConsumes a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "consumes Dataframe" ; | ||
sh:path sdth:consumesDataframe; | ||
sh:class sdth:DataframeInstance ; | ||
sh:targetClass sdth:ProgramStep . | ||
|
||
flux:ProgramStepToDataframeInstanceProduces a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "produces Dataframe" ; | ||
sh:path sdth:producesDataframe; | ||
sh:class sdth:DataframeInstance ; | ||
sh:targetClass sdth:ProgramStep . | ||
|
||
flux:ProgramStepToVariableInstance a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "uses variable" ; | ||
sh:path sdth:usesVariable; | ||
sh:class sdth:ProgramStep ; | ||
sh:targetClass sdth:VariableInstance . | ||
|
||
flux:DataframeInstanceToVariableInstance a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "has variable instance" ; | ||
sh:path sdth:hasVariableInstance; | ||
sh:class sdth:VariableInstance ; | ||
sh:targetClass sdth:DataframeInstance . | ||
|
||
flux:DataframeInstanceToDataframeInstance a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "was derived from" ; | ||
sh:path sdth:wasDerivedFrom; | ||
sh:class sdth:DataframeInstance ; | ||
sh:targetClass sdth:DataframeInstance . | ||
|
||
flux:VariableInstanceToVariableInstance a sh:PropertyShape, fluxSchema:Link ; | ||
sh:name "was derived from" ; | ||
sh:path sdth:wasDerivedFrom; | ||
sh:class sdth:VariableInstance ; | ||
sh:targetClass sdth:VariableInstance . | ||
|
||
|
27 changes: 27 additions & 0 deletions
27
vtl-prov/docs/configuration/provenance/kubernetes/blueprint/deployment.yml
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,27 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: blueprint-trevas-provenance | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: blueprint-trevas-provenance | ||
template: | ||
metadata: | ||
labels: | ||
app: blueprint-trevas-provenance | ||
spec: | ||
containers: | ||
- name: blueprint-trevas-provenance | ||
image: ghcr.io/zazuko/blueprint:dev-main-20240626132259 | ||
imagePullPolicy: IfNotPresent | ||
env: | ||
- name: ENDPOINT_URL | ||
value: "https://trifid-trevas-provenance.lab.sspcloud.fr/query" | ||
- name: SPARQL_CONSOLE_URL | ||
value: "https://trifid-trevas-provenance.lab.sspcloud.fr/sparql/#query" | ||
- name: GRAPH_EXPLORER_URL | ||
value: "https://trifid-trevas-provenance.lab.sspcloud.fr/graph-explorer/?resource" | ||
- name: FULL_TEXT_SEARCH_DIALECT | ||
value: "fuseki" |
21 changes: 21 additions & 0 deletions
21
vtl-prov/docs/configuration/provenance/kubernetes/blueprint/ingress.yml
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,21 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: blueprint-trevas-provenance | ||
annotations: | ||
spec.ingressClassName: nginx | ||
spec: | ||
tls: | ||
- hosts: | ||
- blueprint-trevas-provenance.lab.sspcloud.fr | ||
rules: | ||
- host: blueprint-trevas-provenance.lab.sspcloud.fr | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: blueprint-trevas-provenance | ||
port: | ||
number: 80 |
11 changes: 11 additions & 0 deletions
11
vtl-prov/docs/configuration/provenance/kubernetes/blueprint/service.yml
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,11 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: blueprint-trevas-provenance | ||
spec: | ||
ports: | ||
- name: http | ||
targetPort: 80 | ||
port: 80 | ||
selector: | ||
app: blueprint-trevas-provenance |
27 changes: 27 additions & 0 deletions
27
vtl-prov/docs/configuration/provenance/kubernetes/trifid/deployment.yml
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,27 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: trifid-trevas-provenance | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: trifid-trevas-provenance | ||
template: | ||
metadata: | ||
labels: | ||
app: trifid-trevas-provenance | ||
spec: | ||
containers: | ||
- name: trifid | ||
image: ghcr.io/zazuko/trifid:v5 | ||
imagePullPolicy: IfNotPresent | ||
env: | ||
- name: SPARQL_ENDPOINT_URL | ||
value: "https://projet-mekong-882672.user.lab.sspcloud.fr/trevas-provenance/query" | ||
- name: DATASET_BASE_URL | ||
value: "https://rdf.insee.fr/" | ||
- name: SPARQL_USER | ||
value: "admin" | ||
- name: SPARQL_PASSWORD | ||
value: "constances" |
21 changes: 21 additions & 0 deletions
21
vtl-prov/docs/configuration/provenance/kubernetes/trifid/ingress.yml
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,21 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: trifid-trevas-provenance | ||
annotations: | ||
spec.ingressClassName: nginx | ||
spec: | ||
tls: | ||
- hosts: | ||
- trifid-trevas-provenance.lab.sspcloud.fr | ||
rules: | ||
- host: trifid-trevas-provenance.lab.sspcloud.fr | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: trifid-trevas-provenance | ||
port: | ||
number: 8080 |
11 changes: 11 additions & 0 deletions
11
vtl-prov/docs/configuration/provenance/kubernetes/trifid/service.yml
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,11 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: trifid-trevas-provenance | ||
spec: | ||
ports: | ||
- name: http | ||
targetPort: 8080 | ||
port: 8080 | ||
selector: | ||
app: trifid-trevas-provenance |
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.