Please show your code and some data. It's not clear from what you wrote below what your data is or how you are manipulating it.
https://stackoverflow.com/help/mcve Both the API type Literal and the SPI type Node have methods for retrieving the lexical form of a literal, Literal::getLexicalForm and Node::getLiteralLexicalForm. ajs6f > On Apr 15, 2018, at 11:33 AM, javed khan <javedbtk...@gmail.com> wrote: > > I want to extract two string values but without datatype. My result need to > be > > S2 ML Model: SVM > > Currently I am getting like below output. > > S2^^http://www.w3.org/2001/XMLSchema#string ML Model: SVM^^ > http://www.w3.org/2001/XMLSchema#string https://stackoverflow.com/help/mcve