Re: [topbraid-users] TBC-ME Crash during 'Create restriction' operation

2016-09-15 Thread Rich Keller
Thank you Holger! The property was supposed to be an ObjectProperty all
along. I didn't create it properly, and never noticed. The icon colors
should have tipped me off...  Rich

On Wed, Sep 14, 2016 at 5:35 PM, Holger Knublauch <hol...@topquadrant.com>
wrote:

> I can reproduce this issue. It's an "unfortunate" error handling in our
> code: attempts to assign a class (here: atm:NavigationFix) in an
> owl:allValuesFrom restriction on an owl:DatatypeProperty crashes. Creating
> such a constraint would be invalid, but the error message needs to improve.
> I have filed a corresponding enhancement request. Meanwhile, the
> work-around is to turn your property into an owl:ObjectProperty. Or did you
> intend atm:NavigationFix to be an rdfs:Datatype?
>
> Thanks
> Holger
>
>
>
> On 15/09/2016 1:53, Rich Keller wrote:
>
> Here is the trace from pressing enter with the text editor:
>
> !ENTRY org.topbraidcomposer.core 4 0 2016-09-14 08:48:10.112
> !MESSAGE Failed to execute operation
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at org.topbraid.core.change.AbstractChangeEngine.execute(
> AbstractChangeEngine.java:286)
> at org.topbraidcomposer.core.change.TBCChangeEngine.access$
> 0(TBCChangeEngine.java:1)
> at org.topbraidcomposer.core.change.TBCChangeEngine$2.run(
> TBCChangeEngine.java:155)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
> ModalContext.java:119)
> Caused by: org.eclipse.core.commands.ExecutionException: While executing
> the operation, an exception occurred
> at org.eclipse.core.commands.operations.DefaultOperationHistory.
> execute(DefaultOperationHistory.java:524)
> at org.topbraid.core.change.AbstractChangeEngine.execute(
> AbstractChangeEngine.java:272)
> ... 3 more
> Caused by: java.lang.IllegalStateException: we failed to create the
> object: org.topbraid.owl.man.parser.ParseException: Encountered "" at
> line 1, column 48.
> Was expecting one of:
>
> at org.topbraid.change.AddStatementChange.execute(
> AddStatementChange.java:65)
> at org.topbraid.core.change.ChangeOperation.execute(
> ChangeOperation.java:105)
> at org.eclipse.core.commands.operations.DefaultOperationHistory.
> execute(DefaultOperationHistory.java:516)
> ... 4 more
> Root exception:
> org.eclipse.core.commands.ExecutionException: While executing the
> operation, an exception occurred
> at org.eclipse.core.commands.operations.DefaultOperationHistory.
> execute(DefaultOperationHistory.java:524)
> at org.topbraid.core.change.AbstractChangeEngine.execute(
> AbstractChangeEngine.java:272)
> at org.topbraidcomposer.core.change.TBCChangeEngine.access$
> 0(TBCChangeEngine.java:1)
> at org.topbraidcomposer.core.change.TBCChangeEngine$2.run(
> TBCChangeEngine.java:155)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
> ModalContext.java:119)
> Caused by: java.lang.IllegalStateException: we failed to create the
> object: org.topbraid.owl.man.parser.ParseException: Encountered "" at
> line 1, column 48.
> Was expecting one of:
>
> at org.topbraid.change.AddStatementChange.execute(
> AddStatementChange.java:65)
> at org.topbraid.core.change.ChangeOperation.execute(
> ChangeOperation.java:105)
> at org.eclipse.core.commands.operations.DefaultOperationHistory.
> execute(DefaultOperationHistory.java:516)
> ... 4 more
>
>
> On Tuesday, September 13, 2016 at 8:15:12 PM UTC-7, Rich Keller wrote:
>>
>> When I press enter, it bombs with the same error trace as I sent before.
>> At least I think the trace is identical. Let me verify tomorrow. Rich
>>
>> On Sep 13, 2016, at 4:58 PM, Holger Knublauch <hol...@topquadrant.com>
>> wrote:
>>
>> I see nothing wrong. So what happens if (in your lower screenshot with
>> the text editor) press enter? It seems to parse it OK...
>>
>> Holger
>>
>>
>> On 14/09/2016 3:02, Rich Keller wrote:
>>
>> Holger: I'm attaching two screenshots: one using the add new row plus
>> Manchester Syntax for the restriction; the other using the GUI for entry of
>> the restriction. After completing the entry -- in either case -- the bug
>> manifests itself.
>>
>> You mentioned an issue with namespace prefixes. What is that issue? The
>> namespace situation and import structure is a bit complex in this case, so
>> if there is an issue you suspect, that is probably the problem. The
>> property being restricted is defined in a different namespace (atm:) than
>> the class being defined (data:).
>>
>> Please let me know if you need additional details.
>>
>>

Re: [topbraid-users] TBC-ME Crash during 'Create restriction' operation

2016-09-14 Thread Rich Keller
Here is the trace from pressing enter with the text editor:

!ENTRY org.topbraidcomposer.core 4 0 2016-09-14 08:48:10.112
!MESSAGE Failed to execute operation
!STACK 0
java.lang.reflect.InvocationTargetException
at 
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:286)
at 
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at 
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.core.commands.ExecutionException: While executing 
the operation, an exception occurred
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at 
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
... 3 more
Caused by: java.lang.IllegalStateException: we failed to create the object: 
org.topbraid.owl.man.parser.ParseException: Encountered "" at line 1, 
column 48.
Was expecting one of:

at 
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at 
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more
Root exception:
org.eclipse.core.commands.ExecutionException: While executing the 
operation, an exception occurred
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at 
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
at 
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at 
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.IllegalStateException: we failed to create the object: 
org.topbraid.owl.man.parser.ParseException: Encountered "" at line 1, 
column 48.
Was expecting one of:

at 
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at 
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more


On Tuesday, September 13, 2016 at 8:15:12 PM UTC-7, Rich Keller wrote:
>
> When I press enter, it bombs with the same error trace as I sent before. 
> At least I think the trace is identical. Let me verify tomorrow. Rich
>
> On Sep 13, 2016, at 4:58 PM, Holger Knublauch <hol...@topquadrant.com> 
> wrote:
>
> I see nothing wrong. So what happens if (in your lower screenshot with the 
> text editor) press enter? It seems to parse it OK...
>
> Holger
>
>
> On 14/09/2016 3:02, Rich Keller wrote:
>
> Holger: I'm attaching two screenshots: one using the add new row plus 
> Manchester Syntax for the restriction; the other using the GUI for entry of 
> the restriction. After completing the entry -- in either case -- the bug 
> manifests itself.
>
> You mentioned an issue with namespace prefixes. What is that issue? The 
> namespace situation and import structure is a bit complex in this case, so 
> if there is an issue you suspect, that is probably the problem. The 
> property being restricted is defined in a different namespace (atm:) than 
> the class being defined (data:).
>
> Please let me know if you need additional details.
>
> Thanks for your help, Rich
>
> On Mon, Sep 12, 2016 at 6:47 PM, Holger Knublauch <hol...@topquadrant.com> 
> wrote:
>
>> Hi Rich,
>>
>> I am not yet able to reproduce this, and will need more information.
>>
>> First, the work-around that SHOULD work is to enter the restriction 
>> direction using the Add new row text editor in OWL Manchester Syntax. For 
>> example, adding a min cardinality restriction:
>>
>> 
>>
>> Could you clarify what syntax you tried to enter? Could the issue be 
>> about namespace prefixes.
>>
>> Looking at the code of the dialog, one scenario where this could happen 
>> is if no property is selected, or the system cannot turn the dialog's 
>> content into valid OWL Manchester Syntax. Again, it would help if you can 
>> clarify what type of restriction you tried to enter. Could you make a 
>> screenshot of the dialog right before the crash?
>>
>> Thanks
>> Holger 
>>
>>
>>
>>
>> On 13/09/2016 8:14, Rich Keller wrote:
>>
>> Hi. I TBCME 5.1.4 (for Mac) is crashing for me when I attempt to add a 
>> restriction to a class via the UI (via th

Re: [topbraid-users] TBC-ME Crash during 'Create restriction' operation

2016-09-13 Thread Rich Keller
When I press enter, it bombs with the same error trace as I sent before. At 
least I think the trace is identical. Let me verify tomorrow. Rich

> On Sep 13, 2016, at 4:58 PM, Holger Knublauch <hol...@topquadrant.com> wrote:
> 
> I see nothing wrong. So what happens if (in your lower screenshot with the 
> text editor) press enter? It seems to parse it OK...
> 
> Holger
> 
> 
>> On 14/09/2016 3:02, Rich Keller wrote:
>> Holger: I'm attaching two screenshots: one using the add new row plus 
>> Manchester Syntax for the restriction; the other using the GUI for entry of 
>> the restriction. After completing the entry -- in either case -- the bug 
>> manifests itself.
>> 
>> You mentioned an issue with namespace prefixes. What is that issue? The 
>> namespace situation and import structure is a bit complex in this case, so 
>> if there is an issue you suspect, that is probably the problem. The property 
>> being restricted is defined in a different namespace (atm:) than the class 
>> being   defined (data:).
>> 
>> Please let me know if you need additional details.
>> 
>> Thanks for your help, Rich
>> 
>>> On Mon, Sep 12, 2016 at 6:47 PM, Holger Knublauch <hol...@topquadrant.com> 
>>> wrote:
>>> Hi Rich,
>>> 
>>> I am not yet able to reproduce this, and will need more information.
>>> 
>>> First, the work-around that SHOULD work is to enter the restriction 
>>> direction using the Add new row text editor in OWL Manchester Syntax. For 
>>> example, adding a min   cardinality restriction:
>>> 
>>> 
>>> 
>>> Could you clarify what syntax you tried to enter? Could the issue be about 
>>> namespace prefixes.
>>> 
>>> Looking at the code of the dialog, one scenario where this could happen is 
>>> if no property is selected, or the system cannot turn the dialog's content 
>>> into valid OWL Manchester Syntax. Again, it would help if you can clarify 
>>> what type of restriction you tried to enter. Could you make a screenshot of 
>>> the dialog right before the crash?
>>> 
>>> Thanks
>>> Holger
>>> 
>>> 
>>> 
>>> 
>>> On 13/09/2016 8:14, Rich Keller wrote:
>>>> Hi. I TBCME 5.1.4 (for Mac) is crashing for me when I attempt to add a 
>>>> restriction to a class via the UI (via the 'Create restriction' pulldown 
>>>> menu item under rdfs:subClassOf). I tried to enter the restriction by hand 
>>>> in the code, but TBC does not seem to parse/process/accept that code. The 
>>>> trace is below. Thanks for any help.  Rich
>>>> 
>>>> 
>>>> !ENTRY org.topbraidcomposer.core 4 0 2016-09-12 14:54:40.690
>>>> !MESSAGE Failed to execute operation
>>>> !STACK 0
>>>> java.lang.reflect.InvocationTargetException
>>>> at 
>>>> org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:286)
>>>> at 
>>>> org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
>>>> at 
>>>> org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
>>>> at 
>>>> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
>>>> Caused by: org.eclipse.core.commands.ExecutionException: While executing 
>>>> the operation, an exception occurred
>>>> at 
>>>> org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
>>>> at 
>>>> org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
>>>> ... 3 more
>>>> Caused by: java.lang.IllegalStateException: we failed to create the 
>>>> object: java.lang.IllegalStateException: objectProvider returned null
>>>> at 
>>>> org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
>>>> at 
>>>> org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
>>>> at 
>>>> org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
>>>> ... 4 more
>>>> Root exception:
>>>> org.eclipse.core.commands.ExecutionException: While executing the 
>>>> operation, an exception occurred
>>>> at 
>>>> org.eclipse.core.commands.operations.DefaultOperationHistory.execut

[topbraid-users] TBC-ME Crash during 'Create restriction' operation

2016-09-12 Thread Rich Keller
Hi. I TBCME 5.1.4 (for Mac) is crashing for me when I attempt to add a 
restriction to a class via the UI (via the 'Create restriction' pulldown 
menu item under rdfs:subClassOf). I tried to enter the restriction by hand 
in the code, but TBC does not seem to parse/process/accept that code. The 
trace is below. Thanks for any help.  Rich


!ENTRY org.topbraidcomposer.core 4 0 2016-09-12 14:54:40.690
!MESSAGE Failed to execute operation
!STACK 0
java.lang.reflect.InvocationTargetException
at 
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:286)
at 
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at 
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.core.commands.ExecutionException: While executing 
the operation, an exception occurred
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at 
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
... 3 more
Caused by: java.lang.IllegalStateException: we failed to create the object: 
java.lang.IllegalStateException: objectProvider returned null
at 
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at 
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more
Root exception:
org.eclipse.core.commands.ExecutionException: While executing the 
operation, an exception occurred
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at 
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
at 
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at 
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.IllegalStateException: we failed to create the object: 
java.lang.IllegalStateException: objectProvider returned null
at 
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at 
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at 
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more

-- 
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.


[topbraid-users] Re: Top Braid AllegroGraph intergration

2015-10-19 Thread Rich Keller
I have the same need as Shreelakshmi, and the same problem. The plugin and 
documentation seems oriented toward exporting data from TBC to 
AllegroGraph, rather than accessing AllegroGraph triples from within TBC. I 
asked for help on the Franz/AllegroGraph side and I'm awaiting a response.  
Rich

On Monday, October 19, 2015 at 2:03:31 AM UTC-7, Shreelakshmi G.M wrote:
>
> Thanks Holger,
>
> I could do File > Export > Export/Merge/Convert RDF Graphs to .nt file, 
> but still, the file has only 1 triple, i.e 
>   <
> http://www.w3.org/2002/07/owl#Ontology> .
> nothing is there other than this.
>
> - Shreelakshmi
>
> On Monday, 19 October 2015 12:14:35 UTC+5:30, Shreelakshmi G.M wrote:
>>
>> I need to access the data already stored in AllegroGraph in Top Braid 
>> Composer.
>> By following already existing posts here, what I did was, File -> New -> 
>> RDF/OWL AllegroGraph 4 Database Connection in Top braid,
>> a file with extension .ag4 is created, but there are no triples for the 
>> database contents in this file, only triples for the connection parameters 
>> are created.
>> I need access for the entire database in Top Braid. How can I proceed 
>> further.
>>
>> -Shreelakshmi
>>
>

-- 
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.


Re: [topbraid-users] Debugging Sesame 2 repository connection error

2015-04-06 Thread Rich Keller
Holger: No, we are using 2.7.8. Rich

On Friday, April 3, 2015 at 8:32:07 PM UTC-7, Holger Knublauch wrote:

  Hi Rich,

 sorry if this had been clarified already, but can you confirm that you are 
 using a matching Sesame server version: TopBraid expects Sesame 2.6, as 
 they may have changed their communication protocol between versions.

 Thanks,
 Holger



 On 4/4/15 2:02 AM, Rich Keller wrote:
  
 Just a followup on this issue. I searched for and removed all the 
 resources that started with a numeric character and reloaded a fresh Sesame 
 repository. But I got the same type of error (below) as when trying to 
 establish the TBC connector before. This leads me to wonder whether the 
 leading numeric character on the resource URL is actually the problem.

 Scott: Any further progress on your side?

 Rich

 eclipse.buildId=unknown
 java.version=1.7.0_67
 java.vendor=Oracle Corporation
 BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

 Error
 Fri Apr 03 08:56:45 PDT 2015
 ERROR [Thread-13] (ParseErrorLogger.java:32) - [Rio fatal] Illegal 
 predicate value: 1^^http://www.w3.org/2001/XMLSchema#integer 
 http://www.w3.org/2001/XMLSchema#integer (5265898, -1)



 On Tuesday, March 24, 2015 at 9:28:30 AM UTC-7, Rich Keller wrote: 

 Thanks all, for the discussion and the experiment Scott performed. It 
 seems likely you have identified the problem, but I'm not sure where the 
 suspect URI is coming from in my files. I certainly didn't (intentionally) 
 create a predicate starting with a number. When I query both the TBC 
 repository and the Sesame repository (which is based on the same input 
 files that TBC reads) neither returns any suspect predicates. However, I do 
 have a resource with a URI of the form: 
 http://support.tc.com/on/NAS#4AAair.  (This URI is used as a subject, 
 not a predicate.)

 I am in the dark about how the TBC connector is programmatically set up 
 and what exactly is being parsed when the error surfaces. Doesn't TBC issue 
 SPARQL queries against Sesame to retrieve whatever data it needs? Why is a 
 large file being parsed? 

 Rich

 On Monday, March 23, 2015 at 9:17:13 PM UTC-7, Scott Henninger wrote: 

 An update: We do have a way to reproduce the issue reported by Rich. 
  Basically, we can 
 create a RDF file with a URI such as http://support.tq.com/unnamed#1. 
  This all works OK 
 in Composer and we can export the file to a Sesame repository.  However 
 when we try to 
 create a connector to that repository the... 

 [Rio fatal] Illegal 
 predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 


 ...error occurs, where 4 is replaced by 1 in the 
 http://support.tq.com/unnamed#1.   
 We are tracking down the error now and will update this group when we 
 have more information. 

 -- Scott 

 On 3/23/2015 6:41 PM, Peter Ansell wrote: 
  Hi Scott, 
  
  Definitely file a bug with Sesame (and assign to me) if you have 
  testcases where the Rio parsers have bugs. 
  
  Thanks, 
  
  Peter 
  
  On 24 March 2015 at 09:55, Scott Henninger shenn...@topquadrant.com 
 wrote: 
  Hello, Rich; Is it the case that the names of some of your property 
 URIs 
  start with numbers, such as http://example.org/4321?  In the past 
 we have 
  found that while this causes no problems in TopBraid and other 
 back-ends, it 
  can parse this in Sesame as: 
 http://example.org/ 4321^^xsd:string 
  
  If you could check whether this is the case, we can take a closer 
 look for 
  how to address the problem. 
  
  -- Scott 
  
  
  On 3/23/2015 12:15 PM, Rich Keller wrote: 
  
  I am having trouble creating a Sesame 2 repository connection with 
 TBC-SE 
  v4.6.2. When I establish the connection, I get a popup error window 
 saying 
  ‘unexpected error’, but the window is visible only for a second so I 
 can’t 
  make out any details. In the log, the following error is reported: 
  
  !ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571 
  !MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] 
 Illegal 
  predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 
 (573510, 
  -1) 
  
  So apparently a literal is being parsed in the position of a 
 predicate. The 
  full log message is below.  I don’t understand what queries TBC sends 
 to 
  Sesame or exactly what is being parsed when this error appears (in 
 line 
  573510, so it seems). This makes it difficult to debug. Any 
 suggestions? 
  
  Thanks, 
  Rich 
  
   
  
  !ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571 
  !MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] 
 Illegal 
  predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 
 (573510, 
  -1) 
  
  
  !ENTRY org.topbraid.sesame2 2 0 2015-03-23 09:57:04.043 
  !MESSAGE Error reported from Sesame 
  !STACK 0 
  org.openrdf.repository.RepositoryException: Malformed query result 
 from 
  server 
   at 
 org.openrdf.http.client.HTTPClient.getRDF(HTTPClient.java:1169

Re: [topbraid-users] Debugging Sesame 2 repository connection error

2015-04-03 Thread Rich Keller
Just a followup on this issue. I searched for and removed all the resources 
that started with a numeric character and reloaded a fresh Sesame 
repository. But I got the same type of error (below) as when trying to 
establish the TBC connector before. This leads me to wonder whether the 
leading numeric character on the resource URL is actually the problem.

Scott: Any further progress on your side?

Rich

eclipse.buildId=unknown
java.version=1.7.0_67
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

Error
Fri Apr 03 08:56:45 PDT 2015
ERROR [Thread-13] (ParseErrorLogger.java:32) - [Rio fatal] Illegal 
predicate value: 1^^http://www.w3.org/2001/XMLSchema#integer (5265898, 
-1)



On Tuesday, March 24, 2015 at 9:28:30 AM UTC-7, Rich Keller wrote:

 Thanks all, for the discussion and the experiment Scott performed. It 
 seems likely you have identified the problem, but I'm not sure where the 
 suspect URI is coming from in my files. I certainly didn't (intentionally) 
 create a predicate starting with a number. When I query both the TBC 
 repository and the Sesame repository (which is based on the same input 
 files that TBC reads) neither returns any suspect predicates. However, I do 
 have a resource with a URI of the form: 
 http://support.tc.com/on/NAS#4AAair.  (This URI is used as a subject, 
 not a predicate.)

 I am in the dark about how the TBC connector is programmatically set up 
 and what exactly is being parsed when the error surfaces. Doesn't TBC issue 
 SPARQL queries against Sesame to retrieve whatever data it needs? Why is a 
 large file being parsed? 

 Rich

 On Monday, March 23, 2015 at 9:17:13 PM UTC-7, Scott Henninger wrote:

 An update: We do have a way to reproduce the issue reported by Rich. 
  Basically, we can 
 create a RDF file with a URI such as http://support.tq.com/unnamed#1. 
  This all works OK 
 in Composer and we can export the file to a Sesame repository.  However 
 when we try to 
 create a connector to that repository the... 

 [Rio fatal] Illegal 
 predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 


 ...error occurs, where 4 is replaced by 1 in the 
 http://support.tq.com/unnamed#1.   
 We are tracking down the error now and will update this group when we 
 have more information. 

 -- Scott 

 On 3/23/2015 6:41 PM, Peter Ansell wrote: 
  Hi Scott, 
  
  Definitely file a bug with Sesame (and assign to me) if you have 
  testcases where the Rio parsers have bugs. 
  
  Thanks, 
  
  Peter 
  
  On 24 March 2015 at 09:55, Scott Henninger shenn...@topquadrant.com 
 wrote: 
  Hello, Rich; Is it the case that the names of some of your property 
 URIs 
  start with numbers, such as http://example.org/4321?  In the past 
 we have 
  found that while this causes no problems in TopBraid and other 
 back-ends, it 
  can parse this in Sesame as: 
 http://example.org/ 4321^^xsd:string 
  
  If you could check whether this is the case, we can take a closer look 
 for 
  how to address the problem. 
  
  -- Scott 
  
  
  On 3/23/2015 12:15 PM, Rich Keller wrote: 
  
  I am having trouble creating a Sesame 2 repository connection with 
 TBC-SE 
  v4.6.2. When I establish the connection, I get a popup error window 
 saying 
  ‘unexpected error’, but the window is visible only for a second so I 
 can’t 
  make out any details. In the log, the following error is reported: 
  
  !ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571 
  !MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] 
 Illegal 
  predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 
 (573510, 
  -1) 
  
  So apparently a literal is being parsed in the position of a 
 predicate. The 
  full log message is below.  I don’t understand what queries TBC sends 
 to 
  Sesame or exactly what is being parsed when this error appears (in 
 line 
  573510, so it seems). This makes it difficult to debug. Any 
 suggestions? 
  
  Thanks, 
  Rich 
  
   
  
  !ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571 
  !MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] 
 Illegal 
  predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 
 (573510, 
  -1) 
  
  
  !ENTRY org.topbraid.sesame2 2 0 2015-03-23 09:57:04.043 
  !MESSAGE Error reported from Sesame 
  !STACK 0 
  org.openrdf.repository.RepositoryException: Malformed query result 
 from 
  server 
   at 
 org.openrdf.http.client.HTTPClient.getRDF(HTTPClient.java:1169) 
   at 
 org.openrdf.http.client.HTTPClient.getStatements(HTTPClient.java:676) 
   at 
  
 org.openrdf.repository.http.HTTPRepositoryConnection.exportStatements(HTTPRepositoryConnection.java:283)
  

   at 
  
 org.openrdf.repository.http.HTTPRepositoryConnection.getStatements(HTTPRepositoryConnection.java:269)
  

   at 
  
 org.topbraid.sesame2.graph.RepositoryGraph.graphBaseFind(RepositoryGraph.java:95

Re: [topbraid-users] Debugging Sesame 2 repository connection error

2015-03-24 Thread Rich Keller
Thanks all, for the discussion and the experiment Scott performed. It seems 
likely you have identified the problem, but I'm not sure where the suspect 
URI is coming from in my files. I certainly didn't (intentionally) create a 
predicate starting with a number. When I query both the TBC repository and 
the Sesame repository (which is based on the same input files that TBC 
reads) neither returns any suspect predicates. However, I do have a 
resource with a URI of the form: http://support.tc.com/on/NAS#4AAair.  
(This URI is used as a subject, not a predicate.)

I am in the dark about how the TBC connector is programmatically set up and 
what exactly is being parsed when the error surfaces. Doesn't TBC issue 
SPARQL queries against Sesame to retrieve whatever data it needs? Why is a 
large file being parsed? 

Rich

On Monday, March 23, 2015 at 9:17:13 PM UTC-7, Scott Henninger wrote:

 An update: We do have a way to reproduce the issue reported by Rich. 
  Basically, we can 
 create a RDF file with a URI such as http://support.tq.com/unnamed#1. 
  This all works OK 
 in Composer and we can export the file to a Sesame repository.  However 
 when we try to 
 create a connector to that repository the... 

 [Rio fatal] Illegal 
 predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 


 ...error occurs, where 4 is replaced by 1 in the 
 http://support.tq.com/unnamed#1.   
 We are tracking down the error now and will update this group when we have 
 more information. 

 -- Scott 

 On 3/23/2015 6:41 PM, Peter Ansell wrote: 
  Hi Scott, 
  
  Definitely file a bug with Sesame (and assign to me) if you have 
  testcases where the Rio parsers have bugs. 
  
  Thanks, 
  
  Peter 
  
  On 24 March 2015 at 09:55, Scott Henninger shenn...@topquadrant.com 
 javascript: wrote: 
  Hello, Rich; Is it the case that the names of some of your property 
 URIs 
  start with numbers, such as http://example.org/4321?  In the past we 
 have 
  found that while this causes no problems in TopBraid and other 
 back-ends, it 
  can parse this in Sesame as: 
 http://example.org/ 4321^^xsd:string 
  
  If you could check whether this is the case, we can take a closer look 
 for 
  how to address the problem. 
  
  -- Scott 
  
  
  On 3/23/2015 12:15 PM, Rich Keller wrote: 
  
  I am having trouble creating a Sesame 2 repository connection with 
 TBC-SE 
  v4.6.2. When I establish the connection, I get a popup error window 
 saying 
  ‘unexpected error’, but the window is visible only for a second so I 
 can’t 
  make out any details. In the log, the following error is reported: 
  
  !ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571 
  !MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] 
 Illegal 
  predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 
 (573510, 
  -1) 
  
  So apparently a literal is being parsed in the position of a predicate. 
 The 
  full log message is below.  I don’t understand what queries TBC sends 
 to 
  Sesame or exactly what is being parsed when this error appears (in line 
  573510, so it seems). This makes it difficult to debug. Any 
 suggestions? 
  
  Thanks, 
  Rich 
  
   
  
  !ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571 
  !MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] 
 Illegal 
  predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer 
 (573510, 
  -1) 
  
  
  !ENTRY org.topbraid.sesame2 2 0 2015-03-23 09:57:04.043 
  !MESSAGE Error reported from Sesame 
  !STACK 0 
  org.openrdf.repository.RepositoryException: Malformed query result from 
  server 
   at org.openrdf.http.client.HTTPClient.getRDF(HTTPClient.java:1169) 
   at 
 org.openrdf.http.client.HTTPClient.getStatements(HTTPClient.java:676) 
   at 
  
 org.openrdf.repository.http.HTTPRepositoryConnection.exportStatements(HTTPRepositoryConnection.java:283)
  

   at 
  
 org.openrdf.repository.http.HTTPRepositoryConnection.getStatements(HTTPRepositoryConnection.java:269)
  

   at 
  
 org.topbraid.sesame2.graph.RepositoryGraph.graphBaseFind(RepositoryGraph.java:95)
  

   at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:268) 
   at 
  
 org.topbraid.core.graph.concurrent.ThreadSafeGraph.threadSafeFind(ThreadSafeGraph.java:250)
  

   at 
  
 org.topbraid.core.graph.concurrent.ThreadSafeGraph.find(ThreadSafeGraph.java:240)
  

   at 
  org.topbraid.core.graph.CachingGraph.addToCache(CachingGraph.java:145) 
   at 
  
 org.topbraid.core.graph.AbstractCachingGraph.find(AbstractCachingGraph.java:127)
  

   at 
  
 org.topbraid.core.graph.AbstractCachingGraph.find(AbstractCachingGraph.java:120)
  

   at 
  
 org.topbraidcomposer.core.registry.TBCCachingGraph.rebuildCache(TBCCachingGraph.java:114)
  

   at 
  
 org.topbraidcomposer.core.registry.TBCCachingGraph.init(TBCCachingGraph.java:46

[topbraid-users] Debugging Sesame 2 repository connection error

2015-03-23 Thread Rich Keller
I am having trouble creating a Sesame 2 repository connection with TBC-SE 
v4.6.2. When I establish the connection, I get a popup error window saying 
‘unexpected error’, but the window is visible only for a second so I can’t 
make out any details. In the log, the following error is reported:

!ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571
!MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] Illegal 
predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer (573510, 
-1)

So apparently a literal is being parsed in the position of a predicate. The 
full log message is below.  I don’t understand what queries TBC sends to 
Sesame or exactly what is being parsed when this error appears (in line 
573510, so it seems). This makes it difficult to debug. Any suggestions?

Thanks,
Rich



!ENTRY org.topbraid.eclipsex 4 0 2015-03-23 09:57:03.571
!MESSAGE ERROR [Thread-16] (ParseErrorLogger.java:32) - [Rio fatal] Illegal 
predicate value: 4^^http://www.w3.org/2001/XMLSchema#integer (573510, 
-1)


!ENTRY org.topbraid.sesame2 2 0 2015-03-23 09:57:04.043
!MESSAGE Error reported from Sesame
!STACK 0
org.openrdf.repository.RepositoryException: Malformed query result from 
server
at org.openrdf.http.client.HTTPClient.getRDF(HTTPClient.java:1169)
at org.openrdf.http.client.HTTPClient.getStatements(HTTPClient.java:676)
at 
org.openrdf.repository.http.HTTPRepositoryConnection.exportStatements(HTTPRepositoryConnection.java:283)
at 
org.openrdf.repository.http.HTTPRepositoryConnection.getStatements(HTTPRepositoryConnection.java:269)
at 
org.topbraid.sesame2.graph.RepositoryGraph.graphBaseFind(RepositoryGraph.java:95)
at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:268)
at 
org.topbraid.core.graph.concurrent.ThreadSafeGraph.threadSafeFind(ThreadSafeGraph.java:250)
at 
org.topbraid.core.graph.concurrent.ThreadSafeGraph.find(ThreadSafeGraph.java:240)
at 
org.topbraid.core.graph.CachingGraph.addToCache(CachingGraph.java:145)
at 
org.topbraid.core.graph.AbstractCachingGraph.find(AbstractCachingGraph.java:127)
at 
org.topbraid.core.graph.AbstractCachingGraph.find(AbstractCachingGraph.java:120)
at 
org.topbraidcomposer.core.registry.TBCCachingGraph.rebuildCache(TBCCachingGraph.java:114)
at 
org.topbraidcomposer.core.registry.TBCCachingGraph.init(TBCCachingGraph.java:46)
at 
org.topbraidcomposer.editors.utils.AbstractTBCPersonality.createCachingGraph(AbstractTBCPersonality.java:126)
at org.topbraid.core.io.IO.loadAndRegister(IO.java:322)
at org.topbraid.core.io.IO.load(IO.java:292)
at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:334)
at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:369)
at org.topbraidcomposer.core.io.TBCIO$2$1.run(TBCIO.java:420)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openrdf.rio.RDFParseException: Illegal predicate value: 
4^^http://www.w3.org/2001/XMLSchema#integer [line 573510]
at 
org.openrdf.rio.helpers.RDFParserBase.reportFatalError(RDFParserBase.java:525)
at 
org.openrdf.rio.turtle.TurtleParser.reportFatalError(TurtleParser.java:1107)
at 
org.openrdf.rio.turtle.TurtleParser.parsePredicate(TurtleParser.java:394)
at 
org.openrdf.rio.turtle.TurtleParser.parsePredicateObjectList(TurtleParser.java:309)
at 
org.openrdf.rio.turtle.TurtleParser.parseTriples(TurtleParser.java:299)
at org.openrdf.rio.trig.TriGParser.parseGraph(TriGParser.java:142)
at org.openrdf.rio.trig.TriGParser.parseStatement(TriGParser.java:89)
at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:184)
at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:129)
at org.openrdf.http.client.HTTPClient.getRDF(HTTPClient.java:1163)
... 19 more

!ENTRY org.topbraidcomposer.core 4 0 2015-03-23 09:57:04.547
!MESSAGE Could not load /DW/atmonto.s2r or one of its imports.
The most recent URI was http://SERVER OMITTED 
HERE/openrdf-sesame/repositories/atm
!STACK 0
java.lang.reflect.InvocationTargetException
at org.topbraidcomposer.core.io.TBCIO$2.run(TBCIO.java:493)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.hp.hpl.jena.shared.ClosedException: Sesame reports 
org.openrdf.repository.RepositoryException: Malformed query result from 
server (See error log for details)
at 
org.topbraid.sesame2.graph.RepositoryGraph.graphBaseFind(RepositoryGraph.java:100)
at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:268)
at 
org.topbraid.core.graph.concurrent.ThreadSafeGraph.threadSafeFind(ThreadSafeGraph.java:250)
at 
org.topbraid.core.graph.concurrent.ThreadSafeGraph.find(ThreadSafeGraph.java:240)
at 
org.topbraid.core.graph.CachingGraph.addToCache(CachingGraph.java:145)
at 
org.topbraid.core.graph.AbstractCachingGraph.find(AbstractCachingGraph.java:127)
at 

Re: [topbraid-users] User-defined SPIN function: no factory

2015-01-12 Thread Rich Keller
Thanks Scott for that clarification on the .spin extension. As my function 
does not need to be used elsewhere, I reverted back to my original file, 
except that I made the function an instance of spin:Function, as Holger 
indicated. After this change, the function was properly registered. Re: the 
lack of owl:Ontology, yes my mistake.  Rich

On Friday, January 9, 2015 at 12:42:28 PM UTC-8, Scott Henninger wrote:

  Hello Rich;  On the differences with the .spin files, the 
 kennedysSPIN.ttl under TopBraid/Examples file does not define SPIN 
 functions that will be used in other files.  All the .spin does is to 
 register functions so that it can be used in other workspace contexts, such 
 as a file that imports the SPIN function definition(s).

 In terms of the Ontology Overview page, chances are that your file lacks a 
 owl:Ontology triple.  If you use New  RDF/OWL/SPIN File the owl:Ontology 
 triple will be created automatically.

 -- Scott

 On 1/9/2015 2:29 PM, Rich Keller wrote:
  
 Holger: Thanks for your response. I was able to get my SPIN function to 
 run following your advice (though the function does not do what I want -- 
 that's another story). However I'm not clear that things are configured 
 properly with my .spin.ttl file. I didn't find very specific TBC 
 documentation on this topic (the SPIN tutorial is too high-level), so I 
 looked for inspiration and examples to emulate, in particular looking at 
 spl.spin.ttl under TopBraid/SPIN and kennedysSPIN.ttl under 
 TopBraid/Examples. Although these two files have the same format, I don't 
 understand why kennedysSPIN.ttl doesn't follow the file extension 
 convention you mentioned, e.g., kennedys.spin.ttl. More of a concern is 
 that my .spin.ttl file does not display in TBC as the other two do. These 
 others each display an 'Ontology Overview' page in TBC; mine only displays 
 a 'Resource Form' when I click on the home icon. The resource is not 
 recognized as a local resource (it is in red in the tool bar).


 Here is the preamble to my myFunctions.spin.ttl file:

 # baseURI: http://INSERT-PATH-HERE/myFunctions
 # imports: http://spinrdf.org/spin

 @prefix data: http://INSERT-PATH-HERE/data# 
 http://INSERT-PATH-HERE/data# .
 @prefix owl: http://www.w3.org/2002/07/owl# 
 http://www.w3.org/2002/07/owl# .
 @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 sp: http://spinrdf.org/sp# http://spinrdf.org/sp# .
 @prefix spin: http://spinrdf.org/spin# http://spinrdf.org/spin# .
 @prefix spl: http://spinrdf.org/spl# http://spinrdf.org/spl# .
 @prefix xsd: http://www.w3.org/2001/XMLSchema# 
 http://www.w3.org/2001/XMLSchema# .

 What am I doing wrong?

 Rich

 On Thursday, January 8, 2015 at 3:30:17 PM UTC-8, Holger Knublauch wrote: 

  First you should make sure that the SPIN function is stored in a file 
 ending with .spin.* so that it will be picked up when the system starts. To 
 make sure it got registered, a restart also helps.

 Also the function must be an instance of spin:Function, not rdf:type 
 owl:Class (first row of your Turtle snippet below).

 Please get back to us if this does not resolve the issue.

 Thanks,
 Holger


 On 1/9/15, 9:23 AM, Rich Keller wrote:
  
 Hi. I am getting the following error when performing inferencing:

  WARN [Thread-25] (E_Function.java:89) - URI 
 http://INSERT-PATH-HERE/data#dailyWITIcalc 
 http://INSERT-PATH-HERE/data#dailyWITIcalc has no registered function 
 factory

 The function data:dailyWITIcalc is SPIN function that I created. 
 Presumably it is not properly defined. How do I go about debugging this 
 error?

 I am using TBC-SE v.4.5.0 on a Mac.

 Thanks, Rich

 PS: The function definition is below.

 data:dailyWITIcalc  aowl:Class ;
 rdfs:label   dailyWITIcalc^^xsd:string ;
 rdfs:subClassOf  spin:Functions ;
 spin:body[ a   sp:Select ;
sp:resultVariables  ( [ sp:expression  [ 
 a  sp:Sum ;
 
 sp:expression  [ sp:varName  hourlyWITI^^xsd:string ]
   ] ;
sp:varName 
 dailyWITI^^xsd:string
  ] ) ;
sp:where( [ sp:object 
 data:ASPMhourlyARecord ;
sp:predicate  rdf:type 
 ;
sp:subject[ 
 sp:varName  hourlyData^^xsd:string ]
  ] [ sp:object [ 
 sp:varName  nasday^^xsd:string ] ;
  sp:predicate  
 data:reportingNday

Re: [topbraid-users] User-defined SPIN function: no factory

2015-01-09 Thread Rich Keller
Holger: Thanks for your response. I was able to get my SPIN function to run 
following your advice (though the function does not do what I want -- 
that's another story). However I'm not clear that things are configured 
properly with my .spin.ttl file. I didn't find very specific TBC 
documentation on this topic (the SPIN tutorial is too high-level), so I 
looked for inspiration and examples to emulate, in particular looking at 
spl.spin.ttl under TopBraid/SPIN and kennedysSPIN.ttl under 
TopBraid/Examples. Although these two files have the same format, I don't 
understand why kennedysSPIN.ttl doesn't follow the file extension 
convention you mentioned, e.g., kennedys.spin.ttl. More of a concern is 
that my .spin.ttl file does not display in TBC as the other two do. These 
others each display an 'Ontology Overview' page in TBC; mine only displays 
a 'Resource Form' when I click on the home icon. The resource is not 
recognized as a local resource (it is in red in the tool bar).


Here is the preamble to my myFunctions.spin.ttl file:

# baseURI: http://INSERT-PATH-HERE/myFunctions
# imports: http://spinrdf.org/spin

@prefix data: http://INSERT-PATH-HERE/data# .
@prefix owl: http://www.w3.org/2002/07/owl# .
@prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# .
@prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .
@prefix sp: http://spinrdf.org/sp# .
@prefix spin: http://spinrdf.org/spin# .
@prefix spl: http://spinrdf.org/spl# .
@prefix xsd: http://www.w3.org/2001/XMLSchema# .

What am I doing wrong?

Rich

On Thursday, January 8, 2015 at 3:30:17 PM UTC-8, Holger Knublauch wrote:

  First you should make sure that the SPIN function is stored in a file 
 ending with .spin.* so that it will be picked up when the system starts. To 
 make sure it got registered, a restart also helps.

 Also the function must be an instance of spin:Function, not rdf:type 
 owl:Class (first row of your Turtle snippet below).

 Please get back to us if this does not resolve the issue.

 Thanks,
 Holger


 On 1/9/15, 9:23 AM, Rich Keller wrote:
  
 Hi. I am getting the following error when performing inferencing:

  WARN [Thread-25] (E_Function.java:89) - URI 
 http://INSERT-PATH-HERE/data#dailyWITIcalc 
 http://INSERT-PATH-HERE/data#dailyWITIcalc has no registered function 
 factory

 The function data:dailyWITIcalc is SPIN function that I created. 
 Presumably it is not properly defined. How do I go about debugging this 
 error?

 I am using TBC-SE v.4.5.0 on a Mac.

 Thanks, Rich

 PS: The function definition is below.

 data:dailyWITIcalc  aowl:Class ;
 rdfs:label   dailyWITIcalc^^xsd:string ;
 rdfs:subClassOf  spin:Functions ;
 spin:body[ a   sp:Select ;
sp:resultVariables  ( [ sp:expression  [ 
 a  sp:Sum ;
 
 sp:expression  [ sp:varName  hourlyWITI^^xsd:string ]
   ] ;
sp:varName 
 dailyWITI^^xsd:string
  ] ) ;
sp:where( [ sp:object 
 data:ASPMhourlyARecord ;
sp:predicate  rdf:type ;
sp:subject[ 
 sp:varName  hourlyData^^xsd:string ]
  ] [ sp:object [ 
 sp:varName  nasday^^xsd:string ] ;
  sp:predicate  
 data:reportingNday ;
  sp:subject
 spin:_arg1
] [ sp:object 
 spin:_arg1 ;
sp:predicate  
 data:hasWITIdata ;
sp:subject[ 
 sp:varName  air^^xsd:string ]
  ] [ sp:object [ 
 sp:varName  hourlyData^^xsd:string ] ;
  sp:predicate  
 data:hasASPMhourlyData ;
  sp:subject[ 
 sp:varName  air^^xsd:string ]
] [ sp:object [ 
 sp:varName  nasday^^xsd:string ] ;
sp:predicate  
 data:reportingNday ;
sp:subject[ 
 sp:varName  hourlyData^^xsd:string ]
  ] [ sp:object 
 [ sp:varName  hourlyWITI^^xsd:string ] ;
  sp:predicate  
 spin:_arg2 ;
  sp:subject
 [ sp:varName  hourlyData^^xsd:string

[topbraid-users] User-defined SPIN function: no factory

2015-01-08 Thread Rich Keller
Hi. I am getting the following error when performing inferencing:

 WARN [Thread-25] (E_Function.java:89) - URI 
http://INSERT-PATH-HERE/data#dailyWITIcalc has no registered function 
factory

The function data:dailyWITIcalc is SPIN function that I created. Presumably 
it is not properly defined. How do I go about debugging this error?

I am using TBC-SE v.4.5.0 on a Mac.

Thanks, Rich

PS: The function definition is below.

data:dailyWITIcalc  aowl:Class ;
rdfs:label   dailyWITIcalc^^xsd:string ;
rdfs:subClassOf  spin:Functions ;
spin:body[ a   sp:Select ;
   sp:resultVariables  ( [ sp:expression  [ 
a  sp:Sum ;

sp:expression  [ sp:varName  hourlyWITI^^xsd:string ]
  ] ;
   sp:varName 
dailyWITI^^xsd:string
 ] ) ;
   sp:where( [ sp:object 
data:ASPMhourlyARecord ;
   sp:predicate  rdf:type ;
   sp:subject[ 
sp:varName  hourlyData^^xsd:string ]
 ] [ sp:object [ 
sp:varName  nasday^^xsd:string ] ;
 sp:predicate  
data:reportingNday ;
 sp:subject
spin:_arg1
   ] [ sp:object 
spin:_arg1 ;
   sp:predicate  
data:hasWITIdata ;
   sp:subject[ 
sp:varName  air^^xsd:string ]
 ] [ sp:object [ 
sp:varName  hourlyData^^xsd:string ] ;
 sp:predicate  
data:hasASPMhourlyData ;
 sp:subject[ 
sp:varName  air^^xsd:string ]
   ] [ sp:object [ 
sp:varName  nasday^^xsd:string ] ;
   sp:predicate  
data:reportingNday ;
   sp:subject[ 
sp:varName  hourlyData^^xsd:string ]
 ] [ sp:object 
[ sp:varName  hourlyWITI^^xsd:string ] ;
 sp:predicate  
spin:_arg2 ;
 sp:subject
[ sp:varName  hourlyData^^xsd:string ]
   ] )
 ] ;
spin:constraint  [ a  spl:Argument ;
   spl:predicate  sp:arg1
 ] ;
spin:constraint  [ a  spl:Argument ;
   spl:predicate  sp:arg2
 ] .


-- 
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.


Re: [topbraid-users] TBC hangs on startup - network issue

2014-11-28 Thread Rich Keller
Thanks Holger and Scott for your responses. It seems that the offending 
file is a *.r2s file connecting TBC to a remote Sesame triple store on my 
corporate network. That would explain why VPN enabled TBC to load. I don't 
understand exactly why that file was examined at startup when it was not 
currently open into the workspace. I would expect that workspace files are 
not checked until opened.

Rich

P.S. To Scott. I have TBC-SE; the script baseURIMgmt did not function 
because it could not connect to the specified port. Perhaps this is a 
TBC-ME function only.


On Wednesday, November 26, 2014 2:47:14 PM UTC-8, Scott Henninger wrote:

  One way to check for remote imports is to run the following URL with 
 TBC-ME running:
   http://localhost:8083/tbl/admin/baseURIMgmt 
 http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A8083%2Ftbl%2Fadmin%2FbaseURIMgmtsa=Dsntz=1usg=AFQjCNEKC_IBqw9b2dC94BBn238P920hXg

 Any missing import will be identified with a blue information button, 
 which you can mouse-over and find what the name of the missing import is.

 -- Scott

 On 11/26/2014, 4:35 PM, Holger Knublauch wrote:
  
 Hi Rich,

 there are certain types of files that are loaded into TopBraid 
 automatically, including files ending with .spin.*, .ui.* and .sms.*. If 
 you have any such file that owl:imports a remote file, then it may fail 
 loading that remote file. So one suggestion would be to look into your 
 workspace whether such files exist. Note that with TBC-SE, only .spin.* 
 files would be in that category.

 From the top of my head I am not aware of changes in 4.5 that could 
 explain such a change of behavior.

 Holger


 On 11/27/2014 6:23, Rich Keller wrote:
  
 Hi. Just recently I have begun having a problem starting up TBCSE 4.5 on 
 my Mac. The system hangs on startup, during Loading Workbench, but prior 
 to opening the actual TBC GUI. The log errors are below. 

 !ENTRY org.topbraid.eclipsex 1 800 2014-11-26 12:06:24.303
 !MESSAGE Nov 26, 2014 12:06:24 PM 
 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
 INFO: I/O exception (java.net.ConnectException) caught when processing 
 request: Operation timed out

 !ENTRY org.topbraid.eclipsex 1 800 2014-11-26 12:06:24.317
 !MESSAGE Nov 26, 2014 12:06:24 PM 
 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
 INFO: Retrying request

 The connection request repeatedly fails.

 As it turns out, I only get this error when I am starting TBC from my home 
 network. When I start up VPN to connect to my corporate network, the 
 connection is resolved and TBC completes its startup. I did not have this 
 problem until recently, and could change from network to network freely 
 without any dependencies. Why should TBC ever fail to start due to a 
 missing network connection? It should be usable offline (and has been in 
 the past).

 Any suggestions about to resolve this issue?

 Rich
  -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 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 Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 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 Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users

[topbraid-users] TBC hangs on startup - network issue

2014-11-26 Thread Rich Keller
Hi. Just recently I have begun having a problem starting up TBCSE 4.5 on my 
Mac. The system hangs on startup, during Loading Workbench, but prior to 
opening the actual TBC GUI. The log errors are below. 

!ENTRY org.topbraid.eclipsex 1 800 2014-11-26 12:06:24.303
!MESSAGE Nov 26, 2014 12:06:24 PM 
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing 
request: Operation timed out

!ENTRY org.topbraid.eclipsex 1 800 2014-11-26 12:06:24.317
!MESSAGE Nov 26, 2014 12:06:24 PM 
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request

The connection request repeatedly fails.

As it turns out, I only get this error when I am starting TBC from my home 
network. When I start up VPN to connect to my corporate network, the 
connection is resolved and TBC completes its startup. I did not have this 
problem until recently, and could change from network to network freely 
without any dependencies. Why should TBC ever fail to start due to a 
missing network connection? It should be usable offline (and has been in 
the past).

Any suggestions about to resolve this issue?

Rich

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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] Best TBC Practices re: segregating instances from classes

2014-07-18 Thread Rich Keller
Thanks Irene. It took me a while to reconfigure things, but now I've got 
the imports working properly as you suggested.  Rich

On Tuesday, July 15, 2014 10:17:30 AM UTC-7, Irene Polikoff wrote:

 You only need a statement baseURU1 owl:imports baseURI2. It is better 
 to also have a statement baseURI1 rdf:type owl:Ontology (this way you 
 will see imports in the Imports tab), but not 100% necessary.

  

 *From:* topbrai...@googlegroups.com javascript: [mailto:
 topbrai...@googlegroups.com javascript:] *On Behalf Of *Rich Keller
 *Sent:* Tuesday, July 15, 2014 12:00 PM
 *To:* topbrai...@googlegroups.com javascript:
 *Subject:* Re: [topbraid-users] Best TBC Practices re: segregating 
 instances from classes

  

 But owl:imports is a relationship between two ontologies.  There is no 
 ontology defined in the instances file. Are you suggesting that there 
 should be a second ontology defined in the instances file, and that the 
 purpose of this ontology is simply to import the base ontology? Rich

 On Monday, July 14, 2014 11:13:30 PM UTC-7, Scott Henninger wrote:

 Just to add a bit to this, owl:imports, as designed in TopBraid Suite, is 
 precisely the include capability you seek.

 -- Scott

 On 7/14/2014, 6:24 PM, Irene Polikoff wrote:

 Best practice is to maintain schema and instances as separate graphs and 
 owl:import schema into the instances graph.

  

 Hope this helps,

  

 Irene


 On Jul 14, 2014, at 5:18 PM, Rich Keller richard...@nasa.gov wrote:

 Hi. I was wondering if you could recommend any best practices for 
 separating ontology classes from instances in TBC. I currently have a set 
 of 3 or 4 ontologies that comprise a project I’m developing. I have code 
 that generates (large numbers of) instances of the classes in these 
 ontologies. 

 Originally, my practice was to actually output the base ontology plus 
 instances into a separate file with a different base namespace so that I 
 could open up the ontology+instances in TBC. But it gets messy and 
 confusing to maintain two separate namespaces. 

 Now I am generating the instances just as a set of triples without any 
 base ontology in a separate file. Then I use TBC ‘import triples’ to import 
 these triples on top of the base model. But if I want to make any changes 
 to the base ontology, I will have to save the triples plus the base model, 
 and I don’t want to do that.

 Maybe what I want is some sort of include capability.

 I think this must be a common issue, so I’m probably missing something 
 basic here.  

 Any suggestions?
   Thanks, Rich

 -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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.
 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 Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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.
 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 Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https

Re: [topbraid-users] Best TBC Practices re: segregating instances from classes

2014-07-15 Thread Rich Keller
But owl:imports is a relationship between two ontologies.  There is no 
ontology defined in the instances file. Are you suggesting that there 
should be a second ontology defined in the instances file, and that the 
purpose of this ontology is simply to import the base ontology? Rich

On Monday, July 14, 2014 11:13:30 PM UTC-7, Scott Henninger wrote:

  Just to add a bit to this, owl:imports, as designed in TopBraid Suite, is 
 precisely the include capability you seek.

 -- Scott

 On 7/14/2014, 6:24 PM, Irene Polikoff wrote:
  
 Best practice is to maintain schema and instances as separate graphs and 
 owl:import schema into the instances graph.

  Hope this helps,

  Irene


  
 On Jul 14, 2014, at 5:18 PM, Rich Keller richard...@nasa.gov 
 javascript: wrote:

   Hi. I was wondering if you could recommend any best practices for 
 separating ontology classes from instances in TBC. I currently have a set 
 of 3 or 4 ontologies that comprise a project I’m developing. I have code 
 that generates (large numbers of) instances of the classes in these 
 ontologies. 

 Originally, my practice was to actually output the base ontology plus 
 instances into a separate file with a different base namespace so that I 
 could open up the ontology+instances in TBC. But it gets messy and 
 confusing to maintain two separate namespaces. 

 Now I am generating the instances just as a set of triples without any 
 base ontology in a separate file. Then I use TBC ‘import triples’ to import 
 these triples on top of the base model. But if I want to make any changes 
 to the base ontology, I will have to save the triples plus the base model, 
 and I don’t want to do that.

 Maybe what I want is some sort of include capability.

 I think this must be a common issue, so I’m probably missing something 
 basic here.  

 Any suggestions?
   Thanks, Rich
  -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 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 Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 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 Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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.


[topbraid-users] Best TBC Practices re: segregating instances from classes

2014-07-14 Thread Rich Keller
Hi. I was wondering if you could recommend any best practices for 
separating ontology classes from instances in TBC. I currently have a set 
of 3 or 4 ontologies that comprise a project I’m developing. I have code 
that generates (large numbers of) instances of the classes in these 
ontologies. 

Originally, my practice was to actually output the base ontology plus 
instances into a separate file with a different base namespace so that I 
could open up the ontology+instances in TBC. But it gets messy and 
confusing to maintain two separate namespaces. 

Now I am generating the instances just as a set of triples without any base 
ontology in a separate file. Then I use TBC ‘import triples’ to import 
these triples on top of the base model. But if I want to make any changes 
to the base ontology, I will have to save the triples plus the base model, 
and I don’t want to do that.

Maybe what I want is some sort of include capability.

I think this must be a common issue, so I’m probably missing something 
basic here.  

Any suggestions?
  Thanks, Rich

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


[topbraid-users] Re: OWLIM bundle for Topbraid Composer

2014-04-23 Thread Rich Keller
Scott: Does the TBC-SE license cover updating the OWLIM plug-in per your 
instructions? If not, as I read it, OWLIM-SE requires a license fee after 
60 days of use. Rich

On Wednesday, January 16, 2013 2:08:52 AM UTC-8, Raj wrote:

 Hi All,

 Where can I find OWLIM bundle for Topbraid Composer?
 I have downloaded owlim-se-5.3. 

 Thanks
 Raj


-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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] Re: Problem using Tasks View

2014-03-05 Thread Rich Keller
Just to close the loop, Holger, my issues were not resolved with the 4.4 
release. Obviously, this is not critical functionality.  Rich

On Thursday, February 27, 2014 4:38:05 PM UTC-8, Holger Knublauch wrote:

 On 2/28/2014 2:40, Rich Keller wrote: 
  Thanks for the workarounds. I'm on TBC-SE 4.3.0 with Mac OSX 10.8.5. 

 I am (thankfully/gotofail) on an older MacOS version and cannot directly 
 reproduce it, but please give the upcoming 4.4 release (that is 
 currently being uploaded to our servers) a try - it uses a newer Eclipse 
 version that has several Mac incompatibilities fixed. 

 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), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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/groups/opt_out.


Re: [topbraid-users] Re: Problem using Tasks View

2014-02-27 Thread Rich Keller
Thanks for the workarounds. I'm on TBC-SE 4.3.0 with Mac OSX 10.8.5.

On Wednesday, February 26, 2014 4:42:19 PM UTC-8, Holger Knublauch wrote:

  This works for me. What version of TBC and what version of MacOS do you 
 have?

 Meanwhile, since this is model-driven, you can see all TODO items using 
 something like

 SELECT *
 WHERE {
 ?subject owl:versionInfo ?todo .
 FILTER (isLiteral(?todo)  fn:starts-with(?todo, TODO))
 }

 in the SPARQL view. Clicking on the result rows will help you navigate to 
 the affected resource just like the Tasks view. You can also save the above 
 query as a SPIN template (in a .spin.ttl file) and then execute it as a 
 stored procedure from the Run SPARQL query from SPIN Template button in the 
 main tool bar.

 HTH
 Holger



 On 2/27/2014 2:34, Rich Keller wrote:
  
 Holger - As I indicated, I did use the refresh button but the grid did not 
 populate with my task. So things are still broken for me because I cannot 
 get tasks to display in the task view.  Rich

 On Tuesday, February 25, 2014 3:51:09 PM UTC-8, Holger Knublauch wrote: 

  Hi Rich,

 the Add task button was a built-in Eclipse feature that apparently got 
 removed since we wrote the documentation (long ago!). I'll update the help 
 file for the next release. Thanks for pointing this out.

 The Task view never automatically refreshed when tasks got edited - you 
 need to use the Refresh button for that.

 HTH
 Holger


 On 2/26/2014 3:46, Rich Keller wrote:
  
 Hi Holger: I was following the online help, which indicates there should 
 be a button to add a new task. (But I don't see that in your screenshot, 
 either.) I was not aware that you could right click on the grid for the 
 context menu to add a task. In any case, I was able to do that, and the 
 task shows up under the resource's owl:versioninfo property, but the grid 
 doesn't update to include the task. (I clicked the refresh button for TODO 
 items in hopes of getting it to display.) This is consistent with the 
 behavior shown when I manually added the owl:versioninfo property; it did 
 not display in the task view after refresh.

 I am on a Mac.

 Rich



 On Monday, February 24, 2014 9:06:41 AM UTC-8, Rich Keller wrote: 

 Hi. I seem to be having troubles using Tasks in TBC SE 4.3.0.  I have 
 added the following value to the owl:versioninfo property of a resource:

 TODO(1): Add properties and data values

 Yet even after I click Model/'Refresh and show TODO items', the Tasks 
 tab does not display my Task. Moreover, there is no button to add new tasks 
 on the Tasks tab.

 Do I need to configure something additional to enable task functionality?

 Rich
  
  -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


   -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.


  

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
TopBraid Suite Users group.
To unsubscribe from this group and stop

Re: [topbraid-users] Re: Problem using Tasks View

2014-02-26 Thread Rich Keller
Holger - As I indicated, I did use the refresh button but the grid did not 
populate with my task. So things are still broken for me because I cannot 
get tasks to display in the task view.  Rich

On Tuesday, February 25, 2014 3:51:09 PM UTC-8, Holger Knublauch wrote:

  Hi Rich,

 the Add task button was a built-in Eclipse feature that apparently got 
 removed since we wrote the documentation (long ago!). I'll update the help 
 file for the next release. Thanks for pointing this out.

 The Task view never automatically refreshed when tasks got edited - you 
 need to use the Refresh button for that.

 HTH
 Holger


 On 2/26/2014 3:46, Rich Keller wrote:
  
 Hi Holger: I was following the online help, which indicates there should 
 be a button to add a new task. (But I don't see that in your screenshot, 
 either.) I was not aware that you could right click on the grid for the 
 context menu to add a task. In any case, I was able to do that, and the 
 task shows up under the resource's owl:versioninfo property, but the grid 
 doesn't update to include the task. (I clicked the refresh button for TODO 
 items in hopes of getting it to display.) This is consistent with the 
 behavior shown when I manually added the owl:versioninfo property; it did 
 not display in the task view after refresh.

 I am on a Mac.

 Rich



 On Monday, February 24, 2014 9:06:41 AM UTC-8, Rich Keller wrote: 

 Hi. I seem to be having troubles using Tasks in TBC SE 4.3.0.  I have 
 added the following value to the owl:versioninfo property of a resource:

 TODO(1): Add properties and data values

 Yet even after I click Model/'Refresh and show TODO items', the Tasks tab 
 does not display my Task. Moreover, there is no button to add new tasks on 
 the Tasks tab.

 Do I need to configure something additional to enable task functionality?

 Rich
  
  -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.


  

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


Re: [topbraid-users] Re: Problem using Tasks View

2014-02-26 Thread Rich Keller
Irene: At least in my task view, the menu does *not* allow for creating a 
new To-do item. Per Holger, you must know to right click on top of the task 
grid to create a new task. Or does your menu show a 'New To-do Item' 
entry?? Rich

On Tuesday, February 25, 2014 4:02:41 PM UTC-8, Irene Polikoff wrote:

 Each view has a view menu (the down-facing triangle) icon. This is quite 
 consistent and all the view actions are available from the menu – in this 
 case, creating a new To-do item.

  

 *From:* topbrai...@googlegroups.com javascript: [mailto:
 topbrai...@googlegroups.com javascript:] *On Behalf Of *Holger Knublauch
 *Sent:* Tuesday, February 25, 2014 6:51 PM
 *To:* topbrai...@googlegroups.com javascript:
 *Subject:* Re: [topbraid-users] Re: Problem using Tasks View

  

 Hi Rich,

 the Add task button was a built-in Eclipse feature that apparently got 
 removed since we wrote the documentation (long ago!). I'll update the help 
 file for the next release. Thanks for pointing this out.

 The Task view never automatically refreshed when tasks got edited - you 
 need to use the Refresh button for that.

 HTH
 Holger


 On 2/26/2014 3:46, Rich Keller wrote:

 Hi Holger: I was following the online help, which indicates there should 
 be a button to add a new task. (But I don't see that in your screenshot, 
 either.) I was not aware that you could right click on the grid for the 
 context menu to add a task. In any case, I was able to do that, and the 
 task shows up under the resource's owl:versioninfo property, but the grid 
 doesn't update to include the task. (I clicked the refresh button for TODO 
 items in hopes of getting it to display.) This is consistent with the 
 behavior shown when I manually added the owl:versioninfo property; it did 
 not display in the task view after refresh.

 I am on a Mac.

 Rich



 On Monday, February 24, 2014 9:06:41 AM UTC-8, Rich Keller wrote: 

 Hi. I seem to be having troubles using Tasks in TBC SE 4.3.0.  I have 
 added the following value to the owl:versioninfo property of a resource:

 TODO(1): Add properties and data values

 Yet even after I click Model/'Refresh and show TODO items', the Tasks tab 
 does not display my Task. Moreover, there is no button to add new tasks on 
 the Tasks tab.

 Do I need to configure something additional to enable task functionality?

 Rich

 -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.

  

 -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.


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


[topbraid-users] Problem using Tasks View

2014-02-24 Thread Rich Keller
Hi. I seem to be having troubles using Tasks in TBC SE 4.3.0.  I have added 
the following value to the owl:versioninfo property of a resource:

TODO(1): Add properties and data values

Yet even after I click Model/'Refresh and show TODO items', the Tasks tab 
does not display my Task. Moreover, there is no button to add new tasks on 
the Tasks tab.

Do I need to configure something additional to enable task functionality?

Rich

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


[topbraid-users] Re: Problem using Tasks View

2014-02-24 Thread Rich Keller
Yes Mark. All Types and Status boxes checked. Scope is 'On selected element 
and its children'. And the Show items that match any configuration checked 
below radio button is selected, with the TODOs configuration checked.  Rich

On Monday, February 24, 2014 9:06:41 AM UTC-8, Rich Keller wrote:

 Hi. I seem to be having troubles using Tasks in TBC SE 4.3.0.  I have 
 added the following value to the owl:versioninfo property of a resource:

 TODO(1): Add properties and data values

 Yet even after I click Model/'Refresh and show TODO items', the Tasks tab 
 does not display my Task. Moreover, there is no button to add new tasks on 
 the Tasks tab.

 Do I need to configure something additional to enable task functionality?

 Rich


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


Re: [topbraid-users] Time Interval Functions

2014-02-12 Thread Rich Keller
Thanks Scott and Holger. 

I must have made some error when I tested sfm:duration() previously. In my 
own defense (:-)), the documentation is ambiguous. It says Returns the 
duration between two dates The argument documentation reports that the 
arguments are the begin date and the end date. But unlike other 
functions documented in the appendix, it does not provide a specific 
datatype for the begin date and the end date argument.

Regarding SPARQL1.1, it provides no functions on XSD duration literals that 
I can find. In any case smf:duration should be sufficient for my needs.

Rich

On Tuesday, February 11, 2014 6:48:33 PM UTC-8, Scott Henninger wrote:

  Rich; Not sure if the difference in expectation is with the version 
 TopBraid being used, but using 4.3, smf:duration() takes xsd:dateTime and 
 will return down to the milliseconds.  As an example, to get the number of 
 seconds between a dateTime property and the current xsd:dateTime, you can 
 use the following:

 SELECT ?dur
 WHERE 
 {  ?s ex:dt ?time
BIND(smf:duration(s, ?time, now()) AS ?dur)
 }


 -- Scott

  On 2/11/2014, 6:51 PM, Rich Keller wrote:
  
 Scott: I'm aware of the SPARQL and TopBraid functions you mention. But to 
 my knowledge, these functions do not operate on duration literals like 
 P0Y0M0DT22H0M0.000S, which was returned by my query subtracting two 
 xsd:time or xsd:dateTime literals (see original post). As I mentioned, 
 smf:duration seems to take two xsd:date variables as input, which means it 
 is not suitable for determining the duration between arbitrary times.

 Rich

 On Tuesday, February 11, 2014 9:39:40 AM UTC-8, Scott Henninger wrote: 

  Rich, there are a number of SPARQL and TopBraid functions that work on 
 xsd:time and xsd:dateTime  for SPARQL, see 
 http://www.w3.org/TR/sparql11-query/#func-date-time, including year(), 
 month(), day(), hours(), timezone(), etc.

 TopBraid also has functions for duration, formatting date strings, etc.  
 I.e. you can convert a dateTime string to a date string using 
 dateFormat().  See TopBraid Composer Help TopBraid Composer  Reference  
 Functions Overview

 -- Scott

  On 2/11/2014, 10:40 AM, Rich Keller wrote:
  
 Hi. I have been trying to do some temporal arithmetic in SPARQL and have 
 stumbled upon what I believe are time periods or time intervals.  For 
 example

 SELECT ?a ?aa
 WHERE {
 BIND ((08:15:00^^xsd:time - 10:15:00^^xsd:time) AS ?a)
 BIND ((2012-09-08T08:15:00^^xsd:dateTime - 
 2012-09-07T10:15:00^^xsd:dateTime) AS ?aa)
 }

 Results:

 ?a - -P0Y0M0DT2H0M0.000S  (negative 2 hours)
 ?aa - P0Y0M0DT22H0M0.000S (positive 22 hours)

 My question: Is there any way to operate on these time periods? In 
 particular, suppose I want to convert the length of these these periods 
 into seconds or minutes. smf:duration does something similar, but it works 
 on xsd:date values, and not time periods. If smf:duration took xsd:dateTime 
 or xsd:time arguments, that would be helpful.

 Do you have any pointers to functions that extract information from these 
 time periods? I suppose I can figure a way to do the arithmetic myself 
 using days(), hours(), minutes() functions, but I would prefer to avoid 
 that.

 Thanks, Rich

 Using TBC-SE 4.3.0
  -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


   -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.


  

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

[topbraid-users] Time Interval Functions

2014-02-11 Thread Rich Keller
Hi. I have been trying to do some temporal arithmetic in SPARQL and have 
stumbled upon what I believe are time periods or time intervals.  For 
example

SELECT ?a ?aa
WHERE {
BIND ((08:15:00^^xsd:time - 10:15:00^^xsd:time) AS ?a)
BIND ((2012-09-08T08:15:00^^xsd:dateTime - 
2012-09-07T10:15:00^^xsd:dateTime) AS ?aa)
}

Results:

?a - -P0Y0M0DT2H0M0.000S  (negative 2 hours)
?aa - P0Y0M0DT22H0M0.000S (positive 22 hours)

My question: Is there any way to operate on these time periods? In 
particular, suppose I want to convert the length of these these periods 
into seconds or minutes. smf:duration does something similar, but it works 
on xsd:date values, and not time periods. If smf:duration took xsd:dateTime 
or xsd:time arguments, that would be helpful.

Do you have any pointers to functions that extract information from these 
time periods? I suppose I can figure a way to do the arithmetic myself 
using days(), hours(), minutes() functions, but I would prefer to avoid 
that.

Thanks, Rich

Using TBC-SE 4.3.0

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


Re: [topbraid-users] Time Interval Functions

2014-02-11 Thread Rich Keller
Scott: I'm aware of the SPARQL and TopBraid functions you mention. But to 
my knowledge, these functions do not operate on duration literals like 
P0Y0M0DT22H0M0.000S, which was returned by my query subtracting two 
xsd:time or xsd:dateTime literals (see original post). As I mentioned, 
smf:duration seems to take two xsd:date variables as input, which means it 
is not suitable for determining the duration between arbitrary times.

Rich

On Tuesday, February 11, 2014 9:39:40 AM UTC-8, Scott Henninger wrote:

  Rich, there are a number of SPARQL and TopBraid functions that work on 
 xsd:time and xsd:dateTime  for SPARQL, see 
 http://www.w3.org/TR/sparql11-query/#func-date-time, including year(), 
 month(), day(), hours(), timezone(), etc.

 TopBraid also has functions for duration, formatting date strings, etc.  
 I.e. you can convert a dateTime string to a date string using 
 dateFormat().  See TopBraid Composer Help TopBraid Composer  Reference  
 Functions Overview

 -- Scott

  On 2/11/2014, 10:40 AM, Rich Keller wrote:
  
 Hi. I have been trying to do some temporal arithmetic in SPARQL and have 
 stumbled upon what I believe are time periods or time intervals.  For 
 example

 SELECT ?a ?aa
 WHERE {
 BIND ((08:15:00^^xsd:time - 10:15:00^^xsd:time) AS ?a)
 BIND ((2012-09-08T08:15:00^^xsd:dateTime - 
 2012-09-07T10:15:00^^xsd:dateTime) AS ?aa)
 }

 Results:

 ?a - -P0Y0M0DT2H0M0.000S  (negative 2 hours)
 ?aa - P0Y0M0DT22H0M0.000S (positive 22 hours)

 My question: Is there any way to operate on these time periods? In 
 particular, suppose I want to convert the length of these these periods 
 into seconds or minutes. smf:duration does something similar, but it works 
 on xsd:date values, and not time periods. If smf:duration took xsd:dateTime 
 or xsd:time arguments, that would be helpful.

 Do you have any pointers to functions that extract information from these 
 time periods? I suppose I can figure a way to do the arithmetic myself 
 using days(), hours(), minutes() functions, but I would prefer to avoid 
 that.

 Thanks, Rich

 Using TBC-SE 4.3.0
  -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
 Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.


  

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


Re: [topbraid-users] Moving SPARQL queries from Library to Editor

2013-07-05 Thread Rich Keller
Sorry. I'm referring to the TBC 4.2 SE SPARQL tab library and editor.

On Wednesday, July 3, 2013 11:20:11 AM UTC-7, Scott Henninger wrote:

  Rich; Which Query Editor do you refer to?

 -- Scott

  On 7/3/2013 12:37 PM, Rich Keller wrote:
  
 Is there an easy way to move a SPARQL query stored in the Query Library to 
 the Query Editor? My purpose being to use the query from the library as a 
 template to be modified and then executed. I am currently cutting and 
 pasting text from the resource where the spin:query is stored, but it seems 
 there should be a better way.   Rich
 -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
 TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  


  

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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/groups/opt_out.




[topbraid-users] Moving SPARQL queries from Library to Editor

2013-07-03 Thread Rich Keller
Is there an easy way to move a SPARQL query stored in the Query Library to 
the Query Editor? My purpose being to use the query from the library as a 
template to be modified and then executed. I am currently cutting and 
pasting text from the resource where the spin:query is stored, but it seems 
there should be a better way.   Rich

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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/groups/opt_out.




[topbraid-users] Loading Large Models into TBC

2013-06-26 Thread Rich Keller
Hi. I am using TBC SE 4.2.0 and I'm trying to load a large model (~ 4M 
triples) into TBC using the native in-memory store. I am not currently 
using an external triple store, though I see one in my future. Is it 
unreasonable to expect TBC to handle a large model of this size? Are there 
performance settings I should be tweaking? I get the following error, which 
I imagine is traceable to memory consumption, but can't be sure.  I have 8G 
memory on my Mac.

Rich

Operation failed.

On: Jun 26, 2013 8:38:37 AM

Reason:
java.lang.NullPointerException
at org.topbraid.core.model.Classes.getMetaClasses(Classes.java:548)
at org.topbraid.core.model.Classes.computeMetaClasses(Classes.java:45)
at org.topbraid.core.model.Classes.getMetaClasses(Classes.java:169)
at 
org.topbraidcomposer.editors.ResourceEditorLauncher.checkVisibility(ResourceEditorLauncher.java:270)
at 
org.topbraidcomposer.editors.ResourceEditorLauncher.access$4(ResourceEditorLauncher.java:269)
at 
org.topbraidcomposer.editors.ResourceEditorLauncher$5.run(ResourceEditorLauncher.java:577)
at org.topbraidcomposer.core.io.TBCIO$2.run(TBCIO.java:482)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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/groups/opt_out.




Re: [topbraid-users] Naming conflicts and human-readable labels mode

2013-06-04 Thread Rich Keller
Scott: Although the question is about labels, that issue is bound up with 
prefixes, it seems, at least in my case. I've attached a problematic 
ontology file that exhibits the problem (for me, at least).

Regarding prefixes, when I specify a Base URI for the ontology, TBC 
generates a corresponding default namespace automatically:
@prefix :http://xyz.arc.nasa.gov/ontology/ATM# 
In order to explicitly define and use a prefix, I must manually add one:
 
@prefix atm:http://xyz.arc.nasa.gov/ontology/ATM# 

So yes, I would not suggest using the default prefix, but TBC generates it, 
nonetheless. I suppose I could set the default namespace to blank and that 
would eliminate the default prefix.

Thanks for your help on this,
Rich

P.S. In full disclosure, on startup I get a TBC warning that I have been 
ignoring, though perhaps it is relevant to this issue:

java.io.FileNotFoundException: /Users/rmkelle1/Applications/tbc/TopBraid 
Composer.ini.orig (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:120)
at java.io.FileInputStream.init(FileInputStream.java:79)
at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at 
org.topbraidcomposer.core.CorePlugin.getIniContents(CorePlugin.java:450)
at 
org.topbraidcomposer.core.CorePlugin.registerP2Listener(CorePlugin.java:404)
at org.topbraidcomposer.core.CorePlugin.start(CorePlugin.java:392)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at 
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at 
org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at 
org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
at java.lang.Class.getConstructor0(Class.java:2708)
at java.lang.Class.newInstance0(Class.java:328)
at java.lang.Class.newInstance(Class.java:310)
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
at 
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at 
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.topbraid.core.TBPlugin.findPersonality(TBPlugin.java:316)
at org.topbraid.core.TBPlugin.access$0(TBPlugin.java:299)
at 
org.topbraid.core.TBPlugin$PersonalityHolder.clinit(TBPlugin.java:342)
at org.topbraid.core.TBPlugin.getPersonality(TBPlugin.java:338)
at org.topbraid.core.TBPlugin.start(TBPlugin.java:159)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at 

Re: [topbraid-users] Naming conflicts and human-readable labels mode

2013-06-02 Thread Rich Keller
Scott: I get only one result.

Try it yourself with a random one-word string (I tried QRTWXYQ, which 
displays as 'QRTWXYQ [atm:QRTWXYQ]' in the class view). It doesn't seem to 
be a problem for a two-word label (such as QrtwxyqQrtwxyq, which displays 
as 'Qrtwxyq Qrtwxyq' in the class view).

A bug, I suspect.

On Thursday, May 30, 2013 5:24:52 PM UTC-7, Scott Henninger wrote:

  Rich, you might try the following query to find out if there is  
 conflicting label:

 SELECT *
 WHERE
 {  ?s ?p XYZ 
 }

 If you get more than one result, there is a label conflict.
   
 -- Scott

  On 5/31/2013 7:42 AM, Rich Keller wrote:
  
 Hi: I'm a bit confused about the tree presentation in the Classes view and 
 how ambiguous labels are handled.  

 The help text says:

 In the human-readable labels mode, the system will try to display 
 resources by their rdfs:labels (or sub-properties of rdfs:label). If no 
 such labels are found, or if there is a name conflict between multiple 
 resources with the same label, then the system will fall back to displaying 
 qnames as above.

 I have a class defined where the name is 'atm:XYZ' and the label is 
 'XYZ'.  To my knowledge, there are no other resources with the label 'XYZ', 
 yet the classes view (toggled for human-readable mode) shows: XYZ [atm:XYZ].

 Can you explain why the system thinks there is ambiguity?

 Rich
 -- 
 -- You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include Enterprise 
 Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
 TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
 To post to this group, send email to
 topbrai...@googlegroups.com javascript:
 To unsubscribe from this group, send email to
 topbraid-user...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/topbraid-users?hl=en
 --- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  


  

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
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/groups/opt_out.




[topbraid-users] Graph Panel edge label display

2012-08-08 Thread Rich Keller
I find the graphing function very useful, but I am annoyed that the edge 
labels and their inverses are displayed on top of one another.  This makes 
the graph unreadable.  I don't see any way around this short of deleting 
inverses or turning off edge labels altogether.  Am I wrong? Certainly 
there is a better way to handle this in the graph display code.

An unrelated question is the difference between blue links and black links 
in the graph.

Thanks for your help.  I am using SE v3.5.2.

-- 
-- You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en




[topbraid-users] Re: Problems connecting to existing SVN Repository

2012-02-01 Thread Rich Keller
Scott - FYI The systems staff here helped me resolve this SVN issue.
The resolution involved reverting to an earlier version of SVNKit:
1.2.2.  See diagnosis below, Rich

P.S. We did find other SVN repositories where the current version of
SVNKit worked, but apparently not with the particular repository I
needed.

 It appears that SVNKit has removed some authentication mechanisms.  This is 
 causing TBC to fail as it is the
 component that grabs SVN for Eclipse.

 I was able to get it to work by deleting the TBC install location, 
 uncompressing it again and when asked what version  of SVNKit to use I 
 picked the next newest version 1.2.x instead of 1.3.x.


On Jan 27, 9:48 am, Scott Henninger shennin...@topquadrant.com
wrote:
 Rich; In my experience, this occurs when I specify an incorrect URL
 for the SVN repository.  Make sure that is right - e.g. using 'https'
 instead of 'http'.  Also check with the SVN repository you are
 connecting to to make sure you have the right URL and it is set up for
 remote connections.

 -- Scott

 On Jan 27, 11:40 am, Rich Keller rich.m.kel...@gmail.com wrote:







  Scott - SVN appears to be installed completely. No installation wizard
  appears in step 2 of the instructions 
  athttp://www.topquadrant.com/products/TB_SVN_Install.html.
  Instead I get a 'Checkout from SVN' dialog.  When I enter the URL and
  my credentials I get the same message: Location information has been
  specified incorrectly. Unable to locate a login configuration  Keep
  location anyway?

  Rich

  On Jan 4, 1:53 pm, Scott Henninger shennin...@topquadrant.com wrote:

   Rich; Yes, the additional install process is necessary due to
   licensing restrictions.  A link to the instructions is found on the
   TBC download page (http://www.topquadrant.com/products/TB_install.php)
   to reference the fact that additional steps are needed to use SVN.

   -- Scott

   On Jan 4, 1:05 pm, RichKellerrich.m.kel...@gmail.com wrote:

I'm using TopBraid Composer Standard Edition on Windows XP. But I hadn't
followed the SVN install directions, so perhaps Subversive is not 
actually
installed?  I had thought that since I could access the SVN Repository
Browser, Subversive was already installed.  Rich

-- 
You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en


[topbraid-users] Problems connecting to existing SVN Repository

2012-01-04 Thread Rich Keller
Hi. I'm trying to connect to an existing SVN repository using the New 
Repository Location dialog box.  When I enter my information, I get the 
error Location information has been specified incorrectly. Unable to 
locate a login configuration.  Keep location anyway?

Can you provide any insight as to when this error is generated so I can 
attempt to debug? My Tortoise client seems to believe that there is a 
repository at the URL I provided to Subversive, and Tortoise can retrieve 
the files with the authentication information I provided to Subversive.

Rich

-- 
You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en


[topbraid-users] Re: Problems connecting to existing SVN Repository

2012-01-04 Thread Rich Keller
I'm using TopBraid Composer Standard Edition on Windows XP. But I hadn't 
followed the SVN install directions, so perhaps Subversive is not actually 
installed?  I had thought that since I could access the SVN Repository 
Browser, Subversive was already installed.  Rich

-- 
You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en


[topbraid-users] Re: Icon Colors

2011-11-16 Thread Rich Keller
Thanks Bob. I had searched the help, but somehow did not use the right
keywords to get this hit.

On Nov 15, 3:20 pm, Bob Ducharme bducha...@topquadrant.com wrote:
 Rich,

 On the TopBraid Composer Help menu, the first choice under Reference is
 Icons Legend, which shows what they all mean. There is no way to modify the
 icons.

 Bob







 -Original Message-
 From: topbraid-users@googlegroups.com

 [mailto:topbraid-users@googlegroups.com] On Behalf Of Rich Keller
 Sent: Tuesday, November 15, 2011 5:14 PM
 To: TopBraid Suite Users
 Subject: [topbraid-users] Icon Colors

 Hi. I'm trying to sort out the meaning of the icon colors I see in
 TBC, and possibly how to control/modify them, but I can't seem to
 locate documentation.  Can someone point me in the right direction?
 Thanks.

 --
 You received this message because you are subscribed to the Google
 Group TopBraid Suite Users, the topics of which include TopBraid Composer,
 TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
 To post to this group, send email to
 topbraid-users@googlegroups.com
 To unsubscribe from this group, send email to
 topbraid-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group TopBraid Suite Users, the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en