Hi Holger When I use xsd:text: [cid:[email protected]] and there is a newline in (externally put in in say via wordpad) then I get:
“ Operation failed. On: Nov 27, 2017 9:05:48 AM Reason: java.io.IOException: Error loading graph http://w3id.org/kebo at org.topbraid.core.io.IO.loadAndRegister(IO.java:328) at org.topbraid.core.io.IO.load(IO.java:274) at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:335) at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:370) at org.topbraidcomposer.core.io.TBCIO$2$1.run(TBCIO.java:423) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.jena.riot.RiotException: [line: 29, col: 1 ] Broken token (newline): ACFM is nog in ontwikkeling. at org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStd.fatal(ErrorHandlerFactory.java:144) at org.apache.jena.riot.lang.LangEngine.raiseException(LangEngine.java:148) at org.apache.jena.riot.lang.LangEngine.nextToken(LangEngine.java:105) at org.apache.jena.riot.lang.LangTurtleBase.predicateObjectItem(LangTurtleBase.java:287) at org.apache.jena.riot.lang.LangTurtleBase.predicateObjectList(LangTurtleBase.java:281) at org.apache.jena.riot.lang.LangTurtleBase.triples(LangTurtleBase.java:250) at org.apache.jena.riot.lang.LangTurtleBase.triplesSameSubject(LangTurtleBase.java:191) “ It is not possible to edit the newline IN TBC (it doesnt accept a newline) but I assume this is to be expected. In general I have the need for some knowledge management system to show more complex textual information including newlines, empty lines and in the end also somehow tables. I guess rdf:HTML is then the better choice in the end? Thx a lot, Michel Dr. ir. H.M. (Michel) Böhms Senior Data Scientist T +31888663107 M +31630381220 E [email protected]<mailto:[email protected]> Location<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707> [cid:[email protected]]<http://www.tno.nl/> This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages. From: [email protected] [mailto:[email protected]] On Behalf Of Holger Knublauch Sent: Monday, November 27, 2017 12:05 AM To: [email protected] Subject: Re: [topbraid-users] textual datatypes On 27/11/2017 7:40, Bohms, H.M. (Michel) wrote: When I have texts in my content with special charcaters like ï or newlines and empty lines, what datatype can I best use? xsd:string gives problems (errors in tbc on newlines, things like ï need strange code etc.), should I use rdf:HTML instead? If so how would that look like in the content? With rdf:HTML you would also need some encoding (probably ï for ï), and if newlines are meaningful, you may be best served with xsd:string. But you are saying you are getting errors in TBC? Which ones? Holger Thx a lot Michel Dr. ir. H.M. (Michel) Böhms Senior Data Scientist T +31888663107 M +31630381220 E [email protected]<mailto:[email protected]> Location<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707> [cid:[email protected]]<http://www.tno.nl/> This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages. -- 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 [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
