Re: [topbraid-users] Files only available from Studio

2024-03-18 Thread Matt Goldberg
Exactly. The copy we maintain could either replace the existing file or we 
could have a separate project with our copy of several files and the other 
files would be deleted.

I did just realize- the files that aren't projects aren't included in 
backups, correct? So how would moving some external vocabularies into a 
project interact with that?  

On Monday, March 11, 2024 at 9:50:18 AM UTC-4 Steve Ray wrote:

> I do have one request, since you are going to be building this new 
> external project anyway, and that is to upgrade your copy of QUDT to the 
> latest release. It is much improved. Feel free to send us feedback if there 
> are aspects that conflict with EDG in any manner.
>
> Steve
>
>
>
>
> On Mon, Mar 11, 2024 at 9:41 AM Holger Knublauch  
> wrote:
>
>> Ok, and with the custom "External" project, you could just maintain your 
>> own copy and replace it in one go?
>>
>> Holger
>>
>>
>> On 11 Mar 2024, at 1:35 pm, Matt Goldberg  wrote:
>>
>> I suppose it technically could, but it might require exporting the graph 
>> first to make edits and it would require manually deleting each file 
>> individually every time there was an upgrade instead of just pushing a 
>> project. 
>>
>> On Mon, Mar 11, 2024, 8:46 AM Holger Knublauch  
>> wrote:
>>
>>> Ok, I am on it. One question (to everyone) though: it seems that the 
>>> Base URI Management page can already be used to delete individual files, 
>>> even from system projects. Why cannot that be used, followed by project 
>>> upload, to install custom versions of these graphs?
>>>
>>> Holger
>>>
>>>
>>> On 10 Mar 2024, at 3:34 pm, Steveraysteveray  
>>> wrote:
>>>
>>> I think moving QUDT into the dedicated project would be a great idea. 
>>>
>>>  
>>> - Steve
>>>
>>> On Mar 10, 2024, at 8:50 AM, Holger Knublauch  
>>> wrote:
>>>
>>> 
>>>
>>> On 9 Mar 2024, at 7:34 pm, steveray...@gmail.com  
>>> wrote:
>>>
>>> Actually, QUDT only has the major version (currently 2.1) in the graph 
>>> URIs, and that hasn't changed in a few years. Furthermore, the individual 
>>> Units, QuantityKinds, etc. do not have a version in their URIs, so there 
>>> are still problems with collisions between the built-in units and loading a 
>>> more recent release. 
>>>
>>>
>>> I guess such collisions are not the fault of the namespace developers. 
>>> There is no need to change the URIs of all resources with each version. 
>>> Programming languages/APIs also don't do that as this would break things 
>>> all the time. Instead, users need to be clear about which version they 
>>> "compile against".
>>>
>>> Anyway, I have recorded a development ticket to look into moving these 
>>> external graphs into a dedicated workspace project, and that project could 
>>> then be deleted and replaced via project upload. I just need to identify 
>>> which graphs we are talking about. Maybe QUDT should also be moved into 
>>> that new project.
>>>
>>> The timing is good (now-or-never) as we are just about to finish our 
>>> work on TopBraid 8 which will have various other changes to the workspace 
>>> anyway.
>>>
>>> Holger
>>>
>>>
>>>
>>> On Saturday, March 9, 2024 at 10:26:15 AM UTC-5 David Price wrote:
>>>
 QUDT releases have version numbers in the URIs for their named graphs. 
 So customers can load and use any release they want into EDG.

 We have a ticket in our services team to upgrade the DC and DC Terms 
 collections, so hopefully the situation there will improve for the 8.0 
 release. Turns out many public ontologies used then for class definitions, 
 etc.

 Holger - I like option 1) very much. Different ontologies, annotations, 
 etc are considered “common” in different industries and a “separate 
 project” approach would even allow us to deliver, for example, an EDG Life 
 Sciences vs EDG Finance project with tailored common graphs pre-included 
 in 
 the future.

 Cheers,
 David

 UK +44 (0) 7788 561308 <+44%207788%20561308>
 US +1 (336) 283-0808 <(336)%20283-0808>‬

 On 9 Mar 2024, at 11:36, Holger Knublauch  
 wrote:

 Ok thanks, Matt. I can certainly understand these problems with the 
 pre-bundled files. I guess for QUDT we may have convinced you (before) to 
 switch to asset collections, as this allows you to use different versions 
 as they come out.

 But for the other bundled files such as dcterms the situation is not as 
 easy. I just tried terms and indeed I see the warnings that you mention. 
 This is not ideal and I wonder how to address this. Any solution that 
 requires patching existing files is fragile. I guess you have found the 
 work-around to add the missing triples already.

 To me this still sounds better than having to edit graphs that 
 technically do not contain those extra triples. And even if you try to 
 bypass the lack of the file editing through SPARQL injection or ADS, it 
 still sounds fragile, 

[topbraid-users] Using dash:BatchAction in EDG

2024-03-18 Thread Marie Valadez
Hello Holger,

I am looking into BatchActions and only seemed to find a snippet in the 
documentation where it says it is the similar to 
dash:ModifyActions/dash:ExploreActions 
(https://archive.topquadrant.com/doc/7.8/scripting/actions.html?highlight=batchaction).
 
I have a dash:ModifyActions instance that works, but tried to implement a 
similar case for dash:BatchAction to see if I can essentially take the 
action from dash:ModifyActions and apply it to multiple instances. However, 
I don't seem to even find it populating under the Batch Actions Menu. I am 
trying to test it out in EDG Studio version 7.8. Is there something I am 
missing with how to implement??

Here is an example of the script:

ex:Concept
  a owl:Class ;
  a sh:NodeShape ;
  dash:resourceAction exsh:CategoryBatchAction ;
...

exsh:CategoryBatchAction
  a dash:BatchAction ;
  dash:actionGroup exsh:CategoryActionGroup ;
  dash:actionIconClass "fas fa-plus" ;
  dash:canWrite true ;
  dash:js """
  focusNode.add(graph.node({qname: "ex:category"}), 
graph.node({qname: "ex_graph:_123"}))""" ;
  rdfs:comment "Add `example category to the concept" ;
  rdfs:label "Example Category Batch Action" ;
  sh:order 0 ;
...

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/ba6bec74-cc10-4e9f-8fa5-8bb87aca61d9n%40googlegroups.com.


Re: [topbraid-users] Commercial extensions of the SPIN API

2024-03-18 Thread Holger Knublauch
Hi Eric,

sorry, we do not have such a bundle and have no further plans to continue SPIN 
development. For the missing functions, I am afraid the only solution would be 
for you to implement them yourself, as the code is mixed with our product code 
base.

Regards,
Holger


> On 18 Mar 2024, at 12:43 pm, Eric Leao  wrote:
> 
> Good morning. My name is Eric and I am an undergraduate student at PUC-RJ. 
> I'm doing a research that uses a SPIN script to define an ontology for 
> fine-tuning of relational databases. For this, I was using TOPBraid, and I 
> was able to run the inferences correctly, however, when I used the API 
> (https://www.topbraid.org/spin/api/) to generate the inferences, it was not 
> possible to generate them all, since some parts of the script contain spif 
> functions, such as the split function. Therefore, would it be possible for me 
> to have access to these functions for research purposes? From what I 
> understand, SPIN has been discontinued, so I would like to know if it would 
> be possible to have access to the commercial extension of the API for 
> academic purposes.
> 
> -- 
> The topics of this mailing list include TopBraid EDG and related technologies 
> such as SHACL.
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/31d36aad-a709-4759-bca6-54ca2ebd6afcn%40googlegroups.com
>  
> .

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/8055EF2A-D371-4ED5-A528-91356B409301%40topquadrant.com.


[topbraid-users] Commercial extensions of the SPIN API

2024-03-18 Thread Eric Leao
Good morning. My name is Eric and I am an undergraduate student at PUC-RJ. 
I'm doing a research that uses a SPIN script to define an ontology for 
fine-tuning of relational databases. For this, I was using TOPBraid, and I 
was able to run the inferences correctly, however, when I used the API 
(https://www.topbraid.org/spin/api/) to generate the inferences, it was not 
possible to generate them all, since some parts of the script contain spif 
functions, such as the split function. Therefore, would it be possible for 
me to have access to these functions for research purposes? From what I 
understand, SPIN has been discontinued, so I would like to know if it would 
be possible to have access to the commercial extension of the API for 
academic purposes.

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/31d36aad-a709-4759-bca6-54ca2ebd6afcn%40googlegroups.com.


Re: [topbraid-users] dash:showProgress in modify action

2024-03-18 Thread Ad Reuijl
Ahh yes, i was on 7.7 sorry! thanks for the pointer. 

regards, Ad

Op maandag 18 maart 2024 om 10:51:29 UTC+1 schreef Holger Knublauch:

> Hi Ad,
>
> from the change history it seems that IO.setProgress was introduced with 
> version 7.8. Maybe you are on an older version?
>
> The documentation link you have mentioned is for the "latest" version, 
> which is currently 7.8
>
> Holger
>
>
> On 18 Mar 2024, at 8:35 am, Ad Reuijl  wrote:
>
> Hi Holger, 
>
> Thank you for the quick response, 
> I have a quite large javascript script i'm running to dynamically create 
> sparql query's. it works like a total charm and am really impressed with 
> this combination of javascript wrapped in shacl (genious!).
>
> Now i want to enable the progress bar like so
>
> 
>
>
>
> it gives this error:
>
> 
>
> And i also dont see it in the list of methods:
>
> 
>
> So my assumption was that it may have been removed as functionality. 
>
>
> Happy to hear from you, thanks in advance!
>
> Regards, Ad
> Op vrijdag 15 maart 2024 om 16:47:10 UTC+1 schreef Holger Knublauch:
>
>> Should work but it is hard to say what is wrong without details of what 
>> you tried and what the exact error was. Minimal example?
>>
>> Holger
>>
>>
>> Sent from my iPhone
>>
>> On 15.03.2024, at 15:40, Ad Reuijl  wrote:
>>
>> Hi Holger,
>>
>>
>> I really wanted to use this functionality:  
>> https://archive.topquadrant.com/doc/latest/scripting/actions.html#reporting-progress
>>
>> but it appears to have been removed, is that correct? 
>> I get errors on the IO.SetProgress() function. also i cannot find it in 
>> the documentation of the api. 
>>
>> Thanks in advance!
>> regards,
>>
>> Ad Reuijl
>>
>> -- 
>> The topics of this mailing list include TopBraid EDG and related 
>> technologies such as SHACL.
>> To post to this group, send email to topbrai...@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-user...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com
>>  
>> 
>> .
>>
>>
> -- 
> The topics of this mailing list include TopBraid EDG and related 
> technologies such as SHACL.
> To post to this group, send email to topbrai...@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-user...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/af1c344e-2831-4192-9ce8-d9f19e3dde70n%40googlegroups.com
>  
> 
> .
> 
>
>
>

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/9ad2756b-d2e2-482c-8ba2-f2aa03f17ceen%40googlegroups.com.


Re: [topbraid-users] dash:showProgress in modify action

2024-03-18 Thread Holger Knublauch
Hi Ad,

from the change history it seems that IO.setProgress was introduced with 
version 7.8. Maybe you are on an older version?

The documentation link you have mentioned is for the "latest" version, which is 
currently 7.8

Holger


> On 18 Mar 2024, at 8:35 am, Ad Reuijl  wrote:
> 
> Hi Holger, 
> 
> Thank you for the quick response, 
> I have a quite large javascript script i'm running to dynamically create 
> sparql query's. it works like a total charm and am really impressed with this 
> combination of javascript wrapped in shacl (genious!).
> 
> Now i want to enable the progress bar like so
> 
> 
> 
> 
> it gives this error:
> 
> 
> And i also dont see it in the list of methods:
> 
> 
> 
> So my assumption was that it may have been removed as functionality. 
> 
> 
> Happy to hear from you, thanks in advance!
> 
> Regards, Ad
> Op vrijdag 15 maart 2024 om 16:47:10 UTC+1 schreef Holger Knublauch:
>> Should work but it is hard to say what is wrong without details of what you 
>> tried and what the exact error was. Minimal example?
>> 
>> Holger
>> 
>> 
>> Sent from my iPhone
>> 
>>> On 15.03.2024, at 15:40, Ad Reuijl > wrote:
>>> 
>>> Hi Holger,
>> 
>>> 
>>> I really wanted to use this functionality:  
>>> https://archive.topquadrant.com/doc/latest/scripting/actions.html#reporting-progress
>>> 
>>> but it appears to have been removed, is that correct? 
>>> I get errors on the IO.SetProgress() function. also i cannot find it in the 
>>> documentation of the api. 
>>> 
>>> Thanks in advance!
>>> regards,
>>> 
>>> Ad Reuijl
>>> 
>> 
>>> -- 
>>> The topics of this mailing list include TopBraid EDG and related 
>>> technologies such as SHACL.
>>> To post to this group, send email to topbrai...@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-user...@googlegroups.com <>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com
>>>  
>>> .
> 
> 
> -- 
> The topics of this mailing list include TopBraid EDG and related technologies 
> such as SHACL.
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/af1c344e-2831-4192-9ce8-d9f19e3dde70n%40googlegroups.com
>  
> .
> 

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/0DFC0486-A9AF-4168-ACEB-0DD6916D8AF5%40topquadrant.com.


Re: [topbraid-users] dash:showProgress in modify action

2024-03-18 Thread Ad Reuijl
Hi Holger, 

Thank you for the quick response, 
I have a quite large javascript script i'm running to dynamically create 
sparql query's. it works like a total charm and am really impressed with 
this combination of javascript wrapped in shacl (genious!).

Now i want to enable the progress bar like so
[image: IO.setProgress.PNG]



it gives this error:
[image: IO.error.PNG]

And i also dont see it in the list of methods:

[image: IO.setProgressNotShowingAsMethod.PNG]

So my assumption was that it may have been removed as functionality. 


Happy to hear from you, thanks in advance!

Regards, Ad
Op vrijdag 15 maart 2024 om 16:47:10 UTC+1 schreef Holger Knublauch:

> Should work but it is hard to say what is wrong without details of what 
> you tried and what the exact error was. Minimal example?
>
> Holger
>
>
> Sent from my iPhone
>
> On 15.03.2024, at 15:40, Ad Reuijl  wrote:
>
> Hi Holger,
>
>
> I really wanted to use this functionality:  
> https://archive.topquadrant.com/doc/latest/scripting/actions.html#reporting-progress
>
> but it appears to have been removed, is that correct? 
> I get errors on the IO.SetProgress() function. also i cannot find it in 
> the documentation of the api. 
>
> Thanks in advance!
> regards,
>
> Ad Reuijl
>
> -- 
> The topics of this mailing list include TopBraid EDG and related 
> technologies such as SHACL.
> To post to this group, send email to topbrai...@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-user...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/52bf0e4c-533d-455a-9d79-6de322360ef8n%40googlegroups.com
>  
> 
> .
>
>

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/af1c344e-2831-4192-9ce8-d9f19e3dde70n%40googlegroups.com.