Closed EmidioStani closed 1 year ago
No no, you need to specify the datatype on the property header, not in the value cell. Like so:
This is the same syntax as documented at https://skos-play.sparna.fr/play/convert#datatypes
ok I got it, thanks.
What if I want specify a URI as Literal ?, for example
vann:preferredNamespaceURI "http://data.europa.eu/m8g/cpsvap"
In this way the " are escaped, or maybe better to put rdfs:Literal like vann:preferredNamespaceURI^^rdfs:Literal ?
If you indicate an explicit ^^xsd:string
datatype, it should force the
value as a string literal.
Le mar. 6 déc. 2022 à 17:21, Emidio Stani @.***> a écrit :
ok I got it, thanks.
What if I want specify a URI as Literal ?, for example
vann:preferredNamespaceURI "http://data.europa.eu/m8g/cpsvap"
In this way the " are escaped, or maybe better to put rdfs:Literal like vann:preferredNamespaceURI^^rdfs:Literal ?
— Reply to this email directly, view it on GitHub https://github.com/sparna-git/skos-play/issues/75#issuecomment-1339627243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU2H4JDDYSSTE6SAVO6VOLWL5RYDANCNFSM6AAAAAASVOZSRI . You are receiving this because you commented.Message ID: @.***>
--
Thomas Francart - SPARNA Web de données | Architecture de l'information | Accès aux connaissances blog : blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart tel : +33 (0)6.71.11.25.97, skype : francartthomas
Thanks a lot @tfrancart, I think then the issue can be close
In the header of the spreadsheet if I specify:
dct:created "2018-07-09"^^xsd:date
the generated RDF becomes a literal surrounding the xsd:date, e.g:
dct:created "\"2018-07-09\"^^xsd:date";
or if I remove the double quotes:
dct:created 2018-07-09^^xsd:date
it becomes:
dct:created "2018-07-09^^xsd:date";