Can SPARQL (Jena) UPDATEs be parameterized with collections of literals (not literals)?
Can I call a parameterized SPARQL UPDATE (as in Jena ParameterizedSparqlString
) to set a property for multiple eg. literal values?
For example, I have:
Set<String> object = new HashSet<String>(Arrays.asList("literal1", "literal2"));
and would like to use SPARQL update like:
INSERT { [] property ?object } WHERE {}
to create these RDF statements:
_:SUBJECT property "literal1" .
_:SUBJECT property "literal2" .
Does Jena support this type or parameterization (signature ParameterizedSparqlString
does not indicate missing), or would I need to create a SPARQL UPDATE by going over the set and concatenation of strings?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: