I was curious what an array literal looks like. I'm guessing that it doesn't really matter since it's meant to be used with set and unnest. I was just curious. I had tried something similar out but using a property function. Does it have a datatype? If you have a language tag or datatype tag on the literal arguments to set do they carry through if you called unset?
An array literal is a literal in the RDF sense. It has a datatype of tag:stardog:api:array
. The lexical representation would look like an array of integers, eg. [1,2,3]
. Each integer corresponds to an RDF value, either a resource or a literal. Literals have datatypes and nothing is lost in using an array.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.