Ok next HTML example seems to work fine (apart from earlier sent errors in swa 
default app and evn)

kebo:ACFM_wervelstroomtechniek
  rdf:type kebo:TechniqueType ;
  rdfs:comment "Alternating Current Field Measurement (ACFM) is een 
wervelstroomtechniek waarmee met name oppervlakte scheuren gedetecteerd kunnen 
worden of scheuren die zich direct onder de oppervlakte bevinden. Zowel de 
locatie als de lengte van de scheur kunnen worden bepaald [1]. Omdat het proces 
nog vrij langzaam verloopt wordt deze techniek momenteel enkel toegepast voor 
het nauwkeurig bepalen van de lengte van bekende scheuren." ;
  rdfs:label "ACFM_wervelstroomtechniek"@nl ;
  kebo:background """<!DOCTYPE html>
<html lang=\"en\">
  <head>
    <meta charset=\"utf-8\">
    <title>testtitle</title>
  </head>
  <body><h1>Testheading</h1>
   <p> ACFM is nog in ontwikkeling. Momenteel wordt het gebruikt om scheuren in 
bruggen te lokaliseren zonder dat van tevoren bekend is in welk deel van de 
brug gezocht moet worden. Daarom wordt deze techniek momenteel ingezet bij 
bekende locaties van een scheur, voor gedetailleerdere bepaling van de 
scheurlengte. Bij wervelstroomonderzoek maakt men gebruik van de inductieve 
koppeling (en daardoor wederzijdse beïnvloeding) tussen een spoel en een 
geleidend voorwerp dat zich in de nabijheid van de spoel bevindt. Door een 
spoel wordt een wisselstroom geleid waardoor deze spoel een wisselend 
magnetisch veld opwekt. Wanneer deze spoel in de nabijheid van een elektrisch 
geleidend materiaal wordt gebracht, dan zal in dit materiaal een elektrische 
stroom worden opgewekt, de inductiestroom (wervelstromen). Deze inductiestroom 
zal het wisselende magnetische veld (de oorzaak van zijn bestaan) in de spoel 
tegenwerken. Deze tegenwerking is meetbaar aan de klem van de spoel door een 
verandering in de weerstand die de stroom in de spoel ondervindt, de zogenaamde 
impedantie van de spoel. Wanneer de spoel wordt aangesloten op een meetsysteem 
kunnen impedantiewijzigingen zichtbaar gemaakt worden. Oorzaken van deze 
wijzigingen kunnen een verandering in de geleidbaarheid of magnetische 
eigenschappen van het materiaal zijn, of een verandering in de dikte van het 
materiaal of de coating. Echter, het kan ook een goede indicatie zijn van een 
oppervlaktescheur, of een scheur direct onder de oppervlakte in het materiaal. 
Deze onderzoeksmethode is alleen geschikt voor elektrisch geleidende 
materialen. Bron figuur: Eisen rijdekreparaties p. 4</p>
  </body>
</html>"""^^rdf:HTML ;






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: Bohms, H.M. (Michel)
Sent: Tuesday, November 28, 2017 9:06 AM
To: '[email protected]' <[email protected]>
Subject: RE: [topbraid-users] textual datatypes

Great thx

If you have anywhere a (say minimal) content example for rdf:HTML that would be 
really welcome.
Googling I find actually none…..

Ps
Yes I do have a lot consumer-side rich text stuff. I want to convince people 
the linked data way where they now use semantic wikis (semantic media wiki 
tool)…..
(so I repeat once more that I really like your quick support and advice in this 
process, realizing I might ask too much lately…😊, but please keep in mind I 
only try to bridge the gap between your state-of-the-art tools and daily 
practice of knowledge management)




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]> 
[mailto:[email protected]] On Behalf Of Holger Knublauch
Sent: Tuesday, November 28, 2017 12:50 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [topbraid-users] textual datatypes

>From the exception it seems that your manual edit of the TTL file has produced 
>an invalid TTL file, so this is nothing we can work around. To produce line 
>breaks in TTL, write something like

    rdfs:comment """This is a multi-
line comment""" ;

Yes, for any rich formatting, definitely use rdf:HTML. It was not clear from 
your question whether this is an option for you, from the consumer's side.

Holger
On 27/11/2017 18:56, Bohms, H.M. (Michel) wrote:
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=%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.









From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Holger Knublauch
Sent: Monday, November 27, 2017 12:05 AM
To: [email protected]<mailto:[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 &iuml; 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]<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.

Reply via email to