1 Reply Latest reply: Aug 20, 2012 1:07 PM by matperry RSS

    isLiteral function not working as expected

    900576
      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