Merge pull request #332 from lblod/fix/boolean

Fix/boolean
This commit is contained in:
Laurent Deketelaere
2024-01-19 12:49:09 +01:00
committed by GitHub
3 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
DELETE {
GRAPH ?g {
?s ?p ?o .
}
} INSERT {
GRAPH ?g {
?s ?p ?newLiteral .
}
} WHERE {
GRAPH ?g {
?s ?p ?o .
FILTER (datatype(?o) = <http://mu.semte.ch/vocabularies/typed-literals/boolean>)
BIND (STRDT(STR(?o), xsd:boolean) AS ?newLiteral)
}
}

View File

@@ -11,6 +11,9 @@
(defparameter *supply-cache-headers-p* t)
(defparameter sparql:*experimental-no-application-graph-for-sudo-select-queries* t)
; use xsd:boolean instead of custom datatype
(defparameter *use-custom-boolean-type-p* nil)
(read-domain-file "domain.json")
(read-domain-file "auth.json")
(read-domain-file "change-events.json")

View File

@@ -72,7 +72,7 @@ services:
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:1.22.2
image: semtech/mu-cl-resources:feature-optional-native-booleans
environment:
CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys"
links: