Closed GitHubber1 closed 10 years ago
Yes, this should be possible already. The arguments are only used to construct RDF::Statements
, so you can provide the object as a RDF::Literal
:
statement(subject, predicate, RDF::Literal('2014-02-27', datatype: RDF::XSD.date))
Thank you for your help, I did not know that.
Hello Marcel,
thanks for adding the feature to define the rdf:datatype, that is really helpful. Is it also possible to set the rdf:datatype using statement methods in costum logic blocks?
Thanks a lot, Andy