html.H4("Enter an english text and click on the button bellow to construct an ontology.",style={'text-align':'center'}),
html.H4("Enter an english text and click on the button bellow to construct an ontology.",style={'text-align':'center'}),
html.Br(),
html.Br(),
html.P("It should take about 10 to 30 sec/sentence. You can then browse the results online or download them as a zip file.",style={'text-align':'center'}),
html.P("It should take about 10 to 30 sec/sentence. You can then browse the results online or download them as a zip file.",style={'text-align':'center'}),
html.P("The text must be a simple succession of sentences. Fancy formating is not supported at the moment. ",style={'text-align':'center'}),
html.P("The text must be a simple succession of sentences. Fancy formating is not supported at the moment. ",style={'text-align':'center'}),
html.Br(),
html.Br(),
html.Br(),
html.Br(),
html.Div(dbc.Textarea(
html.Div(dbc.Textarea(
id='textarea-state',
id='textarea-state',
value='The Solar System is the gravitationally bound system of the Sun. The inner system planets are terrestrial planets composed of rock and metal. The outer system planets are giant planets. The two largest planets, Jupiter and Saturn, are gas giants, being composed of hydrogen and helium.',style={'width':'100%','height':130}),
value='The Solar System is the gravitationally bound system of the Sun. The inner system planets are terrestrial planets composed of rock and metal. The outer system planets are giant planets. The two largest planets, Jupiter and Saturn, are gas giants, being composed of hydrogen and helium.',style={'width':'100%','height':130}),
"You can click a class to see its instances in the right panel, they are not shown in the graph.",
"You can click a class to see its instances in the right panel, they are not shown in the graph.",
html.Br(),
html.Br(),
html.A(children="Open ontology browser in separate tab.",href=BASE_URL+'''/webvowl/#{}'''.format(webvowlFilePath.replace("/opt/webvowl/","").replace(".json","")),target="_blank",id="webvowl-link"),
html.A(children="Open ontology browser in separate tab.",href=BASE_URL+'''/webvowl/#{}'''.format(webvowlFilePath.replace("/opt/webvowl/","").replace(".json","")),target="_blank",id="webvowl-link"),