Skip to content

Commit

Permalink
feat: add stage query
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Apr 26, 2024
1 parent 2ae9d27 commit 217bbe4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/resources/queries/stages.sparql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PREFIX jvm: <https://w3id.org/conn/jvm#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX fno: <https://w3id.org/function/ontology#>
PREFIX fnom: <https://w3id.org/function/vocabulary/mapping#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT
?processor
(group_concat(?key;separator=";") as ?keys)
(group_concat(?value;separator=";") as ?values)

WHERE {
?processor a jvm:Processor.
?stage a ?processor.
?stage ?key ?value.
FILTER (?key != "http://www.w3.org/1999/02/22-rdf-syntax-ns#type")
}

GROUP BY ?processor

0 comments on commit 217bbe4

Please sign in to comment.