Skip to content

Commit

Permalink
Switch to '_JSON' keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaoverton committed Mar 3, 2022
1 parent 38ac4a8 commit 5121834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ldtab/thin2thick.clj
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
(defn get-datatype
([node]
(cond
(.isBlank node) "_json"
(.isBlank node) "_JSON"
(.isURI node) "_IRI"
;NB: Jena can't identify plain literals
(.isLiteral node) (let [datatype (.getLiteralDatatypeURI node)
Expand All @@ -108,7 +108,7 @@
:else "ERROR"))
([node iri2prefix]
(cond
(.isBlank node) "_json"
(.isBlank node) "_JSON"
(.isURI node) "_IRI"
;NB: Jena can't identify plain literals
(.isLiteral node) (let [datatype (curify-with (.getLiteralDatatypeURI node) iri2prefix)
Expand Down

0 comments on commit 5121834

Please sign in to comment.