How about SPARQL's standard STRDT("42", rdf:dummyDatatype)?

https://www.w3.org/TR/sparql11-query/#func-strdt 
<https://www.w3.org/TR/sparql11-query/#func-strdt>

Richard


> On 10 Apr 2020, at 02:02, Irene Polikoff <ir...@topquadrant.com> wrote:
> 
> Thanks, I did not think about spif:cast. Yes, this is exactly what I meant in 
> my ex:customDatatypeValue.
> 
>> On Apr 9, 2020, at 8:44 PM, Holger Knublauch <hol...@topquadrant.com 
>> <mailto:hol...@topquadrant.com>> wrote:
>> 
>> Probably like     BIND (spif:cast("42", rdf:dummyDatatype) AS ?x) 
>> Holger
>> 
>> 
>> 
>>> 
>>>> #3 BIND ( euvoc:ISO_639_2B("fre") AS ?n )
>>> 
>>> I could think of may be a function that would accept a value and a custom 
>>> datatype as parameters - something like BIND ( ex:customDatatypeValue 
>>> (“fre”, euvoc:ISO_639_2B) AS ?n).
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbraid-users+unsubscr...@googlegroups.com 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/17D27120-E7A5-4F6A-BB40-B6E01E2D69DA%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/17D27120-E7A5-4F6A-BB40-B6E01E2D69DA%40topquadrant.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/F1934631-9F1B-4C80-B7AB-F705CCDCF1C0%40topquadrant.com.

Reply via email to