> // add the property > r.addProperty(RDFS.label, "11") > .addLiteral(RDFS.label, 11); I'm wondering whether the tutorial is correct here given the fact that the method addLiteral will handle argument 11 in the second call as a proper number and thus create a typed literal of type xsd:long, see [1]
[1] https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/rdf/model/Resource.html#addLiteral-org.apache.jena.rdf.model.Property-long- -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center
