This discussion is archived
1 Reply Latest reply: Aug 20, 2012 11:07 AM by matperry RSS

isLiteral function not working as expected

900576 Newbie
Currently Being Moderated
We are attempting to use 'FILTER( isLiteral(?o) )' to get all literal values for a particular sparql variable. This works for normal literals, but it is not working for CLOB values. If I get everything for the variable of question I get the following:

O
ORALL154

O$RDFVID               
6940262555896077121

O$_PREFIX          
ORALL154     

O$_SUFFIX
(null)

O$RDFVTYP
LIT

O$RDFCLOB
(CLOB_VALUE)

O$RDFLTYP
http://www.w3.org/2001/XMLSchema#string     


Since the 'O$RDFVTYP' column specifies 'LIT' I assumed this function would work. The only option I see is to negate the isURI function, however this may degrade performance. Are there any other options?

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points