How to load N-TRIPLE file in apache jena?
问题 I am quite new to RDF and Jena. I want load a .nt (N- TRIPLE) file to a model. I have tried read(inputStream, "N-TRIPLE") but did not help. It throws org.apache.jena.riot.RiotException: Element or attribute do not match QName production: QName::=(NCName':')?NCName. Can anyone point me out what is wrong? Here is the link for the N-TRiple file which I tried to load : http://dbpedia.org/data/Berlin.ntriples 回答1: read(inputStream, string) uses the string argument as the base URI, not the syntax