Exactly, first argument is the value, second one declares the datatype - here XSDDatatype.XSDanyURI, see the Javadoc [1]
[1] https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/rdf/model/ResourceFactory.html#createTypedLiteral-java.lang.String-org.apache.jena.datatypes.RDFDatatype- > On 12/01/17 08:41, George News wrote: >> >> >> On 11/01/2017 18:17, A. Soroka wrote: >>> And I and Chris Dollin answered your question. Again, >>> >>> ResourceFactory.createTypedLiteral("http://hola^^http://www.w3.org/2001/XMSchema#anyURI", >>> XSDDatatype.XSDanyURI) > > That should be: > > ResourceFactory.createTypedLiteral("http://hola", XSDDatatype.XSDanyURI) > > Dave > -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center