Re: [topbraid-users] Re: rdfs:subClassOf transitivity?

2014-08-20 Thread Lieke Verhelst
Hi Scott, thanks, I can live with that, but unfortunately my question is not fully answered. Sorry for acting persistent but I really need to understand what is happening. We are in the process of QA-ing our work and we use TBC to create the ontology and it we would also like to use it to

[topbraid-users] impossible to remove a piece of code from ui:prototype? :(

2014-08-20 Thread Nicolae Marasoiu
Hi, Editing ui:errorPrototype, I remove a piece of code. I refreshed, the same. Restarted, the same. Reimported fully the project after stopping TBC, removing workspace, the same. Where can this state be? I triple checked the file content and the piece of code is no longer there. I have been

Re: [topbraid-users] Re: How to Return SINGLE JSON Object Within a ui:JSONServices Subclass

2014-08-20 Thread Dejan Veselinovic
The technique Mr. Knublauch suggested gives me an empty JSON object. So far, the only method that has worked is providing a SPARQL query within the arg:value property of the swon:Value element as such: swon:Object swon:Value arg:name=Name arg:value={# SELECT ?some_value WHERE {

Re: [topbraid-users] how to use CONSTRUCT/WHERE in SPARQL SPIN rule declaration

2014-08-20 Thread Russell Robbins
Scott: Thank you so much! I very much appreciate your help. This (of course) worked. All the very best, Russ On Tuesday, August 19, 2014 3:35:15 PM UTC-4, Scott Henninger wrote: Russel, you need to add your construct query to the property you created spin:ruleWithUUID. Look three

[topbraid-users] Re: problem loading generated file - no clear errors

2014-08-20 Thread Jack Hodges
You were all right. I had added some boilerplate and was missing the dc: prefix. Also, Jena was rejecting the file and it turned out that it was an ASCII encoding but had unicode characters in it. So I changed the encoding to UTF8 and was able to move forward to a point where I could debug the

[topbraid-users] Re: impossible to remove a piece of code from ui:prototype? :(

2014-08-20 Thread Jack Hodges
Did you refresh the SWP graphs (System-Refresh Topbraid system registries (SPIN, etc)? Since ui:prototype is part of SPIN you might need to do the refresh to see it. But this is more a functional task and wouldn't impact the content of your ui:prototype so maybe it isn't a good suggestion. On

Re: [topbraid-users] impossible to remove a piece of code from ui:prototype? :(

2014-08-20 Thread Scott Henninger
Is the ui:errorPrototype imported from a different model?  If so, open that model to do the editing. -- Scott On 8/20/2014, 9:33 AM, Nicolae Marasoiu wrote: Hi, Editing ui:errorPrototype, I remove a piece of code. I

Re: [topbraid-users] Re: How to Return SINGLE JSON Object Within a ui:JSONServices Subclass

2014-08-20 Thread Scott Henninger
Dejan;  You would need to use the ui:forEach to invoke the result set processing, so the following should work: ui:forEach ui:resultSet="{#     SELECT ?some_value ?something_else     WHERE {     ?argument_variable rdfs:label ?some_value .

Re: [topbraid-users] Re: How to Return SINGLE JSON Object Within a ui:JSONServices Subclass

2014-08-20 Thread Holger Knublauch
Yes, and you could add LIMIT 1 to the end of the WHERE block to make sure it only ever returns at most one value. The forEach then serves as a mechanism to bind all variables from the SELECT clause. Holger On 8/21/14, 5:22 AM, Scott Henninger wrote: Dejan; You would need to use the