Re: [topbraid-users] Float numbers comparison

2020-08-17 Thread Chavdar Ivanov
Dear Holger, Thanks. Yes, I think that explains sh:equals effect. But SPARQL is a mystery to have some that are correctly compared mathematically such as 1.123456 ; 1.123456 ; same 1.1234560 ; 1.1234561 ; different and some that are totally wrong such as 100123456.1 ; 100123459 ; same

Re: [topbraid-users] TBCME: Cannot write to a graph from an SWP

2020-08-17 Thread Tim Smith
That works for me. It was something I missed in the documentation - although it's clearly written. I'm just glad to be able to successfully manipulate graphs and move my project forward. Thanks again! Tim On Mon, Aug 17, 2020, 11:49 PM Holger Knublauch wrote: > > On 18/08/2020 13:41, Tim Smi

Re: [topbraid-users] TBCME: Cannot write to a graph from an SWP

2020-08-17 Thread Holger Knublauch
On 18/08/2020 13:41, Tim Smith wrote: Hi Holger, I was thinking it worked like SPARQL syntax. It does work like SPARQL, but the ui:update/ui:transaction elements need to decide when to physically write the triples to the file, and that is easier to do if only the context graph is modified.

Re: [topbraid-users] TBCME: Cannot write to a graph from an SWP

2020-08-17 Thread Tim Smith
Hi Holger, I was thinking it worked like SPARQL syntax. Thanks for clearing that up! Now my SWPs will be much more effective. :) Tim On Mon, Aug 17, 2020, 7:11 PM Holger Knublauch wrote: > Hi Tim, > > you were almost there. The missing info is that ui:update will only write > to the context

Re: [topbraid-users] TBCME: Cannot write to a graph from an SWP

2020-08-17 Thread Holger Knublauch
Hi Tim, you were almost there. The missing info is that ui:update will only write to the context graph when done, not any graph mentioned in the INSERT. So change it to ui:queryGraph="";>         which makes the target graph the active con

Re: [topbraid-users] Float numbers comparison

2020-08-17 Thread Holger Knublauch
Since sh:equals is based on RDF node equality, values such as "1.0"^^xsd:float and "1"^^xsd:float count as distinct. Maybe that's the issue you are running into? SPARQL does comparison by (mathematical) values, so 1.0 = 1 there. Holger On 17/08/2020 14:36, Chavdar Ivanov wrote: Dear Holger

[topbraid-users] TBCME: Cannot write to a graph from an SWP

2020-08-17 Thread Tim Smith
Hi, I cannot write to an existing graph in the workspace from an SWP. This is a problem that has plagued me since TBC 5.1.4 so perhaps I'm doing something wrong. I've attached a minimal example as a project. The file, swp_write_to_graph.ui.ttlx contains a subclass of ui:Services called w2g:w2gr

Re: [topbraid-users] Composer 6.4 on Macos is 'damaged'

2020-08-17 Thread elvin.d...@gmail.com
So yeah this guy had the same problem as me apparently https://www.reddit.com/r/osx/comments/9mf4au/installing_apps_from_unidentifiedunsigned/ and a fix was posted that worked for me: cp -RX /path/to/program.app /different/path.app Could be helpful for future reference! Thanks for all the help, c