Re: [topbraid-users] Re: Customize behavior of TreeDataProvider arg:onSelect

2014-07-21 Thread Scott Henninger

  
  
Jack; For general information on how forms work in SWA applications,
including TopBraid EVN, you can see the SWA help pages from Composer
by going to Help  SWA Help/Examples.  Section 3 is about Forms.

Beneath the example that states "Personal Details of Robert F.
Kennedy" is a couple of key paragraphs on using ui:instanceView form
definitions with SWA applications.  In particular, I suspect the
following sentence

s may be useful to you:

  "

This in turn will insert a title (the name of the resource), and
then use ui:resourceView with matchId="form"
to find the most suitable form definition for the resource. In other
words, if you want your form layout to be used, put ui:id="form"
as an attribute to the ui:instanceView definition."

-- Scott

On 7/21/2014, 1:27 PM, Jack Hodges
  wrote:


  I believe that I am talking about the EVN editor.

As I mentioned, I defined a ui:instanceView on a specific class,
and gave it a higher priority than anything that shows up in
rdfs:Resource, but it doesn't get selected and doesn't even show
up in the pull down of possible views. I wonder if maybe I am
still confused about how views are selected but thought that
topbraid would only traverse up the hierarchy if it didn't find
a ui:instanceView close to the class. In this case I have
defined the ui:instanceView one level up from the class.

Jack

On Sunday, July 20, 2014 4:19:54 PM UTC-7, Holger Knublauch
wrote:
On
  7/21/2014 1:22, Jack Hodges wrote:
  
   3. It would be nice to have an undo history. The current
  undo seems to 
   be a toggle (most current action). Most editors these
  days keep some 
   history of actions that can be undone and that would be
  most helpful.
  
  
  Thanks for your feedback. On your item above, I don't quite
  understand 
  what you mean. For example when I change an rdfs:label via TBC
  from 
  "Label1" to "Label2" to "Label3" and then press undo, it will
  walk the 
  whole change history backwards, not just toggle.
  
  
  So maybe you are talking about the Undo implemented in EVN?
  That is 
  indeed just a toggle, because performing an "undo" will in
  fact create a 
  forward entry in the teamwork change history.
  
  
  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/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] Anyone know this error: foo is not a URI node ???

2014-07-21 Thread Jack Hodges
I have been getting a bunch of these, related to SWP views. I am not doing 
anything special. My SWP SPARQL queries, and the views, test out fine in 
test cases and live, when they load. I also get a lot of timeouts on the 
views. Very weird, and frustrating.

Also, when these errors occur, it seems as though topbraid is caching a lot 
of memory because the memory footprint grows to the max I have allocated 
and then it churns away on something, using a lot of cycles, until I give 
up and close the application. Before all of this happens it is 'fine'.

Jack

java.lang.UnsupportedOperationException: 2b5e2a05:14759872fc6:3920 is not a 
URI node
at com.hp.hpl.jena.graph.Node.getURI(Node.java:240)
at 
org.topbraid.spin.swp.functions.internal.EncodeURLFunction.run(EncodeURLFunction.java:36)
at 
org.topbraid.spin.swp.engine.control.internal.CreateLinkControlElement.addArg(CreateLinkControlElement.java:65)
at 
org.topbraid.spin.swp.engine.control.internal.CreateLinkControlElement.addArgs(CreateLinkControlElement.java:56)
at 
org.topbraid.spin.swp.engine.control.internal.CreateLinkControlElement.run(CreateLinkControlElement.java:174)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:601)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:525)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.ElseControlElement.run(ElseControlElement.java:26)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.IfControlElement.run(IfControlElement.java:25)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.ForEachControlElement.run(ForEachControlElement.java:77)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:601)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:525)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.GroupControlElement.run(GroupControlElement.java:20)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:601)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:525)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 

Re: [topbraid-users] Anyone know this error: foo is not a URI node ???

2014-07-21 Thread Holger Knublauch
Looks like your code is calling ui:encodeURL for a blank node. This is 
not possible, so you'd need to surround that code with a ui:if or a 
SPARQL IF. Maybe you have code that iterates over all resources in the 
graph, including blank nodes of SPIN, SWP or OWL definitions.


Holger


On 7/22/2014 6:32, Jack Hodges wrote:
I have been getting a bunch of these, related to SWP views. I am not 
doing anything special. My SWP SPARQL queries, and the views, test out 
fine in test cases and live, when they load. I also get a lot of 
timeouts on the views. Very weird, and frustrating.


Also, when these errors occur, it seems as though topbraid is caching 
a lot of memory because the memory footprint grows to the max I have 
allocated and then it churns away on something, using a lot of cycles, 
until I give up and close the application. Before all of this happens 
it is 'fine'.


Jack

java.lang.UnsupportedOperationException: 2b5e2a05:14759872fc6:3920 is 
not a URI node

at com.hp.hpl.jena.graph.Node.getURI(Node.java:240)
at 
org.topbraid.spin.swp.functions.internal.EncodeURLFunction.run(EncodeURLFunction.java:36)
at 
org.topbraid.spin.swp.engine.control.internal.CreateLinkControlElement.addArg(CreateLinkControlElement.java:65)
at 
org.topbraid.spin.swp.engine.control.internal.CreateLinkControlElement.addArgs(CreateLinkControlElement.java:56)
at 
org.topbraid.spin.swp.engine.control.internal.CreateLinkControlElement.run(CreateLinkControlElement.java:174)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:601)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:525)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.ElseControlElement.run(ElseControlElement.java:26)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.IfControlElement.run(IfControlElement.java:25)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.ForEachControlElement.run(ForEachControlElement.java:77)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:546)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:601)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:525)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:489)
at 
org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:289)
at 
org.topbraid.spin.swp.engine.control.internal.GroupControlElement.run(GroupControlElement.java:20)
at 
org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:530)
at 

[topbraid-users] SPIN as a W3C Standard

2014-07-21 Thread Holger Knublauch

Dear users,

There has recently been renewed interest in making SPIN a W3C standard 
recommendation, and we would like to gather community feedback that 
could shape such a W3C working group. We would also like to encourage 
members of the SPIN user community to participate in the future working 
group.


_Summary of the work to date and the current status:_

As some of you may know, TQ had submitted SPIN as a Member Submission 
[1] in 2011. Meanwhile we made further useability improvements to SPIN 
within TopBraid and made the open source SPIN API [2] available without 
strings attached so that it can be more widely used.


Recently, the W3C began a process of forming a new working group on RDF 
Shapes [3]. The charter of this working group is to define a language 
to represent constraints that describe the structure of RDF graphs. We 
agree that this is an important topic, especially given that the current 
OWL standard cannot be used for that purpose due to the open world 
assumption. But we disagree and have concerns (shared by others) with 
the draft mission statement which proposes to use a completely new 
language called ShEx as its starting point.


For the last 6 to 12 months ShEx has been an RD project. It has no 
vendor support, no customers and no users. It introduces new semantics 
and a new syntax. SPIN, on the other hand, has already been in practical 
use for many years, is supported by professional tools, has significant 
real life production implementations, aligns better with SPARQL and 
covers more use cases than the competing proposals. Furthermore, we 
strongly believe that adding yet another new language to the Semantic 
Web stack will make adoption more difficult and create confusion. As 
SPIN is based on SPARQL, it would be a more natural way of evolving and 
building on the existing stack of standards.


As the proposed draft of the working group missions statement began to 
circulate more widely this month in the Semantic Web community, a lively 
discussion has started with a strong support for SPIN as the basis for 
the new standard and push back against introducing completely new 
language. With this, the mission statement for the working group is now 
being revised.


_Request:_

We would like to hear from this community who would be interested in 
helping TopQuadrant make SPIN an official W3C standard recommendation. 
W3C working groups are driven by the participating organizations, so the 
more people we can get behind SPIN, the more likely will be an outcome 
that meets our collective needs. This is also an opportunity to shape 
the future direction of SPIN (and make some clean-up), and of course a 
chance to contribute to an official standard, which always looks good on 
a resume ;)


If you are interested, please either contact me directly or continue 
this thread here.


Regards
Holger (on behalf of TQ)

[1] http://www.w3.org/Submission/spin-overview/
[2] http://topbraid.org/spin/api/
[3] http://www.w3.org/2014/data-shapes/charter

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