Re: [topbraid-users] issue inserting new triples via SPARQL endpoint

2020-11-17 Thread Justin Lien
Hi Holger,

I actually just figured it out; it was user error. I was accidentally 
hitting to the query endpoint instead of the update endpoint. Everything 
works as expected now.

Thank you!

Justin

On Tuesday, November 17, 2020 at 6:07:00 PM UTC-5 Holger Knublauch wrote:

> To clarify, how are you running this query - are you making web service 
> calls or do you go through the Web UI? Maybe the prefix definitions are 
> missing and the parsing fails? Can you make the INSERT DATA variation work 
> from the web UI?
>
> Holger
>
>
> On 11/18/2020 2:13 AM, Justin Lien wrote:
>
> Hi Holger, 
>
> Thanks for your response. I tried removing the WHERE line but 
> unfortunately I'm still receiving the same error as before. 
>
> Justin
>
> On Monday, November 16, 2020 at 7:25:13 PM UTC-5 Holger Knublauch wrote:
>
>> Hi Justin,
>>
>> INSERT DATA is not followed by a WHERE clause - just try removing that 
>> WHERE line - none of the variables there are used in the INSERT clause 
>> anyway.
>>
>> https://www.w3.org/TR/2013/REC-sparql11-update-20130321/#insertData
>>
>> It probably fails to parse this on its first attempt and then falls back 
>> to trying the query parser, thus the error message.
>>
>> Holger
>>
>>
>> On 11/17/2020 10:01 AM, Justin Lien wrote:
>>
>> Hello, 
>>
>> I'm attempting to insert new triples via the SPARQL endpoint using the 
>> following query:
>>  
>> INSERT DATA
>> { GRAPH  { update_test:concepts
>> skos:hasTopConcept  update_test:one .
>> update_test:one  skos:prefLabel  "one" . } }
>> WHERE { ?s ?p ?o }
>>
>> and receive the following error:
>>
>> **Invalid SPARQL query string: Encountered "  "INSERT DATA 
>> "" at
>> line 5, column 1. Was expecting one of: "base" ... "prefix" ... "select" 
>> ...
>> "json" ... "describe" ... "construct" ... "ask" ... .**
>>
>> We have Enable SPARQL updates set to true in the Server Configuration 
>> Parameters and I'm also able to add triples with a slightly modified query 
>>
>> INSERT
>> {
>> update_test:concepts
>> skos:hasTopConcept  update_test:six .
>> update_test:six skos:prefLabel  "six" .
>>   }
>> WHERE {
>>   ?s ?p ?o .
>> }
>>
>> using the SPARQL query feature in the taxonomy without issue.
>>
>> Any ideas on how to resolve?
>>
>> Thank you,
>>
>> Justin
>>
>> --
>>
>> This email and any attachments may contain confidential information. If 
>> you believe that you have received it in error, please delete the email and 
>> attachments and then notify Tempus by calling *800.739.4137 
>> <(800)%20739-4137>*. -- 
>> 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 topbraid-user...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/CANbmBy7EJaedhytxVLCvxy2Gz-MQpSvRDG1RPNXEw5u0Nmo1CA%40mail.gmail.com
>>  
>> 
>> .
>>
>>
> --
> This email and any attachments may contain confidential information. If 
> you believe that you have received it in error, please delete the email and 
> attachments and then notify Tempus by calling *800.739.4137 
> <(800)%20739-4137>*. -- 
> 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 topbraid-user...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/084be0a8-baff-48fc-af0f-125e13d6cc44n%40googlegroups.com
>  
> 
> .
>
>
-- 
This email and any attachments may contain confidential information. If you 
believe that you have received it in error, please delete the email and 
attachments and then notify Tempus by calling *800.739.4137*.

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/658e75ab-5a59-4d1c-8402-27522a370c24n%40googlegroups.com.


Re: [topbraid-users] issue inserting new triples via SPARQL endpoint

2020-11-17 Thread Holger Knublauch
To clarify, how are you running this query - are you making web service 
calls or do you go through the Web UI? Maybe the prefix definitions are 
missing and the parsing fails? Can you make the INSERT DATA variation 
work from the web UI?


Holger


On 11/18/2020 2:13 AM, Justin Lien wrote:

Hi Holger,

Thanks for your response. I tried removing the WHERE line but 
unfortunately I'm still receiving the same error as before.


Justin

On Monday, November 16, 2020 at 7:25:13 PM UTC-5 Holger Knublauch wrote:

Hi Justin,

INSERT DATA is not followed by a WHERE clause - just try removing
that WHERE line - none of the variables there are used in the
INSERT clause anyway.

https://www.w3.org/TR/2013/REC-sparql11-update-20130321/#insertData


It probably fails to parse this on its first attempt and then
falls back to trying the query parser, thus the error message.

Holger


On 11/17/2020 10:01 AM, Justin Lien wrote:

Hello,

I'm attempting to insert new triples via the SPARQL endpoint
using the following query:

INSERT DATA
    { GRAPH  { update_test:concepts
        skos:hasTopConcept  update_test:one .
    update_test:one  skos:prefLabel  "one" . } }
WHERE { ?s ?p ?o }

and receive the following error:

**Invalid SPARQL query string: Encountered " 
"INSERT DATA "" at
line 5, column 1. Was expecting one of: "base" ... "prefix" ...
"select" ...
"json" ... "describe" ... "construct" ... "ask" ... .**

We have Enable SPARQL updates set to true in the Server
Configuration Parameters and I'm also able to add triples with a
slightly modified query

INSERT
{
    update_test:concepts
        skos:hasTopConcept  update_test:six .
    update_test:six skos:prefLabel  "six" .
  }
WHERE {
  ?s ?p ?o .
}

using the SPARQL query feature in the taxonomy without issue.

Any ideas on how to resolve?

Thank you,

Justin


This email and any attachments may contain confidential
information. If you believe that you have received it in error,
please delete the email and attachments and then notify Tempus by
calling *800.739.4137 *. --
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/topbraid-users/CANbmBy7EJaedhytxVLCvxy2Gz-MQpSvRDG1RPNXEw5u0Nmo1CA%40mail.gmail.com

.




This email and any attachments may contain confidential information. 
If you believe that you have received it in error, please delete the 
email and attachments and then notify Tempus by calling 
*800.739.4137*. --
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/084be0a8-baff-48fc-af0f-125e13d6cc44n%40googlegroups.com 
.


--
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/45891a77-bfb9-2a81-1624-50c751ae8b64%40topquadrant.com.


Re: [topbraid-users] issue inserting new triples via SPARQL endpoint

2020-11-17 Thread Justin Lien
Hi Holger,

Thanks for your response. I tried removing the WHERE line but unfortunately 
I'm still receiving the same error as before. 

Justin

On Monday, November 16, 2020 at 7:25:13 PM UTC-5 Holger Knublauch wrote:

> Hi Justin,
>
> INSERT DATA is not followed by a WHERE clause - just try removing that 
> WHERE line - none of the variables there are used in the INSERT clause 
> anyway.
>
> https://www.w3.org/TR/2013/REC-sparql11-update-20130321/#insertData
>
> It probably fails to parse this on its first attempt and then falls back 
> to trying the query parser, thus the error message.
>
> Holger
>
>
> On 11/17/2020 10:01 AM, Justin Lien wrote:
>
> Hello, 
>
> I'm attempting to insert new triples via the SPARQL endpoint using the 
> following query:
>  
> INSERT DATA
> { GRAPH  { update_test:concepts
> skos:hasTopConcept  update_test:one .
> update_test:one  skos:prefLabel  "one" . } }
> WHERE { ?s ?p ?o }
>
> and receive the following error:
>
> **Invalid SPARQL query string: Encountered "  "INSERT DATA "" 
> at
> line 5, column 1. Was expecting one of: "base" ... "prefix" ... "select" 
> ...
> "json" ... "describe" ... "construct" ... "ask" ... .**
>
> We have Enable SPARQL updates set to true in the Server Configuration 
> Parameters and I'm also able to add triples with a slightly modified query 
>
> INSERT
> {
> update_test:concepts
> skos:hasTopConcept  update_test:six .
> update_test:six skos:prefLabel  "six" .
>   }
> WHERE {
>   ?s ?p ?o .
> }
>
> using the SPARQL query feature in the taxonomy without issue.
>
> Any ideas on how to resolve?
>
> Thank you,
>
> Justin
>
> --
>
> This email and any attachments may contain confidential information. If 
> you believe that you have received it in error, please delete the email and 
> attachments and then notify Tempus by calling *800.739.4137 
> <(800)%20739-4137>*. -- 
> 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 topbraid-user...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CANbmBy7EJaedhytxVLCvxy2Gz-MQpSvRDG1RPNXEw5u0Nmo1CA%40mail.gmail.com
>  
> 
> .
>
>
-- 
This email and any attachments may contain confidential information. If you 
believe that you have received it in error, please delete the email and 
attachments and then notify Tempus by calling *800.739.4137*.

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/084be0a8-baff-48fc-af0f-125e13d6cc44n%40googlegroups.com.


Re: [topbraid-users] issue inserting new triples via SPARQL endpoint

2020-11-16 Thread Holger Knublauch

Hi Justin,

INSERT DATA is not followed by a WHERE clause - just try removing that 
WHERE line - none of the variables there are used in the INSERT clause 
anyway.


https://www.w3.org/TR/2013/REC-sparql11-update-20130321/#insertData

It probably fails to parse this on its first attempt and then falls back 
to trying the query parser, thus the error message.


Holger


On 11/17/2020 10:01 AM, Justin Lien wrote:

Hello,

I'm attempting to insert new triples via the SPARQL endpoint using the 
following query:


INSERT DATA
    { GRAPH  { update_test:concepts
        skos:hasTopConcept  update_test:one .
    update_test:one  skos:prefLabel  "one" . } }
WHERE { ?s ?p ?o }

and receive the following error:

**Invalid SPARQL query string: Encountered "  "INSERT 
DATA "" at
line 5, column 1. Was expecting one of: "base" ... "prefix" ... 
"select" ...

"json" ... "describe" ... "construct" ... "ask" ... .**

We have Enable SPARQL updates set to true in the Server Configuration 
Parameters and I'm also able to add triples with a slightly modified 
query


INSERT
{
    update_test:concepts
        skos:hasTopConcept  update_test:six .
    update_test:six skos:prefLabel  "six" .
  }
WHERE {
  ?s ?p ?o .
}

using the SPARQL query feature in the taxonomy without issue.

Any ideas on how to resolve?

Thank you,

Justin


This email and any attachments may contain confidential information. 
If you believe that you have received it in error, please delete the 
email and attachments and then notify Tempus by calling 
*800.739.4137*. --
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CANbmBy7EJaedhytxVLCvxy2Gz-MQpSvRDG1RPNXEw5u0Nmo1CA%40mail.gmail.com 
.


--
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/4663bb3e-7091-dae2-e5a4-55273c0dd854%40topquadrant.com.


Re: [topbraid-users] ISSUE: XLSX Importer Fails when columns have no header

2020-08-04 Thread Tim Smith
Hi Irene,

With that explanation, the performance makes sense.  This is certainly an
edge case.  Unfortunately the spreadsheets are provided by a large
automation vendor and are a standard part of their documentation.  IMHO,
it's rather irresponsible to publish them without proper column headers but
that's just me.

I'll find a way to pre-process them using other applications that replace
missing column headers with a placeholder (KNIME Is the best candidate).

Tim

On Tue, Aug 4, 2020 at 5:18 PM Irene Polikoff  wrote:

> If you are using ‘Semantic Tables’ importer in TBC, it will always look
> for some value in each column of the first row and will use it as the
> column name.
>
> If it does not find values in the first row,  then it will try to find the
> next available row with all values. This is to accommodate situations where
> a first row(s) may be empty. It will not try to generate a column name
> (e.g., Column B) if none exist.
>
> Spreadsheet importers in EDG use the same approach.
>
> With your example, I see that the importer could get confused. We have not
> anticipated input like this.
>
> On Aug 4, 2020, at 2:52 PM, Tim Smith  wrote:
>
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have
> no header.  In this situation, the importer incorrectly uses the first
> value in the column as the header/property or, more severely, it just skips
> the header row entirely and uses the first non-null value in each  column
> as the property.  Sometimes it does a combination of the two.  Below I
> describe an example.  I would expect the importer to either skip or assign
> a name to a column with no header.
>
> Any suggestions?  I have dozens of spreadsheets to import that all have
> one or more columns with no headers on multiple sheets.
>
> Tim
>
> Using the attached spreadsheet, please open it in TBC 6.4.
>
> The first sheet has five columns where column B and D have no header.
> 
>
> Look at the Row0-0 instance and you will see that the values "B2" and "D2"
> have been used as column headers/properties.
>
> 
>
> Now look at the Row1-0 instance.  It is a complete disaster.  Note
> essentially the entire first data row was used as headers and in the case
> of the *Alias For* column, the importer skipped the header and picked the
> value in Row 3 to become the property for the column.  I've never seen this
> behavior before.
>
> 
>
> 
>
> And finally... look at the Row2-0 instance.  This is from the third sheet
> in the workbook where I have manually populated the empty column headers
> found in the last example above.  It appears to work as expected.
> 
>
> 
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com
> 
> .
>
> 
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/BDBA4B89-0E74-476C-82EE-D2AC582FCCD1%40topquadrant.com
> 
> .
>

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnK0%2Bioc7f%3Dua13bH3u7ueKOXaB4sE7SKHNX%3DyiwzveO_Q%40mail.gmail.com.


Re: [topbraid-users] ISSUE: XLSX Importer Fails when columns have no header

2020-08-04 Thread Irene Polikoff
If you are using ‘Semantic Tables’ importer in TBC, it will always look for 
some value in each column of the first row and will use it as the column name.

If it does not find values in the first row,  then it will try to find the next 
available row with all values. This is to accommodate situations where a first 
row(s) may be empty. It will not try to generate a column name (e.g., Column B) 
if none exist.

Spreadsheet importers in EDG use the same approach.

With your example, I see that the importer could get confused. We have not 
anticipated input like this. 

> On Aug 4, 2020, at 2:52 PM, Tim Smith  wrote:
> 
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have no 
> header.  In this situation, the importer incorrectly uses the first value in 
> the column as the header/property or, more severely, it just skips the header 
> row entirely and uses the first non-null value in each  column as the 
> property.  Sometimes it does a combination of the two.  Below I describe an 
> example.  I would expect the importer to either skip or assign a name to a 
> column with no header.
> 
> Any suggestions?  I have dozens of spreadsheets to import that all have one 
> or more columns with no headers on multiple sheets.
> 
> Tim
> 
> Using the attached spreadsheet, please open it in TBC 6.4.
> 
> The first sheet has five columns where column B and D have no header.  
> 
> 
> Look at the Row0-0 instance and you will see that the values "B2" and "D2" 
> have been used as column headers/properties.
> 
> 
> 
> Now look at the Row1-0 instance.  It is a complete disaster.  Note 
> essentially the entire first data row was used as headers and in the case of 
> the Alias For column, the importer skipped the header and picked the value in 
> Row 3 to become the property for the column.  I've never seen this behavior 
> before.
> 
> 
> 
> 
> 
> And finally... look at the Row2-0 instance.  This is from the third sheet in 
> the workbook where I have manually populated the empty column headers found 
> in the last example above.  It appears to work as expected.
> 
> 
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com.
> 

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/BDBA4B89-0E74-476C-82EE-D2AC582FCCD1%40topquadrant.com.


Re: [topbraid-users] ISSUE: XLSX Importer Fails when columns have no header

2020-08-04 Thread Irene Polikoff
Importer will always look for some value in each column of the first row and 
will use it as the column name.

If it does not find values in the first row,  then it will try to find the next 
available row with all values. This is to accommodate situations where a first 
row(s) may be empty. It will definitely not try to generate a column name if 
none exist.

In your example, I see that it could get confused. We have not anticipated 
input like this. 

> On Aug 4, 2020, at 2:52 PM, Tim Smith  wrote:
> 
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have no 
> header.  In this situation, the importer incorrectly uses the first value in 
> the column as the header/property or, more severely, it just skips the header 
> row entirely and uses the first non-null value in each  column as the 
> property.  Sometimes it does a combination of the two.  Below I describe an 
> example.  I would expect the importer to either skip or assign a name to a 
> column with no header.
> 
> Any suggestions?  I have dozens of spreadsheets to import that all have one 
> or more columns with no headers on multiple sheets.
> 
> Tim
> 
> Using the attached spreadsheet, please open it in TBC 6.4.
> 
> The first sheet has five columns where column B and D have no header.  
> 
> 
> Look at the Row0-0 instance and you will see that the values "B2" and "D2" 
> have been used as column headers/properties.
> 
> 
> 
> Now look at the Row1-0 instance.  It is a complete disaster.  Note 
> essentially the entire first data row was used as headers and in the case of 
> the Alias For column, the importer skipped the header and picked the value in 
> Row 3 to become the property for the column.  I've never seen this behavior 
> before.
> 
> 
> 
> 
> 
> And finally... look at the Row2-0 instance.  This is from the third sheet in 
> the workbook where I have manually populated the empty column headers found 
> in the last example above.  It appears to work as expected.
> 
> 
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com.
> 

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/9D67AD1D-B9EF-4BC8-B040-9C8B75852771%40topquadrant.com.


Re: [topbraid-users] ISSUE: XLSX Importer Fails when columns have no header

2020-08-04 Thread dprice
Apologies Tim … I didn’t look closely enough at your screenshots.

> On 4 Aug 2020, at 21:30, Tim Smith  wrote:
> 
> Hi David,
> 
> Actually, I don't use EDG for SS import at all.  It is too limiting, 
> especially when the need is repetitive.  Thus I'm using TBC directly and I 
> would have expected TBC to properly handle spreadsheets with missing column 
> headers.  I am writing my own construct queries and will use SWP or 
> SPARQLMotion to iterate over the set of files.
> 
> Should I expect TBC to handle this import correctly?

I’ve done a lot with EDG but not that much with Composer. That said, if there 
are no headers then there is no schema-to-schema mapping possible and it’s all 
just up to your own logic AFAIK. If some cols have headers and others don’t in 
the same SS, then the logic is at the level of an individual row/cell rather 
than at the meta-level where there’s a “schema” based on column names.

Cheers,
David

> 
> Thanks,
> 
> Tim
> 
> 
> On Tue, Aug 4, 2020 at 4:13 PM dprice  > wrote:
> Hi Tim,
> 
> You’re doing something that is not supported by EDG out-of-the-box.
> 
> The EDG SS importers requires headers that are mapped to properties of the 
> selected class into which to map each row. The fact that the import SS by 
> pattern pops up with “Spreadsheet columns” and “Target Property” is a good 
> hint. The documentation is at:
> 
> https://doc.topquadrant.com/6.4/importing/ 
> 
> 
> and then select Import Spreadsheet using Pattern.
> 
> Options:
> 
> 1 - Add column headers, then use Import Spreadsheet using Pattern
> 
> 2 - Use an external tool to convert SS into RDF and then load that with EDG 
> Import RDF (https://tarql.github.io/  is an example 
> of such a tool)
> 
> 3 - If you have access to TopBraid Composer you can open spreadsheets with 
> “Semantic Tables”, do some conversion with SPIN/SPARQL/SHACL into 
> ontology-based triples, and then EDG Import RDF.
> 
> Cheers,
> David
> 
>> On 4 Aug 2020, at 19:52, Tim Smith > > wrote:
>> 
>> Hi,
>> I'm trying to import numerous spreadsheets where some of the columns have no 
>> header.  In this situation, the importer incorrectly uses the first value in 
>> the column as the header/property or, more severely, it just skips the 
>> header row entirely and uses the first non-null value in each  column as the 
>> property.  Sometimes it does a combination of the two.  Below I describe an 
>> example.  I would expect the importer to either skip or assign a name to a 
>> column with no header.
>> 
>> Any suggestions?  I have dozens of spreadsheets to import that all have one 
>> or more columns with no headers on multiple sheets.
>> 
>> Tim
>> 
>> Using the attached spreadsheet, please open it in TBC 6.4.
>> 
>> The first sheet has five columns where column B and D have no header.  
>> 
>> 
>> Look at the Row0-0 instance and you will see that the values "B2" and "D2" 
>> have been used as column headers/properties.
>> 
>> 
>> 
>> Now look at the Row1-0 instance.  It is a complete disaster.  Note 
>> essentially the entire first data row was used as headers and in the case of 
>> the Alias For column, the importer skipped the header and picked the value 
>> in Row 3 to become the property for the column.  I've never seen this 
>> behavior before.
>> 
>> 
>> 
>> 
>> 
>> And finally... look at the Row2-0 instance.  This is from the third sheet in 
>> the workbook where I have manually populated the empty column headers found 
>> in the last example above.  It appears to work as expected.
>> 
>> 
>> 
>> 
>> 
>> -- 
>> 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 topbraid-users+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com
>>  
>> .
>> 
> 
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808‬
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/E36836AE-F90D-41FC-8087-9E3612052FDF%40topquadrant.com
>  
> .
> 
> -- 
> You received this 

Re: [topbraid-users] ISSUE: XLSX Importer Fails when columns have no header

2020-08-04 Thread Tim Smith
Hi David,

Actually, I don't use EDG for SS import at all.  It is too limiting,
especially when the need is repetitive.  Thus I'm using TBC directly and I
would have expected TBC to properly handle spreadsheets with missing column
headers.  I am writing my own construct queries and will use SWP or
SPARQLMotion to iterate over the set of files.

Should I expect TBC to handle this import correctly?

Thanks,

Tim


On Tue, Aug 4, 2020 at 4:13 PM dprice  wrote:

> Hi Tim,
>
> You’re doing something that is not supported by EDG out-of-the-box.
>
> The EDG SS importers requires headers that are mapped to properties of the
> selected class into which to map each row. The fact that the import SS by
> pattern pops up with “Spreadsheet columns” and “Target Property” is a good
> hint. The documentation is at:
>
> https://doc.topquadrant.com/6.4/importing/
>
> and then select Import Spreadsheet using Pattern.
>
> Options:
>
> 1 - Add column headers, then use Import Spreadsheet using Pattern
>
> 2 - Use an external tool to convert SS into RDF and then load that with
> EDG Import RDF (https://tarql.github.io/ is an example of such a tool)
>
> 3 - If you have access to TopBraid Composer you can open spreadsheets with
> “Semantic Tables”, do some conversion with SPIN/SPARQL/SHACL into
> ontology-based triples, and then EDG Import RDF.
>
> Cheers,
> David
>
> On 4 Aug 2020, at 19:52, Tim Smith  wrote:
>
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have
> no header.  In this situation, the importer incorrectly uses the first
> value in the column as the header/property or, more severely, it just skips
> the header row entirely and uses the first non-null value in each  column
> as the property.  Sometimes it does a combination of the two.  Below I
> describe an example.  I would expect the importer to either skip or assign
> a name to a column with no header.
>
> Any suggestions?  I have dozens of spreadsheets to import that all have
> one or more columns with no headers on multiple sheets.
>
> Tim
>
> Using the attached spreadsheet, please open it in TBC 6.4.
>
> The first sheet has five columns where column B and D have no header.
> 
>
> Look at the Row0-0 instance and you will see that the values "B2" and "D2"
> have been used as column headers/properties.
>
> 
>
> Now look at the Row1-0 instance.  It is a complete disaster.  Note
> essentially the entire first data row was used as headers and in the case
> of the *Alias For* column, the importer skipped the header and picked the
> value in Row 3 to become the property for the column.  I've never seen this
> behavior before.
>
> 
>
> 
>
> And finally... look at the Row2-0 instance.  This is from the third sheet
> in the workbook where I have manually populated the empty column headers
> found in the last example above.  It appears to work as expected.
> 
>
> 
>
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com
> 
> .
> 
>
>
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808‬
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/E36836AE-F90D-41FC-8087-9E3612052FDF%40topquadrant.com
> 
> .
>

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnK%2B0B1hM4_AeEioDHu6dfW%3DQXdt6GYFdc0yiGTSbDz86A%40mail.gmail.com.


Re: [topbraid-users] ISSUE: XLSX Importer Fails when columns have no header

2020-08-04 Thread dprice
Hi Tim,

You’re doing something that is not supported by EDG out-of-the-box.

The EDG SS importers requires headers that are mapped to properties of the 
selected class into which to map each row. The fact that the import SS by 
pattern pops up with “Spreadsheet columns” and “Target Property” is a good 
hint. The documentation is at:

https://doc.topquadrant.com/6.4/importing/ 


and then select Import Spreadsheet using Pattern.

Options:

1 - Add column headers, then use Import Spreadsheet using Pattern

2 - Use an external tool to convert SS into RDF and then load that with EDG 
Import RDF (https://tarql.github.io/  is an example 
of such a tool)

3 - If you have access to TopBraid Composer you can open spreadsheets with 
“Semantic Tables”, do some conversion with SPIN/SPARQL/SHACL into 
ontology-based triples, and then EDG Import RDF.

Cheers,
David

> On 4 Aug 2020, at 19:52, Tim Smith  wrote:
> 
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have no 
> header.  In this situation, the importer incorrectly uses the first value in 
> the column as the header/property or, more severely, it just skips the header 
> row entirely and uses the first non-null value in each  column as the 
> property.  Sometimes it does a combination of the two.  Below I describe an 
> example.  I would expect the importer to either skip or assign a name to a 
> column with no header.
> 
> Any suggestions?  I have dozens of spreadsheets to import that all have one 
> or more columns with no headers on multiple sheets.
> 
> Tim
> 
> Using the attached spreadsheet, please open it in TBC 6.4.
> 
> The first sheet has five columns where column B and D have no header.  
> 
> 
> Look at the Row0-0 instance and you will see that the values "B2" and "D2" 
> have been used as column headers/properties.
> 
> 
> 
> Now look at the Row1-0 instance.  It is a complete disaster.  Note 
> essentially the entire first data row was used as headers and in the case of 
> the Alias For column, the importer skipped the header and picked the value in 
> Row 3 to become the property for the column.  I've never seen this behavior 
> before.
> 
> 
> 
> 
> 
> And finally... look at the Row2-0 instance.  This is from the third sheet in 
> the workbook where I have manually populated the empty column headers found 
> in the last example above.  It appears to work as expected.
> 
> 
> 
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com
>  
> .
> 

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/E36836AE-F90D-41FC-8087-9E3612052FDF%40topquadrant.com.


Re: [topbraid-users] ISSUE: TBC 6.4.0 production - cannot create multiple SPARQL views

2020-07-31 Thread Holger Knublauch

Hi Tim,

this works fine for me. From the error messages, could it be that you 
are reusing an old workspace, or different system ontologies? It cannot 
find an import of technical-assets and this seems to mess up the system.


I struggle to see how any of this could be related to opening a new 
SPARQL view though. What happens exactly when you click that button: do 
new error messages appear or is it just silent?


Holger


On 1/08/2020 04:15, Tim Smith wrote:

Hi,

After installing the latest 6.4.0 release and running from a new 
workspace, I am unable to open additional SPARQL views using the 
SPARQL Star icon in the single view that opens automatically.  
This was working fine in the 6.4.0 Beta release.


I've tried creating two new workspaces and one with imports from a 
previous workspace with the same result in all cases. Below is a 
screenshot of the Error Log just after startup for the case of a fresh 
workspace.  New SPARQL views cannot be created.


Thanks for your help,

Tim

image.png
--
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnK8tLhxJE0rT3omY21KZRLS5mNGw5PpthfusJb%2BGHiang%40mail.gmail.com 
.


--
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/79308aa1-6f29-956f-2b66-7677bca8a98d%40topquadrant.com.


Re: [topbraid-users] Issue: EDG 6.3.1 - Unable to export to any file format other than TriG

2020-05-27 Thread Richard Cyganiak


> On 26 May 2020, at 15:39, Tim Smith  wrote:
> 
> In addition, another graph is missing that causes the following error:
> 
> Failed to initialize SWP graph registry - please refresh files
> 
> The stack trace is below.  What's interesting is that, typically, missing 
> graphs do not cause issues beyond warnings.  In this case, even refresh does 
> not solve the problem.

Here, the missing import was in a .ui.ttlx file, that is, in the code that 
makes up the running EDG system. It's a more severe situation than a missing 
import in data, and more difficult to recover from.

I've logged an internal ticket to see if we can handle that better.

Thanks for the report.

Richard

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/32F06D53-AA92-4372-BF3B-6EE1D3DBF806%40topquadrant.com.


Re: [topbraid-users] Issue: EDG 6.3.1 - Unable to export to any file format other than TriG

2020-05-26 Thread Tim Smith
Hi Taryn,

The file you mentioned is present in the workspace.

I have traced the problem to a project I imported from a previous
development effort with TQ.  Ralph, Natasa, and I had created a Custom
Configuration for TBL.  I believe this was a supported method for adding
parameters to the TBL environment.  It resulted in the creation of a file
with the base URI of
http://customconfig.topbraidlive.org/CustomConfigBaseSchema.  Of course
this file does not exist in my current environment, causing a failed import
error.

In addition, another graph is missing that causes the following error:


*Failed to initialize SWP graph registry - please refresh files*

The stack trace is below.  What's interesting is that, typically, missing
graphs do not cause issues beyond warnings.  In this case, even refresh
does not solve the problem.

When I remove the project from the workspace, everything works as expected.

Thanks for your help!  I will resolve the missing imports and all the
issues should go away.

Tim

org.topbraid.spin.swp.engine.SWPException: java.io.IOException: Error
loading graph http://sgps.pg.com/data/application
at
org.topbraidlive.swp.SWPPluginActivator.lambda$1(SWPPluginActivator.java:185)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at
org.topbraid.eclipsex.ContainerBase$IResourceSpliterator.tryAdvance(ContainerBase.java:128)
at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at
org.topbraidlive.swp.SWPPluginActivator.loadUIGraphs(SWPPluginActivator.java:181)
at
org.topbraidlive.swp.SWPPluginActivator.activate(SWPPluginActivator.java:132)
at
org.topbraid.core.activator.PluginActivators.activateAll(PluginActivators.java:77)
at
org.topbraid.core.TBPersonality.callPluginActivators(TBPersonality.java:394)
at org.topbraid.core.TBPersonality.init(TBPersonality.java:385)
at
org.topbraidcomposer.editors.utils.AbstractTBCPersonality.init(AbstractTBCPersonality.java:74)
at org.topbraid.core.TB.(TB.java:139)
at org.topbraidcomposer.core.TBC.getTheTBCSession(TBC.java:81)
at org.topbraidcomposer.core.TBC.getSession(TBC.java:76)
at
org.topbraidcomposer.core.preferences.PreferenceInitializer.getSystemProperties(PreferenceInitializer.java:48)
at
org.topbraidcomposer.core.preferences.PreferenceInitializer.initializeDefaultPreferences(PreferenceInitializer.java:75)
at
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper$1.run(PreferenceServiceRegistryHelper.java:298)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runInitializer(PreferenceServiceRegistryHelper.java:301)
at
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:131)
at
org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:370)
at
org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:222)
at
org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:276)
at
org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:370)
at
org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:623)
at
org.eclipse.core.internal.preferences.DefaultPreferences.node(DefaultPreferences.java:147)
at
org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getDefaultPreferences(PreferenceForwarder.java:134)
at
org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.contains(PreferenceForwarder.java:198)
at org.topbraidcomposer.ui.UIPlugin.start(UIPlugin.java:127)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at

Re: [topbraid-users] Issue: EDG 6.3.1 - Unable to export to any file format other than TriG

2020-05-19 Thread Taryn Madey
Hi Tim. I'm not able to recreate this issue. Is it possible you
accidentally deleted  \teamwork.topbraidlive.org\ui\teamwork.sms.ttl?

If that isn't the issue, can I request additional information from you off
list?

Thanks!

Taryn

On Tue, May 19, 2020 at 3:40 PM Tim Smith  wrote:

> Hi,
>
> When I attempt to export to a file from within EDG, the export fails with
> the following error.  This happens for all formats other than TriG and does
> not seem to be dependent on Asset Collection type.
>
> Note that I am using the TBC version of EDG not the server version.
> Hopefully this is a problem on my end since I need to export a some test
> graphs to share with you for other things I'm seeing.
>
> Tim
>
> HTTP ERROR: 500
>
> Problem accessing /tbl/sparqlmotion. Reason:
>
> An internal error has been reported by the SPARQLMotion engine of 
> TopBraid Live.
>
> Summary: [Undefined service with script ExportToRDF]
>
> Details: org.topbraidlive.server.servlet.RecoverableClientException: 
> Undefined service with script ExportToRDF
>   at 
> org.topbraidlive.sparqlmotion.servlets.sparqlmotion.SPARQLMotionServlet.getService(SPARQLMotionServlet.java:208)
>   at 
> org.topbraidlive.sparqlmotion.servlets.sparqlmotion.SPARQLMotionServlet.run(SPARQLMotionServlet.java:266)
>   at 
> org.topbraidlive.sparqlmotion.servlets.sparqlmotion.SPARQLMotionServlet.doGet(SPARQLMotionServlet.java:245)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
>   at 
> org.topbraid.auth.servlet.TBAuthEnabledServlet.serviceAuthenticated(TBAuthEnabledServlet.java:124)
>   at 
> org.topbraid.auth.servlet.TBAuthEnabledServlet.service(TBAuthEnabledServlet.java:57)
>   at 
> org.topbraid.eclipsex.servlet.TBHttpServlet.service(TBHttpServlet.java:219)
>   at 
> org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
>   at 
> org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyServlet.service(HttpServiceRuntimeImpl.java:1221)
>   at 
> org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
>   at 
> org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
>   at 
> org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:132)
>   at 
> org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:100)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>   at 
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:310)
>   at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
>   at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
>   at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
>   at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
>   at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
>   at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>   at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
>   at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>   at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
>   at org.eclipse.jetty.server.Server.handle(Server.java:524)
>   at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
>   at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
>   at 
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
>   at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
>   at 
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
>   at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
>   at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
>   at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
>   at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
>   at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
>   at java.lang.Thread.run(Thread.java:748)
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> 

Re: [topbraid-users] Issue: Column Headers scroll out of view in Logical Entities Table

2020-05-19 Thread Tim Smith
Thanks Irene!  I'm looking forward to 6.4.

I also just noticed the same phenomenon in the Data Asset tab where the
first row containing the Search Box scrolls with the table.  Maybe it's the
same code so the fix mentioned previously has fixed it for all tables?  If
so, great!  If not, let me know and I will report these as I find them.

Tim

[image: image.png]

On Tue, May 19, 2020 at 2:18 PM Irene Polikoff 
wrote:

> Thanks for the report Tim.
>
> This has been fixed for 6.4 - the image below does not have a lot of
> content in the table, but you can see the data rows folding under the
> header.
>
> [image: image.png]
>
> On May 19, 2020, at 1:25 PM, Tim Smith  wrote:
>
> Hi,
>
> When looking at an instance of Logical Data model, there is a section that
> lists the Logical Entities within the model as a table.  When I scroll the
> table, the column headers scroll with it, making it hard to know what the
> columns are or what filter criteria was used.  In addition, I cannot adjust
> the width of the columns from any row other than the first row thus I have
> to scroll back to the top, adjust the column width and then scroll back to
> where I was within the list.
>
> Not a huge problem but it makes using the table more difficult.  I believe
> I have seen this behavior in other tables within the UI but I did not make
> a note of it.
>
> Tim
>
> Note the lack of column headers when scrolled to the bottom of the list:
> 
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/CAF0WbnL%3DBG%3D2SPWoy--F2Fh487BcRdHrZBBYCbQ11qj9etvLmg%40mail.gmail.com
> 
> .
>
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/77156683-79C2-4758-A507-B644996720A0%40topquadrant.com
> 
> .
>

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnK-STw2KzzyZntaY14%3Dz-5QriPKtW-x3Q_VzsFJTEMQjA%40mail.gmail.com.


Re: [topbraid-users] Issue: EDG 6.3.1 Taxonomy tree collapses with addition of new nodes

2020-05-19 Thread Irene Polikoff
Thanks, I will forward your feedback to the dev team.

> On May 19, 2020, at 3:36 PM, Tim Smith  wrote:
> 
> Hi, 
> 
> When I have a taxonomy model expanded and I add a node above the lowest 
> expansion point, the tree is collapsed to the level where I added the node.
> 
> For example, consider the taxonomy below:
> 
> 
> 
> If I right-click on My Concepts and add a new top level concept, Top Concept 
> 2, the tree is collapsed to the Top Concept level as shown below.
> 
> 
> 
> Not a huge problem but disorienting, especially when the tree is large.
> 
> Tim
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0WbnKjvLoLywm5b-o3E%3DHmJr39byFr91Jsy9UdhBmNih5fZQ%40mail.gmail.com
>  
> .

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/E13BAB99-6A1A-43B2-B3A5-3954221F441D%40topquadrant.com.


Re: [topbraid-users] Issue: Column Headers scroll out of view in Logical Entities Table

2020-05-19 Thread Irene Polikoff
Thanks for the report Tim.

This has been fixed for 6.4 - the image below does not have a lot of content in 
the table, but you can see the data rows folding under the header.



> On May 19, 2020, at 1:25 PM, Tim Smith  wrote:
> 
> Hi,
> 
> When looking at an instance of Logical Data model, there is a section that 
> lists the Logical Entities within the model as a table.  When I scroll the 
> table, the column headers scroll with it, making it hard to know what the 
> columns are or what filter criteria was used.  In addition, I cannot adjust 
> the width of the columns from any row other than the first row thus I have to 
> scroll back to the top, adjust the column width and then scroll back to where 
> I was within the list.
> 
> Not a huge problem but it makes using the table more difficult.  I believe I 
> have seen this behavior in other tables within the UI but I did not make a 
> note of it.
> 
> Tim
> 
> Note the lack of column headers when scrolled to the bottom of the list:
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0WbnL%3DBG%3D2SPWoy--F2Fh487BcRdHrZBBYCbQ11qj9etvLmg%40mail.gmail.com
>  
> .

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/77156683-79C2-4758-A507-B644996720A0%40topquadrant.com.


Re: [topbraid-users] Issue: Creating Inverse Property Shapes leaves an error

2020-04-29 Thread Tim Smith
Hi Holger,

I looked through my graphs and I did find what I think would be the
output if the OWL-to-SHACL converter was executed on the system graphs.
There are a lot of sh: rows.  Specifically, the following looks suspect:

*sh:PropertyShape-path*
rdf:type  sh:PropertyShape ;
sh:path   sh:path ;
sh:class  rdfs:Resource .

sh:PropertyShape  rdf:type  sh:NodeShape ;
sh:property  sh:PropertyShape-readOnly ;
sh:property  sh:PropertyShape-defaultValue ;
sh:property  sh:PropertyShape-group ;
sh:property  sh:PropertyShape-editor ;
sh:property  sh:PropertyShape-composite ;
sh:property  sh:PropertyShape-name ;
*sh:property  sh:PropertyShape-path *;
sh:property  sh:PropertyShape-reifiableBy ;
sh:property  sh:PropertyShape-viewer ;
sh:property  sh:PropertyShape-hidden ;
sh:property  sh:PropertyShape-description .

I cleared the ontology and recreated it from my source ttl file and I no
longer see the problem.  As to how it got there, the only thing I can think
of is that when I did the Transform to convert and delete the OWL axioms,
maybe I erroneously clicked on one or more imports which may have included
the system graphs?  That is just a guess.  I was learning on the fly so
such a mistake is not out of the realm of possibilities.  Three of the
imports are provided by EDG:

[image: image.png]
I'm happy to test further if there are any scenarios you would like me to
investigate.

Tim


On Mon, Apr 27, 2020 at 8:22 PM Holger Knublauch 
wrote:

> You may be up to something. The rdfs:range of sh:inversePath is indeed
> rdfs:Resource, so if (for some reason) an OWL-to-SHACL converter was
> executed over the SHACL system graph itself then such a constraint might
> have been created. Please keep us informed if you find such a constraint
> and how it might have come into existence.
>
> Holger
>
>
> On 28/04/2020 10:07, Tim Smith wrote:
>
> I will take a look.  There is no hand-written SHACL but there is always
> the possibility of some errant owl axiom that was converted into such a
> constraint.
>
> I am using 6.3.1.
>
> On Mon, Apr 27, 2020 at 7:46 PM Holger Knublauch 
> wrote:
>
>> Same here. I guess you are using 6.3? Could it be that you have
>> owl:imported some file that defines additional constraints, e.g. that the
>> values of sh:inversePath must be sh:class rdfs:Resource? If this doesn't
>> help, feel free to send me a TriG file with your graph and subgraphs so
>> that I can try to reproduce this issue.
>>
>> Holger
>>
>>
>> On 28/04/2020 09:14, Irene Polikoff wrote:
>>
>> Hmm…
>>
>> I can’t reproduce. May be Holger has some ideas.
>>
>> On Apr 27, 2020, at 4:16 PM, Tim Smith  wrote:
>>
>> Hi,
>>
>> When I use EDG to give a name to an inverse relationship, much the way
>> edg:columnOf works for edg:DatabaseTable, I get an error that persists
>> after creation even though the correct SHACL has been generated.
>>
>> Everything seems to work although I don't think the error should be there.
>>
>> Tim
>>
>> First screenshot - error during creation.  Bypassed by using Submit Anyway
>>
>> SHACL:
>> pgont:ManufacturingLine-hasPart-inverse
>>   a sh:PropertyShape ;
>>   sh:path [
>>   sh:inversePath pgont:hasPart ;
>> ] ;
>>   sh:name "test inverse property - has part" ;
>>   sh:nodeKind sh:IRI ;
>>
>> Second screenshot - error shown when viewing the property shape.
>>
>> Third  screenshot - view of edg:DatabaseTable-columnOf-inverse property
>> shape.  Note no errors.
>>
>> SHACL:
>> edg:DatabaseTable-columnOf-inverse
>>   a sh:PropertyShape ;
>>   sh:path [
>>   sh:inversePath edg:columnOf ;
>> ] ;
>>   graphql:name "columns" ;
>>   rdfs:isDefinedBy 
>> ;
>>   sh:class edg:DatabaseColumn ;
>>   sh:description "The columns of a database table." ;
>>   sh:group edg:DataStructurePropertiesGroup ;
>>   sh:name "columns" ;
>>   sh:order "40"^^xsd:decimal ;
>>
>>
>> 
>>
>> 
>> 
>>
>>
>>
>> --
>> 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 topbraid-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLQJ_G-x2X0q7kQDTQgoqTtJSeX0YCnpAJNf0hx5TqFVw%40mail.gmail.com
>> 
>> .
>>
>>
>> --
>> 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 topbraid-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> 

Re: [topbraid-users] Issue: Creating Inverse Property Shapes leaves an error

2020-04-27 Thread Holger Knublauch
You may be up to something. The rdfs:range of sh:inversePath is indeed 
rdfs:Resource, so if (for some reason) an OWL-to-SHACL converter was 
executed over the SHACL system graph itself then such a constraint might 
have been created. Please keep us informed if you find such a constraint 
and how it might have come into existence.


Holger


On 28/04/2020 10:07, Tim Smith wrote:
I will take a look.  There is no hand-written SHACL but there is 
always the possibility of some errant owl axiom that was converted 
into such a constraint.


I am using 6.3.1.

On Mon, Apr 27, 2020 at 7:46 PM Holger Knublauch 
mailto:hol...@topquadrant.com>> wrote:


Same here. I guess you are using 6.3? Could it be that you have
owl:imported some file that defines additional constraints, e.g.
that the values of sh:inversePath must be sh:class rdfs:Resource?
If this doesn't help, feel free to send me a TriG file with your
graph and subgraphs so that I can try to reproduce this issue.

Holger


On 28/04/2020 09:14, Irene Polikoff wrote:

Hmm…

I can’t reproduce. May be Holger has some ideas.


On Apr 27, 2020, at 4:16 PM, Tim Smith mailto:smith.ts...@gmail.com>> wrote:

Hi,

When I use EDG to give a name to an inverse relationship, much
the way edg:columnOf works for edg:DatabaseTable, I get an error
that persists after creation even though the correct SHACL has
been generated.

Everything seems to work although I don't think the error should
be there.

Tim

First screenshot - error during creation. Bypassed by using
Submit Anyway

SHACL:
pgont:ManufacturingLine-hasPart-inverse
  a sh:PropertyShape ;
  sh:path [
      sh:inversePath pgont:hasPart ;
    ] ;
  sh:name "test inverse property - has part" ;
  sh:nodeKind sh:IRI ;

Second screenshot - error shown when viewing the property shape.
Third  screenshot - view of edg:DatabaseTable-columnOf-inverse
property shape.  Note no errors.

SHACL:
edg:DatabaseTable-columnOf-inverse
  a sh:PropertyShape ;
  sh:path [
      sh:inversePath edg:columnOf ;
    ] ;
  graphql:name "columns" ;
  rdfs:isDefinedBy
 ;
  sh:class edg:DatabaseColumn ;
  sh:description "The columns of a database table." ;
  sh:group edg:DataStructurePropertiesGroup ;
  sh:name "columns" ;
  sh:order "40"^^xsd:decimal ;









-- 
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 topbraid-users+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLQJ_G-x2X0q7kQDTQgoqTtJSeX0YCnpAJNf0hx5TqFVw%40mail.gmail.com

.


-- 
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 topbraid-users+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/topbraid-users/645F57BE-A377-4867-8DF5-4AFF64C152D2%40topquadrant.com

.
-- 
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 topbraid-users+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/topbraid-users/09c8dc6e-3263-0520-3482-81b820edfc40%40topquadrant.com

.

--
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnKTVTKMeKF2QVQca7M7qzxZRVS0gUW3oatpvk0crKS-Bw%40mail.gmail.com 
.


--
You received this 

Re: [topbraid-users] Issue: Creating Inverse Property Shapes leaves an error

2020-04-27 Thread Tim Smith
I will take a look.  There is no hand-written SHACL but there is always the
possibility of some errant owl axiom that was converted into such a
constraint.

I am using 6.3.1.

On Mon, Apr 27, 2020 at 7:46 PM Holger Knublauch 
wrote:

> Same here. I guess you are using 6.3? Could it be that you have
> owl:imported some file that defines additional constraints, e.g. that the
> values of sh:inversePath must be sh:class rdfs:Resource? If this doesn't
> help, feel free to send me a TriG file with your graph and subgraphs so
> that I can try to reproduce this issue.
>
> Holger
>
>
> On 28/04/2020 09:14, Irene Polikoff wrote:
>
> Hmm…
>
> I can’t reproduce. May be Holger has some ideas.
>
> On Apr 27, 2020, at 4:16 PM, Tim Smith  wrote:
>
> Hi,
>
> When I use EDG to give a name to an inverse relationship, much the way
> edg:columnOf works for edg:DatabaseTable, I get an error that persists
> after creation even though the correct SHACL has been generated.
>
> Everything seems to work although I don't think the error should be there.
>
> Tim
>
> First screenshot - error during creation.  Bypassed by using Submit Anyway
>
> SHACL:
> pgont:ManufacturingLine-hasPart-inverse
>   a sh:PropertyShape ;
>   sh:path [
>   sh:inversePath pgont:hasPart ;
> ] ;
>   sh:name "test inverse property - has part" ;
>   sh:nodeKind sh:IRI ;
>
> Second screenshot - error shown when viewing the property shape.
>
> Third  screenshot - view of edg:DatabaseTable-columnOf-inverse property
> shape.  Note no errors.
>
> SHACL:
> edg:DatabaseTable-columnOf-inverse
>   a sh:PropertyShape ;
>   sh:path [
>   sh:inversePath edg:columnOf ;
> ] ;
>   graphql:name "columns" ;
>   rdfs:isDefinedBy  ;
>   sh:class edg:DatabaseColumn ;
>   sh:description "The columns of a database table." ;
>   sh:group edg:DataStructurePropertiesGroup ;
>   sh:name "columns" ;
>   sh:order "40"^^xsd:decimal ;
>
>
> 
>
> 
> 
>
>
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLQJ_G-x2X0q7kQDTQgoqTtJSeX0YCnpAJNf0hx5TqFVw%40mail.gmail.com
> 
> .
>
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/645F57BE-A377-4867-8DF5-4AFF64C152D2%40topquadrant.com
> 
> .
>
> --
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/09c8dc6e-3263-0520-3482-81b820edfc40%40topquadrant.com
> 
> .
>

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnKTVTKMeKF2QVQca7M7qzxZRVS0gUW3oatpvk0crKS-Bw%40mail.gmail.com.


Re: [topbraid-users] Issue: Creating Inverse Property Shapes leaves an error

2020-04-27 Thread Holger Knublauch
Same here. I guess you are using 6.3? Could it be that you have 
owl:imported some file that defines additional constraints, e.g. that 
the values of sh:inversePath must be sh:class rdfs:Resource? If this 
doesn't help, feel free to send me a TriG file with your graph and 
subgraphs so that I can try to reproduce this issue.


Holger


On 28/04/2020 09:14, Irene Polikoff wrote:

Hmm…

I can’t reproduce. May be Holger has some ideas.

On Apr 27, 2020, at 4:16 PM, Tim Smith > wrote:


Hi,

When I use EDG to give a name to an inverse relationship, much the 
way edg:columnOf works for edg:DatabaseTable, I get an error that 
persists after creation even though the correct SHACL has been generated.


Everything seems to work although I don't think the error should be 
there.


Tim

First screenshot - error during creation. Bypassed by using Submit Anyway

SHACL:
pgont:ManufacturingLine-hasPart-inverse
  a sh:PropertyShape ;
  sh:path [
      sh:inversePath pgont:hasPart ;
    ] ;
  sh:name "test inverse property - has part" ;
  sh:nodeKind sh:IRI ;

Second screenshot - error shown when viewing the property shape.
Third  screenshot - view of edg:DatabaseTable-columnOf-inverse 
property shape. Note no errors.


SHACL:
edg:DatabaseTable-columnOf-inverse
  a sh:PropertyShape ;
  sh:path [
      sh:inversePath edg:columnOf ;
    ] ;
  graphql:name "columns" ;
  rdfs:isDefinedBy 
 ;

  sh:class edg:DatabaseColumn ;
  sh:description "The columns of a database table." ;
  sh:group edg:DataStructurePropertiesGroup ;
  sh:name "columns" ;
  sh:order "40"^^xsd:decimal ;









--
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLQJ_G-x2X0q7kQDTQgoqTtJSeX0YCnpAJNf0hx5TqFVw%40mail.gmail.com 
.


--
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/645F57BE-A377-4867-8DF5-4AFF64C152D2%40topquadrant.com 
.


--
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/09c8dc6e-3263-0520-3482-81b820edfc40%40topquadrant.com.


Re: [topbraid-users] Issue: Creating Inverse Property Shapes leaves an error

2020-04-27 Thread Irene Polikoff
Hmm…

I can’t reproduce. May be Holger has some ideas.

> On Apr 27, 2020, at 4:16 PM, Tim Smith  wrote:
> 
> Hi,
> 
> When I use EDG to give a name to an inverse relationship, much the way 
> edg:columnOf works for edg:DatabaseTable, I get an error that persists after 
> creation even though the correct SHACL has been generated.
> 
> Everything seems to work although I don't think the error should be there.
> 
> Tim
> 
> First screenshot - error during creation.  Bypassed by using Submit Anyway
> 
> SHACL:
> pgont:ManufacturingLine-hasPart-inverse
>   a sh:PropertyShape ;
>   sh:path [
>   sh:inversePath pgont:hasPart ;
> ] ;
>   sh:name "test inverse property - has part" ;
>   sh:nodeKind sh:IRI ;
> 
> Second screenshot - error shown when viewing the property shape.
>   
> Third  screenshot - view of edg:DatabaseTable-columnOf-inverse property 
> shape.  Note no errors.
> 
> SHACL:
> edg:DatabaseTable-columnOf-inverse
>   a sh:PropertyShape ;
>   sh:path [
>   sh:inversePath edg:columnOf ;
> ] ;
>   graphql:name "columns" ;
>   rdfs:isDefinedBy  > ;
>   sh:class edg:DatabaseColumn ;
>   sh:description "The columns of a database table." ;
>   sh:group edg:DataStructurePropertiesGroup ;
>   sh:name "columns" ;
>   sh:order "40"^^xsd:decimal ;
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLQJ_G-x2X0q7kQDTQgoqTtJSeX0YCnpAJNf0hx5TqFVw%40mail.gmail.com
>  
> .

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/645F57BE-A377-4867-8DF5-4AFF64C152D2%40topquadrant.com.


Re: [topbraid-users] issue importing html local file Vs from the web

2019-11-21 Thread Simon Opper
Hi Richard

I had the path incorrect and needed to go directly to the folder within the
project using  http://localhost:8083/tbl/lib/localFiles/fire.html


All is  working fine now.

Many thanks for your assistance !

Regards

Simon

On Wed, Nov 20, 2019 at 10:11 AM Simon Opper <
simon.op...@surroundaustralia.com> wrote:

> Hi Richard
>
> Thanks for the email.
>
> Aghh Re spelling. My mistake sorry. But alas... it still throws an
> exception. I've tested a range of websites.  I'm running Windows 10,
> TBCME 6.2.2.
>
> When the URL
> http://localhost:8083/tbl/lib/generaltesting/localFiles/fire.html  is
> viewed in the browser I get the below message. the folder generaltesting is
> the main project folder.
>
> [image: TopBraid Suite Console]
> 
> 
> Error
>  Administrator
> 
> (logout)
> 
>
> An error has been reported:
>
> *No folder found with alias "generaltesting".*
> © 2009-2019 TopQuadrant, Inc. All Rights Reserved Version:
> 6.2.2.v20190507-2132R Send Error Log to TQ
> 
>  Support
> 
>
>  I did try to find other folders/files on the server, guessing a few from
> TBCME folders, but nothing other than http://localhost:8083/tbl/ works.
> Is the lib folder name right ? Is there a way to list/explore directories
> in the Jetty server somehow ?  I see there is for jetty setups generally
> but wasn't sure how to do so within TBCME.
>
> [image: image.png]
>
> On Tue, Nov 19, 2019 at 9:20 PM Richard Cyganiak 
> wrote:
>
>> Hi Simon,
>>
>> Just checking, does the URL work if you access it in a web browser? If
>> not, that needs to be fixed first.
>>
>> I note that you said "localFiles" in one place and "localFIles" in
>> another, with a different capitalisation of the "i". Depending on your
>> operating system, this may be a problem.
>>
>> Richard
>>
>>
>> On 17 Nov 2019, at 20:02, Simon Opper 
>> wrote:
>>
>> Hi Holger
>>
>> Thanks for the email.
>>
>> I couldn't get your suggestion to work.
>>
>> I tried:
>>
>> creating folder (under a project folder) e.g.
>> generaltesting\localFiles.www
>> and placed the html file there.
>>
>> In a xhtml sml module I used
>>
>> :ImportXHTML_1
>>   a sml:ImportXHTML ;
>>   sm:nodeX 18 ;
>>   sm:nodeY 151 ;
>>   sm:outputVariable "xml" ;
>>   sml:url "
>> http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html; ;
>>   rdfs:label "Import XHTML 1" ;
>>   skos:prefLabel "Import XHTML 1" ;
>>
>>   If I try open that file via the URL in a TBCME browser it can't find it
>> and it says folder not found..
>>
>> when I run the module I get the following error
>>
>> java.lang.reflect.InvocationTargetException
>> at
>> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:160)
>> at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:66)
>> at java.lang.Thread.run(Thread.java:748)
>> Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: Failed to
>> load HTML from
>> http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html
>> at
>> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:42)
>> at
>> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:202)
>> at
>> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:168)
>> at
>> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:118)
>> at
>> org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(SPARQLMotionConsole.java:79)
>> at
>> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:149)
>> ... 2 more
>> Caused by: org.jsoup.HttpStatusException: HTTP error fetching URL.
>> Status=404, URL=
>> http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html
>> at
>> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:682)
>> at
>> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)
>> at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
>> at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
>> at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
>> at
>> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)
>> ... 7 more
>>
>>
>> On Thu, Nov 14, 2019 at 12:45 PM Holger Knublauch 
>> wrote:
>>
>>> Hi Simon,
>>> On 14/11/2019 06:52, Simon Opper wrote:
>>>
>>> Hi folks
>>>
>>> I'm having an 

Re: [topbraid-users] issue importing html local file Vs from the web

2019-11-21 Thread Simon Opper
Hi Richard

Thanks for the email.

Aghh Re spelling. My mistake sorry. But alas... it still throws an
exception. I've tested a range of websites.  I'm running Windows 10,
TBCME 6.2.2.

When the URL
http://localhost:8083/tbl/lib/generaltesting/localFiles/fire.html  is
viewed in the browser I get the below message. the folder generaltesting is
the main project folder.

[image: TopBraid Suite Console]


Error
 Administrator

(logout) 

An error has been reported:

*No folder found with alias "generaltesting".*
© 2009-2019 TopQuadrant, Inc. All Rights Reserved Version:
6.2.2.v20190507-2132R Send Error Log to TQ

 Support


 I did try to find other folders/files on the server, guessing a few from
TBCME folders, but nothing other than http://localhost:8083/tbl/ works. Is
the lib folder name right ? Is there a way to list/explore directories in
the Jetty server somehow ?  I see there is for jetty setups generally but
wasn't sure how to do so within TBCME.

[image: image.png]

On Tue, Nov 19, 2019 at 9:20 PM Richard Cyganiak 
wrote:

> Hi Simon,
>
> Just checking, does the URL work if you access it in a web browser? If
> not, that needs to be fixed first.
>
> I note that you said "localFiles" in one place and "localFIles" in
> another, with a different capitalisation of the "i". Depending on your
> operating system, this may be a problem.
>
> Richard
>
>
> On 17 Nov 2019, at 20:02, Simon Opper 
> wrote:
>
> Hi Holger
>
> Thanks for the email.
>
> I couldn't get your suggestion to work.
>
> I tried:
>
> creating folder (under a project folder) e.g. generaltesting\localFiles.www
> and placed the html file there.
>
> In a xhtml sml module I used
>
> :ImportXHTML_1
>   a sml:ImportXHTML ;
>   sm:nodeX 18 ;
>   sm:nodeY 151 ;
>   sm:outputVariable "xml" ;
>   sml:url "
> http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html; ;
>   rdfs:label "Import XHTML 1" ;
>   skos:prefLabel "Import XHTML 1" ;
>
>   If I try open that file via the URL in a TBCME browser it can't find it
> and it says folder not found..
>
> when I run the module I get the following error
>
> java.lang.reflect.InvocationTargetException
> at
> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:160)
> at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:66)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: Failed to
> load HTML from
> http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html
> at
> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:42)
> at
> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:202)
> at
> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:168)
> at
> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:118)
> at
> org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(SPARQLMotionConsole.java:79)
> at
> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:149)
> ... 2 more
> Caused by: org.jsoup.HttpStatusException: HTTP error fetching URL.
> Status=404, URL=
> http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html
> at
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:682)
> at
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)
> at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
> at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
> at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
> at
> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)
> ... 7 more
>
>
> On Thu, Nov 14, 2019 at 12:45 PM Holger Knublauch 
> wrote:
>
>> Hi Simon,
>> On 14/11/2019 06:52, Simon Opper wrote:
>>
>> Hi folks
>>
>> I'm having an issue importing/converting a local html file using sparql
>> motion scripts as opposed to a web file at a URL. A web html file works
>> fine in my tests.
>>
>> I can use the importXHTML module on a web URL fine  e.g.
>> .examplesite.com/htmlfile
>> But if I try point it at a local file it fails. I've tried the following
>> http protocol without success. e.g. file:///fileLocation/htmlfile
>>  (specifiying .html file type makes no difference and also with or without
>> .html type added on disc). I also tried
>> 

Re: [topbraid-users] issue importing html local file Vs from the web

2019-11-19 Thread Richard Cyganiak
Hi Simon,

Just checking, does the URL work if you access it in a web browser? If not, 
that needs to be fixed first.

I note that you said "localFiles" in one place and "localFIles" in another, 
with a different capitalisation of the "i". Depending on your operating system, 
this may be a problem.

Richard


> On 17 Nov 2019, at 20:02, Simon Opper  
> wrote:
> 
> Hi Holger
> 
> Thanks for the email.
> 
> I couldn't get your suggestion to work.
> 
> I tried:
> 
> creating folder (under a project folder) e.g. generaltesting\localFiles.www
> and placed the html file there.
> 
> In a xhtml sml module I used
> 
> :ImportXHTML_1
>   a sml:ImportXHTML ;
>   sm:nodeX 18 ;
>   sm:nodeY 151 ;
>   sm:outputVariable "xml" ;
>   sml:url "http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html 
> " ;
>   rdfs:label "Import XHTML 1" ;
>   skos:prefLabel "Import XHTML 1" ;
> 
>   If I try open that file via the URL in a TBCME browser it can't find it and 
> it says folder not found..
> 
> when I run the module I get the following error
> 
> java.lang.reflect.InvocationTargetException
> at 
> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:160)
> at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:66)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: Failed to load 
> HTML from http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html 
> 
> at 
> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:42)
> at 
> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:202)
> at 
> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:168)
> at 
> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:118)
> at 
> org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(SPARQLMotionConsole.java:79)
> at 
> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:149)
> ... 2 more
> Caused by: org.jsoup.HttpStatusException: HTTP error fetching URL. 
> Status=404, 
> URL=http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html 
> 
> at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:682)
> at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)
> at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
> at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
> at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
> at 
> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)
> ... 7 more
> 
> 
> On Thu, Nov 14, 2019 at 12:45 PM Holger Knublauch  > wrote:
> Hi Simon,
> 
> On 14/11/2019 06:52, Simon Opper wrote:
>> Hi folks
>> 
>> I'm having an issue importing/converting a local html file using sparql 
>> motion scripts as opposed to a web file at a URL. A web html file works fine 
>> in my tests.
>> 
>> I can use the importXHTML module on a web URL fine  e.g.  
>> .examplesite.com/htmlfile 
>> But if I try point it at a local file it fails. I've tried the following 
>> http protocol without success. e.g. file:///fileLocation/htmlfile <>   
>> (specifiying .html file type makes no difference and also with or without 
>> .html type added on disc). I also tried 
>> file://localhost/fileLocation/htmlfile <> with no success.
>> 
>> I also tried converting the html file to xhtml using oxgenXML but this made 
>> no change.
> Are you referring to this error?
> 
> Caused by: java.net.MalformedURLException: Only http & https protocols 
> supported
> at 
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:636)
> at 
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)
> at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
> at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
> at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
> at 
> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)
> ... 7 more
> 
>> 
>> is there some aspect of tidy function or something else at play that either 
>> I'm missing or can't control for a local file ?
> I guess we could switch to this if the URL is a local file:
> 
> https://jsoup.org/cookbook/input/load-document-from-file 
> 
> Would this solve your use case? (There still is time for the 6.3 final 
> release).

Re: [topbraid-users] issue importing html local file Vs from the web

2019-11-19 Thread Simon Opper
Hi Holger

Thanks for the email.

I couldn't get your suggestion to work.

I tried:

creating folder (under a project folder) e.g. generaltesting\localFiles.www
and placed the html file there.

In a xhtml sml module I used

:ImportXHTML_1
  a sml:ImportXHTML ;
  sm:nodeX 18 ;
  sm:nodeY 151 ;
  sm:outputVariable "xml" ;
  sml:url "http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html;
;
  rdfs:label "Import XHTML 1" ;
  skos:prefLabel "Import XHTML 1" ;

  If I try open that file via the URL in a TBCME browser it can't find it
and it says folder not found..

when I run the module I get the following error

java.lang.reflect.InvocationTargetException
at
org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:160)
at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:66)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: Failed to
load HTML from
http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html
at
org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:42)
at
org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:202)
at
org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:168)
at
org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:118)
at
org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(SPARQLMotionConsole.java:79)
at
org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1.run(AbstractExecuteSPARQLMotionAction.java:149)
... 2 more
Caused by: org.jsoup.HttpStatusException: HTTP error fetching URL.
Status=404, URL=
http://localhost:8083/tbl/lib/generaltesting/localFIles/fire.html
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:682)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
at
org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)
... 7 more


On Thu, Nov 14, 2019 at 12:45 PM Holger Knublauch 
wrote:

> Hi Simon,
> On 14/11/2019 06:52, Simon Opper wrote:
>
> Hi folks
>
> I'm having an issue importing/converting a local html file using sparql
> motion scripts as opposed to a web file at a URL. A web html file works
> fine in my tests.
>
> I can use the importXHTML module on a web URL fine  e.g.
> .examplesite.com/htmlfile
> But if I try point it at a local file it fails. I've tried the following
> http protocol without success. e.g. file:///fileLocation/htmlfile
>  (specifiying .html file type makes no difference and also with or without
> .html type added on disc). I also tried
> file://localhost/fileLocation/htmlfile with no success.
>
> I also tried converting the html file to xhtml using oxgenXML but this
> made no change.
>
> Are you referring to this error?
>
> Caused by: java.net.MalformedURLException: Only http & https protocols
> supported
> at
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:636)
> at
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)
> at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
> at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
> at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
> at
> org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)
> ... 7 more
>
>
> is there some aspect of tidy function or something else at play that
> either I'm missing or can't control for a local file ?
>
> I guess we could switch to this if the URL is a local file:
>
> https://jsoup.org/cookbook/input/load-document-from-file
>
> Would this solve your use case? (There still is time for the 6.3 final
> release).
>
> Given that the current version only support HTTP, could you use the
> EDG/TBL server to access the files? For example, with TBC-ME:
>
> 1) Create a folder in the workspace such as myfiles.www
>
> 2) Copy your .html file(s) into that folder, e.g. hk.html
>
> 3) Use sml:url http://localhost:8083/tbl/lib/myfiles/hk.html
>
> In my quick test that worked fine.
>
>
> As a related question on debugging this. Is it possible to see more info
> anywhere about these modules other than the basic info in TBCME help and at
> the SPIN vocab files which are only of limited help ? e.g. more details on
> the underlying classes and signatures ?
>
> Not that I could think of. The stack traces should you some of the
> internals, but only if something goes wrong.
>
> Maybe the rest of the email can be ignored if the solution above works for
> you?
>
> Holger
>
>
>
>
> I then tried using 

Re: [topbraid-users] issue importing html local file Vs from the web

2019-11-13 Thread Holger Knublauch

On 14/11/2019 11:45, Holger Knublauch wrote:


Hi Simon,

On 14/11/2019 06:52, Simon Opper wrote:

Hi folks

I'm having an issue importing/converting a local html file using 
sparql motion scripts as opposed to a web file at a URL. A web html 
file works fine in my tests.


I can use the importXHTML module on a web URL fine  e.g. 
.examplesite.com/htmlfile
But if I try point it at a local file it fails. I've tried the 
following http protocol without success. e.g. 
file:///fileLocation/htmlfile  (specifiying .html file type makes no 
difference and also with or without .html type added on disc). I also 
tried file://localhost/fileLocation/htmlfile with no success.


I also tried converting the html file to xhtml using oxgenXML but 
this made no change.


Are you referring to this error?

Caused by: java.net.MalformedURLException: Only http & https protocols 
supported
    at 
org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:636)
    at 
org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)

    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
    at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
    at 
org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)

    ... 7 more



is there some aspect of tidy function or something else at play that 
either I'm missing or can't control for a local file ?


I guess we could switch to this if the URL is a local file:

https://jsoup.org/cookbook/input/load-document-from-file

Would this solve your use case? (There still is time for the 6.3 final 
release).


FWIW I have just changed the implementation so that sml:ImportXHTML now 
also handles file: URLs out of the box, for 6.3.


Holger


Given that the current version only support HTTP, could you use the 
EDG/TBL server to access the files? For example, with TBC-ME:


1) Create a folder in the workspace such as myfiles.www

2) Copy your .html file(s) into that folder, e.g. hk.html

3) Use sml:url http://localhost:8083/tbl/lib/myfiles/hk.html

In my quick test that worked fine.



As a related question on debugging this. Is it possible to see more 
info anywhere about these modules other than the basic info in TBCME 
help and at the SPIN vocab files which are only of limited help ? 
e.g. more details on the underlying classes and signatures ?


Not that I could think of. The stack traces should you some of the 
internals, but only if something goes wrong.


Maybe the rest of the email can be ignored if the solution above works 
for you?


Holger





I then tried using another route such as the convertXMLtoRDF module.  
The usage note for the module says that the smlxmlType can be set to 
XHTML so that it "treats input as html source". see ref below.



" sml:xml: The XML document that shall be converted to RDF. To avoid 
character encoding issues, we strongly recommend this value to be a 
reference to an already parsed XML document, and not a literal. In 
other words, use "Add SPARQL expression" from the drop down menu and 
enter ?varName and do not use a string value such as {?varName}. The 
actual document parsing should be handled by predecessing modules 
such as sml:ImportXMLFromURL.


sml:xmlType (xsd:string): [Optional] An (optional) type indicator for 
the Semantic XML conversion. Current supported values are "XHTML" 
(treats the input as HTML source, and may run a tidy algorithm in 
case the HTML is not well-formed XHTML).  "


I experimented with a few ways of processing the html to xml such as 
importTextFile and importXMLfile but I asssume because the html is 
not valid xml this doesn't work.


e.g.

warnings:ImportTextFile_2
  a sml:ImportTextFile ;
  sm:next warnings:Convert_html_XMLToRDF_2 ;
  sm:nodeX 617 ;
  sm:nodeY 39 ;
  sm:outputVariable "textOut" ;
  sml:sourceFilePath "mfu@id=4851.txt" ;
  rdfs:label "Import text file xml test" ;
.

# the xmlToRDF below fails. A character encoding issue by the looks. 
exception message Caused by: 
org.topbraid.spin.sparqlmotion.modules.SMException: 
org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 43; The 
reference to entity "l" must end with the ';' delimiter.


warnings:Convert_html_XMLToRDF_2
  a sml:ConvertXMLToRDF ;
  sm:nodeX 601 ;
  sm:nodeY 272 ;
  sml:baseURI "www.example2.com" ;
  sml:xml [
      sp:varName "textOut" ;
    ] ;
  sml:xmlType "xhtml" ;
  rdfs:label "Convert html XMLTo RDF 2" ;
.

--
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/17f9a123-98b7-49e2-bc67-11524e0e1911%40googlegroups.com 

Re: [topbraid-users] issue importing html local file Vs from the web

2019-11-13 Thread Holger Knublauch

Hi Simon,

On 14/11/2019 06:52, Simon Opper wrote:

Hi folks

I'm having an issue importing/converting a local html file using 
sparql motion scripts as opposed to a web file at a URL. A web html 
file works fine in my tests.


I can use the importXHTML module on a web URL fine  e.g. 
.examplesite.com/htmlfile
But if I try point it at a local file it fails. I've tried the 
following http protocol without success. e.g. 
file:///fileLocation/htmlfile   (specifiying .html file type makes no 
difference and also with or without .html type added on disc). I also 
tried file://localhost/fileLocation/htmlfile with no success.


I also tried converting the html file to xhtml using oxgenXML but this 
made no change.


Are you referring to this error?

Caused by: java.net.MalformedURLException: Only http & https protocols 
supported
    at 
org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:636)
    at 
org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:629)

    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:261)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:250)
    at org.topbraid.html2xml.HTML2XML.parseFromURL(HTML2XML.java:28)
    at 
org.topbraid.sparqlmotion.lib.internal.ImportXHTMLModule.execute(ImportXHTMLModule.java:37)

    ... 7 more



is there some aspect of tidy function or something else at play that 
either I'm missing or can't control for a local file ?


I guess we could switch to this if the URL is a local file:

https://jsoup.org/cookbook/input/load-document-from-file

Would this solve your use case? (There still is time for the 6.3 final 
release).


Given that the current version only support HTTP, could you use the 
EDG/TBL server to access the files? For example, with TBC-ME:


1) Create a folder in the workspace such as myfiles.www

2) Copy your .html file(s) into that folder, e.g. hk.html

3) Use sml:url http://localhost:8083/tbl/lib/myfiles/hk.html

In my quick test that worked fine.



As a related question on debugging this. Is it possible to see more 
info anywhere about these modules other than the basic info in TBCME 
help and at the SPIN vocab files which are only of limited help ? e.g. 
more details on the underlying classes and signatures ?


Not that I could think of. The stack traces should you some of the 
internals, but only if something goes wrong.


Maybe the rest of the email can be ignored if the solution above works 
for you?


Holger





I then tried using another route such as the convertXMLtoRDF module.  
The usage note for the module says that the smlxmlType can be set to 
XHTML so that it "treats input as html source". see ref below.



" sml:xml: The XML document that shall be converted to RDF. To avoid 
character encoding issues, we strongly recommend this value to be a 
reference to an already parsed XML document, and not a literal. In 
other words, use "Add SPARQL expression" from the drop down menu and 
enter ?varName and do not use a string value such as {?varName}. The 
actual document parsing should be handled by predecessing modules such 
as sml:ImportXMLFromURL.


sml:xmlType (xsd:string): [Optional] An (optional) type indicator for 
the Semantic XML conversion. Current supported values are "XHTML" 
(treats the input as HTML source, and may run a tidy algorithm in case 
the HTML is not well-formed XHTML).  "


I experimented with a few ways of processing the html to xml such as 
importTextFile and importXMLfile but I asssume because the html is not 
valid xml this doesn't work.


e.g.

warnings:ImportTextFile_2
  a sml:ImportTextFile ;
  sm:next warnings:Convert_html_XMLToRDF_2 ;
  sm:nodeX 617 ;
  sm:nodeY 39 ;
  sm:outputVariable "textOut" ;
  sml:sourceFilePath "mfu@id=4851.txt" ;
  rdfs:label "Import text file xml test" ;
.

# the xmlToRDF below fails. A character encoding issue by the looks. 
exception message Caused by: 
org.topbraid.spin.sparqlmotion.modules.SMException: 
org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 43; The 
reference to entity "l" must end with the ';' delimiter.


warnings:Convert_html_XMLToRDF_2
  a sml:ConvertXMLToRDF ;
  sm:nodeX 601 ;
  sm:nodeY 272 ;
  sml:baseURI "www.example2.com" ;
  sml:xml [
      sp:varName "textOut" ;
    ] ;
  sml:xmlType "xhtml" ;
  rdfs:label "Convert html XMLTo RDF 2" ;
.

--
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 topbraid-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/17f9a123-98b7-49e2-bc67-11524e0e1911%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google 

RE: [topbraid-users] ?issue

2019-09-09 Thread 'Bohms, H.M. (Michel)' via TopBraid Suite Users
Part of the issue indeed:

But: I have no error loading and when doubleclicking LoadLevel on the left, it 
does not appear in the middle..

[cid:image001.jpg@01D56728.0C6BC5C0]

# baseURI: https://w3id.org/def/example4
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/shacl#
# imports: https://w3id.org/def/basicsemantics-owl
# prefix: ex4

@prefix bs: <https://w3id.org/def/basicsemantics-owl#> .
@prefix cdt: <https://w3id.org/def/simple_custom_datatypes#> .
@prefix ex4: <https://w3id.org/def/example4#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix quantitykind: <http://qudt.org/2.0/vocab/quantitykind/base#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix unit: <http://qudt.org/2.0/vocab/unit/space-and-time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://w3id.org/def/example4>
  a owl:Ontology ;
  owl:imports <http://www.w3.org/2004/02/skos/core> ;
  owl:imports sh: ;
  owl:imports <https://w3id.org/def/basicsemantics-owl> ;
.
ex4:Vehicle
  rdf:type owl:Class ;
  rdfs:subClassOf bs:PhysicalObject ;
.
ex4:Vehicle_1
  rdf:type ex4:Vehicle ;
  bs:hasProperty ex4:LoadLevel_1 ;
.
ex4:LoadLevelType
  rdf:type owl:Class ;
  rdfs:subClassOf owl:Thing ;
  owl:oneOf (
  ex4:Light
  ex4:Normal
  ex4:Heavy
) ;
.
ex4:Light
  rdf:type ex4:LoadLevelType ;
.
ex4:Normal
  rdf:type ex4:LoadLevelType ;
.
ex4:Heavy
  rdf:type ex4:LoadLevelType ;
.
ex4:LoadLevel
  rdf:type owl:Class ;
  rdfs:subClassOf bs:TopRelation ;
  rdfs:subClassOf [
  rdf:type owl:Restriction ;
  owl:hasValue ex4:LoadLevelType ;
  owl:onProperty bs:hasRangeClass ;
] ;
.
ex4:LoadLevel_1
  rdf:type ex4:LoadLevel ;
  bs:hasReference ex4:Heavy;
.







Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist


T +31888663107
M +31630381220
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

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:image002.gif@01D56728.0C6BC5C0]<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: topbraid-users@googlegroups.com  On 
Behalf Of dprice
Sent: Monday, September 9, 2019 3:22 PM
To: topbraid-users@googlegroups.com
Subject: Re: [topbraid-users] ?issue

Hi Michel,

You’ve spelled it wrong in the instance LoadLevel vs. Loadlevel so  rdf:type 
ex4:Loadlevel is pointing to something that is not defined.

Not making data by hand editing text, which seems the likely underlying issue, 
will improve your changes of it being error-free.

Use Model, Find all locally defined resources in the future to find this kind 
of error.

Cheers,
David


On 9 Sep 2019, at 13:56, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
mailto:topbraid-users@googlegroups.com>> wrote:

Tbc is not showing type of LoadLevel in:

# baseURI: https://w3id.org/def/example4
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/shacl#<http://www.w3.org/ns/shacl>
# imports: https://w3id.org/def/basicsemantics-owl
# prefix: ex4

@prefix bs: 
<https://w3id.org/def/basicsemantics-owl#<https://w3id.org/def/basicsemantics-owl>>
 .
@prefix cdt: 
<https://w3id.org/def/simple_custom_datatypes#<https://w3id.org/def/simple_custom_datatypes>>
 .
@prefix ex4: <https://w3id.org/def/example3#<https://w3id.org/def/example3>> .
@prefix owl: <http://www.w3.org/2002/07/owl#<http://www.w3.org/2002/07/owl>> .
@prefix quantitykind: 
<http://qudt.org/2.0/vocab/quantitykind/base#<http://qudt.org/2.0/vocab/quantitykind/base>>
 .
@prefix rdf: 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#<http://www.w3.org/1999/02/22-rdf-syntax-ns>>
 .
@prefix rdfs: 
<http://www.w3.org/2000/01/rdf-schema#<http://www.w3.org/2000/01/rdf-schema>> .
@prefix sh: <http://www.w3.org/ns/shacl#<http://www.w3.org/ns/shacl>> .
@prefix skos: 
<http://www.w3.org/2004/02/skos/core#<http://www.w3.org/2004/02/skos/core>> .
@prefix unit: 
<http://qudt.org/2.0/vocab/unit/space-and-time#<http://qudt.org/2.0/vocab/unit/space-and-time>>
 .
@prefix xsd: 
<http://www.w3.org/2001/XMLSchema#<http://www.w3.org/2001/XMLSchema>> .

<https://w3id.org/def/example4>
  a 

Re: [topbraid-users] ?issue

2019-09-09 Thread dprice
Hi Michel,

You’ve spelled it wrong in the instance LoadLevel vs. Loadlevel so  rdf:type 
ex4:Loadlevel is pointing to something that is not defined.

Not making data by hand editing text, which seems the likely underlying issue, 
will improve your changes of it being error-free.

Use Model, Find all locally defined resources in the future to find this kind 
of error.

Cheers,
David

> On 9 Sep 2019, at 13:56, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Tbc is not showing type of LoadLevel in:
>  
> # baseURI: https://w3id.org/def/example4 
> # imports: http://www.w3.org/2004/02/skos/core 
> 
> # imports: http://www.w3.org/ns/shacl# 
> # imports: https://w3id.org/def/basicsemantics-owl 
> 
> # prefix: ex4
>  
> @prefix bs:  > .
> @prefix cdt:  > .
> @prefix ex4:  > .
> @prefix owl:  > .
> @prefix quantitykind:  > .
> @prefix rdf:  > .
> @prefix rdfs:  > .
> @prefix sh: > .
> @prefix skos:  > .
> @prefix unit:  > .
> @prefix xsd:  > .
>  
> >
>   a owl:Ontology ;
>   owl:imports  > ;
>   owl:imports sh: ;
>   owl:imports  > ;
> .
> ex4:Vehicle
>   rdf:type owl:Class ;
>   rdfs:subClassOf bs:PhysicalObject ;
> .
> ex4:Vehicle_1
>   rdf:type ex4:Vehicle ;
>   bs:hasProperty ex4:LoadLevel_1 ;
> .
> ex4:LoadLevelType
>   rdf:type owl:Class ;
>   rdfs:subClassOf owl:Thing ;
>   owl:oneOf (
>   ex4:Light
>   ex4:Normal
>   ex4:Heavy
> ) ;
> .
> ex4:Light
>   rdf:type ex4:LoadLevelType ;
> .
> ex4:Normal
>   rdf:type ex4:LoadLevelType ;
> .
> ex4:Heavy
>   rdf:type ex4:LoadLevelType ;
> .
> ex4:LoadLevel
>   rdf:type owl:Class ;
>   rdfs:subClassOf bs:TopRelation ;
>   rdfs:subClassOf [
>   rdf:type owl:Restriction ;
>   owl:hasValue ex4:LoadLevelType ;
>   owl:onProperty bs:hasRangeClass ;
> ] ;
> .
> ex4:LoadLevel_1
>   rdf:type ex4:Loadlevel ;
>   bs:hasReference ex4:Heavy;
> .
>  
>  
>  
>  
>  
>  
>  
> Dr. ir. H.M. (Michel) Böhms
> Senior Data Scientist
> 
> T +31888663107
> M +31630381220
> E michel.bo...@tno.nl 
> Location 
> 
> 
>  
>  
> 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 topbraid-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/6a33ef368ece42c6ac5989acbc476f2b%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/63204B16-04CD-412E-8E4C-A90FC6391FFE%40topquadrant.com.


Re: [topbraid-users] Issue when using parameters on SWP service

2018-10-31 Thread William Ramos
Sorry for the confusion, this time it is outside of the SERVICE block, but 
now the service gives me an error:

> An internal error has been reported by SWP engine of TopBraid Live
>
> Could not find registered ui:Element for 
> http://example.org/getTaxonomies#taxonomies
>


http://company.com:80/edg/tbl/sparql 

; {
rdf:nil teamwork:graphsUnderTeamControl ( ?projectGraph 
) .
GRAPH ?projectGraph {
?projectGraph a 
http://evn.topbraidlive.org/evnprojects#Taxonomy; .
?projectGraph rdfs:label ?name .
OPTIONAL {
?projectGraph 
http://topbraid.org/metadata#status; ?statusVar .
} .
OPTIONAL {
GRAPH http://topbraid.org/metadata; {
?statusVar rdfs:label ?statusLabel .
} .
} .
} .
} .
FILTER (?statusLabel = ?status) .
} }" ui:separator=",">







-- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [topbraid-users] Issue when using parameters on SWP service

2018-10-31 Thread William Ramos
Hi, Holger; I tried that resulting in the following code:


http://company.com:80/edg/tbl/sparql 

; {
rdf:nil teamwork:graphsUnderTeamControl ( ?projectGraph 
) .
GRAPH ?projectGraph {
?projectGraph a 
http://evn.topbraidlive.org/evnprojects#Taxonomy; .
?projectGraph rdfs:label ?name .
OPTIONAL {
?projectGraph 
http://topbraid.org/metadata#status; ?statusVar .
} .
OPTIONAL {
GRAPH http://topbraid.org/metadata; {
?statusVar rdfs:label ?statusLabel .
} .
} .
} .
FILTER (?statusLabel = ?status) .
} .
} }" ui:separator=",">







And it also produces an empty set as a response: *[ ]*


*Could it be something else?*

Thanks for the guidance.

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [topbraid-users] issue TBC embeding of html in rdf:HTML lexicals

2017-11-30 Thread Bohms, H.M. (Michel)
Thanks Holger, that did it! (it was the special quotes: like in: kennisveld 
“Bruggen en viaducten”)

[cid:image004.jpg@01D369BD.7FFCDD90]

You wouldn’t expect those quotes to be so special….guess because of standard 
utf-8.

Gr michel




Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist


T +31888663107
M +31630381220
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

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:image005.gif@01D369BD.7FFCDD90]<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: topbraid-users@googlegroups.com [mailto:topbraid-users@googlegroups.com] 
On Behalf Of Holger Knublauch
Sent: Wednesday, November 29, 2017 11:32 PM
To: topbraid-users@googlegroups.com
Subject: Re: [topbraid-users] issue TBC embeding of html in rdf:HTML lexicals

The error indicates a character encoding problem. This sometimes happens after 
editing TTL by hand (with the "wrong" editor). Could you try to enter this with 
TBC and do the save from there? To enter an rdf:HTML literal, either enter it 
as a string and then select Change Datatype > rdf:HTML from the context menu 
behind the value, or change the value type (rdfs:range, sh:datatype etc) to 
rdf:HTML and add a new row.

Holger


On 30/11/2017 6:30, Bohms, H.M. (Michel) wrote:
I have piece of HTML that reads fine in any browser. It is a table (without 
cell boundaries but that is another issue since some html class-info is not 
there).

If I copy this exact string in

  kebo:interpretationAndValidationOfResults """
copy here!
   """^^rdf:HTML ;

I hoped that TBC would accept it (and next evn would show it, the same way as 
the separate html code).

However, I get the tbc error:

at org.topbraidcomposer.core.io.TBCIO$2$1.run(TBCIO.java:423)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.charset.MalformedInputException: Input length = 1

I thought the triple quotes would be quite forgiving about the inner contents. 
Seems something IS however giving problems.
Could it be some empty lines or special characters?

Or is an html table simply to much asked?

Thx a lot for any advice!
Michel

Ps
(This is actually one of the last issues I have turning my complete semantic 
media wiki knowledge into linked data )







Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist



T +31888663107
M +31630381220
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

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:image005.gif@01D369BD.7FFCDD90]<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 
topbraid-users+unsubscr...@googlegroups.com<mailto:topbraid-users+unsubscr...@googlegroups.com>.
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 
topbraid-users+unsubscr...@googlegroups.com<mailto:topbraid-users+unsubscr...@googlegroups.com>.
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [topbraid-users] issue TBC embeding of html in rdf:HTML lexicals

2017-11-29 Thread Holger Knublauch
The error indicates a character encoding problem. This sometimes happens 
after editing TTL by hand (with the "wrong" editor). Could you try to 
enter this with TBC and do the save from there? To enter an rdf:HTML 
literal, either enter it as a string and then select Change Datatype > 
rdf:HTML from the context menu behind the value, or change the value 
type (rdfs:range, sh:datatype etc) to rdf:HTML and add a new row.


Holger



On 30/11/2017 6:30, Bohms, H.M. (Michel) wrote:


I have piece of HTML that reads fine in any browser. It is a table 
(without cell boundaries but that is another issue since some html 
class-info is not there).


If I copy this exact string in

kebo:interpretationAndValidationOfResults """

    copy here!

   """^^rdf:HTML ;

I hoped that TBC would accept it (and next evn would show it, the same 
way as the separate html code).


However, I get the tbc error:

    at 
org.topbraidcomposer.core.io.TBCIO$2$1.run(TBCIO.java:423)


    at java.lang.Thread.run(Thread.java:748)

Caused by: java.nio.charset.MalformedInputException: Input length = 1

I thought the triple quotes would be quite forgiving about the inner 
contents. Seems something IS however giving problems.


Could it be some empty lines or special characters?

Or is an html table simply to much asked?

Thx a lot for any advice!

Michel

Ps

(This is actually one of the last issues I have turning my complete 
semantic media wiki knowledge into linked data )




Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist



T +31888663107
M +31630381220
E michel.bo...@tno.nl 



Location 





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 topbraid-users+unsubscr...@googlegroups.com 
.

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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [topbraid-users] Issue when generating Ontology via Import XSD Schema Files

2017-05-01 Thread Holger Knublauch

Hi Dimitrios,

I can confirm the behavior, and did not come up with a "quick" 
work-around. I have filed this as an enhancement request in our internal 
bug tracker for the time being. We will let you know in case this is 
fixed. Meanwhile I am afraid you'd need to post-process these files or 
merge them into one namespace etc.


Thanks
Holger


On 2/05/2017 5:52, Dimitrios Tzannetos wrote:

Hi everyone.

I have been experimenting with Semantic XML in order to create RDF 
instances that correspond to the contents of an XML file. I discovered 
an issue when trying to generate a Schema Ontology  file with matching 
Semantic XML annotations using the appropriate XSD files. It seems 
that for every class, all generated properties reside in the same 
namespace. However, it might be the case that a tag in the XML file 
can have nested 'child' Datatype elements that are defined in a 
different namespace. Instead of attaching a Datatype property to the 
parent class, the Import Tool creates an owl:ObjectProperty in the 
namespace of the 'parent' that points to a Datatype Class in the 
child's namespace. However, the latter class is not defined anywhere 
and as a result the RDF instances are not populated correctly. I have 
attached two XSD files and a minimal XML sample that generates this 
issue.


In my example, for the sample XML


 xsi:schemaLocation="http://openadr.org/oadr-2.0b/2012/07 oadr_20b.xsd" 
 xmlns:pyld="http://docs.oasis-open.org/ns/energyinterop/201110/payloads; 
xmlns:oadr="http://openadr.org/oadr-2.0b/2012/07;  >

REQ_12345


the Import Tool generates the following definition for 
oadr:oadrDistributeEvent :




The highlighted payload:RequestID is not defined

I was hoping that the Import Tool would define the Datatype property 
in the child namespace, with the appropriate range, such as xsd:string 
in my example and attach it to the parent Class (shown below).






Best Regards,
Dimitrios Tzannetos



--
You received this message because you are subscribed to the Google 
Group "TopBraid Suite Users", the topics of which include the TopBraid 
Suite family of products and its base technologies such as 
SPARQLMotion, SPARQL Web Pages and SPIN.

To post to this group, send email to topbraid-users@googlegroups.com
---
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 topbraid-users+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Group "TopBraid 
Suite Users", the topics of which include the TopBraid Suite family of products and 
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [topbraid-users] Issue with EVN and .htm files in the workspace

2015-06-03 Thread Holger Knublauch

On 6/3/2015 22:39, J.REZZOUK wrote:

Hello,

In EVN we discovered that under certain circumstances the Includes 
(Includes vocabularies in the current Ontology by reference) 
functionality was very time consuming. This is due to the presence of 
.*htm *files in the workspace.
My understanding is that it is related to 
http://teamwork.topbraidlive.org/ontologyprojects#EditableImports 
where the query filter is only based on .html suffix ; it could be 
useful to add .htm suffix to this filter.


Makes sense, fixed for 5.0

Thanks,
Holger

--
You received this message because you are subscribed to the Google Group TopBraid 
Suite Users, the topics of which include Enterprise Vocabulary Network (EVN), 
Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.