Re: [topbraid-users] Include vs Copy

2024-09-03 Thread David Price
Hi GaBriella,

I think the use case for Copy I have seen most often is when feeding schema or 
data into downstream apps or tools that do not care about/understand the 
partitioning used to govern the data/schema.

For example, if a code generator (e.g. SHACL schema to Java or C++) is in use 
then people often prefer one TTL will all classes and properties in it so that 
the owl:imports statements do not have to be processed by the generator to find 
all visible classes and properties.

Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> On 1 Sep 2024, at 11:27, Holger Knublauch  wrote:
> 
> Hi GaBriella,
> 
> I assume you are referring to using Include (owl:imports) in EDG vs importing 
> an RDF file and thus copying its triples into an asset collection.
> 
> The difference would be that if the data is copied into an asset collection 
> then it could be edited and processed like any other asset collection.
> 
> Files that are owl:imported are assumed to be stable and only changed by 
> experts. This is usually the better option for anything edited outside of 
> TopBraid, such as external namespaces.
> 
> In general, using Include (owl:imports) keeps things more cleanly separated 
> and potentially avoids redundancies.
> 
> Holger
> 
> 
>> On 28 Aug 2024, at 6:48 PM, 'Branson, GaBriella C' via TopBraid Suite Users 
>>  wrote:
>> 
>> Hi – when do you recommend using Copy over Include? If you wouldn’t ever do 
>> that, what are the use cases where you would use Copy?
>>  
>> Thanks!
>>  
>> GaBriella
>>  
>> 
>> -- 
>> 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/CO6PR09MB73192F5939D43694BC8ADA952%40CO6PR09MB7319.namprd09.prod.outlook.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/1C102FCB-9F70-40DA-8DEB-F8F2EAE6EE5C%40topquadrant.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/9395B3D1-64CB-4DF6-A450-8C6C6AC788F3%40topquadrant.com.


Re: [topbraid-users] Best Practices for Managing Multiple Ontology Versions and Archive Collections

2024-07-22 Thread David Price


> On 22 Jul 2024, at 09:42, bostoM  wrote:
> 
> Hello everyone,
> 
> I'm seeking advice on the best practices for managing multiple versions of 
> ontologies within EDG. Specifically, I have two main questions:
> 
> What are the recommended strategies for handling and maintaining different 
> versions of each ontology to ensure consistency and traceability?
> 
First, I assume by “maintaining different versions” you mean “releasing 
managed, identify-able updates of an ontology into an operational environment”.

Versioning of ontologies, whether in EDG or not, does not really have a single 
industry-accepted “best practice”. It depends on the requirements of your 
organization.

For example, highly regulated organizations may always require specific 
versions of ontologies to be used at precise times - e.g. "product data X" was 
built using ontology O1 graph with version 1.2.2 in the URI.

However, others may want the latest-and-greatest at all times while just 
keeping an archive of the older versions around for rollback in case of failure 
- e.g. all product data is created using an unversioned URI for the ontology 
graph with the ontology contents being “replaced” at intervals.

The one EDG distinction is that the EDG URI and the External Graph URI can be 
different (see under Setting tab), and the EDG id must be unique within an EDG 
server. When using versioned URIs, simply cloning the ontology and updating the 
EDG and external graph Id is one possible way. 

Note that using versioned URIs means that every using ontology or data graph 
must also be changed when releasing a new version. Please must be in place to 
address that.
> Is it possible (and advisable) to maintain an archive or collection of old 
> versions of ontologies? If so, what are the best practices for setting up and 
> managing such an archive to ensure easy access and reference?
> 
> 
Of course it’s possible and, as mentioned in 1, may be required (e.g. for audit 
purposes).

The only real recommendation I would make is that you write down your 
requirements in detail. e.g. Why do you need different versions of each 
ontology? Do you need to keep them forever? Are they always upwardly 
compatible, and if not what data migration issues does that raise? Why would 
anyone need to review or use an older version of the same ontology?  Orgs often 
use their software version control system to manage “old” releases of 
ontologies (exported using Sorted Turtle option) to keep old, but not used in 
EDG releases of ontologies. That works for unversioned URIs too using 
tags/releases/etc in the software version control system.

Then, once your requirements are clearly understood and agreed by your 
stakeholders, you can decide on a strategy and determine processes/tools used 
that satisfies those requirements.

I know that’s not an answer, but the question as posed does not have a 
definitive answer.

Cheers,
David
> Thank you in advance for your help!
> 
> 
> 
> -- 
> 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/997a7c2e-4f6a-4291-91a7-b542a65d6b55n%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/F73BCF35-FE7C-4A72-8595-7902DBB4FBFE%40topquadrant.com.


Re: [topbraid-users] Asserting inverse properties (skos:topConceptOf)

2024-04-17 Thread David Price
Sure Steve, that’s exactly what I was talking about …  I guess I did not word 
my reply very weill if it was confusing to you or anyone else.

Cheers,
David

> On 17 Apr 2024, at 14:21, Steve Ray  wrote:
> 
> Actually, David, you don't need the explicit inverse even for cardinality 
> constraints. Here's a snippet from a standard I'm working on:
> 
>   sh:property [
>   sh:path [
>   sh:inversePath s223:observes ;
> ] ;
>   rdfs:comment "An instance of s223:Property must not be observed (set) 
> by more than one entity." ;
>   sh:maxCount 1 ;
>   sh:message "s223: An instance of s223:Property must not be observed 
> (set) by more than one entity." ;
> ] ;
> 
> Steve
> 
> 
> 
> 
> On Wed, Apr 17, 2024 at 4:36 AM David Price  <mailto:dpr...@topquadrant.com>> wrote:
>> 
>> 
>>> On 17 Apr 2024, at 09:18, Holger Knublauch >> <mailto:hol...@topquadrant.com>> wrote:
>>> 
>>> Hi Dan,
>>> 
>>> yes this can be achieved through a dash:ChangeScript, see 
>>> https://archive.topquadrant.com/doc/latest/ext/points.html#change-and-commit-scripts
>>> 
>>> Basically, such scripts are triggered after every change and may perform 
>>> additional changes. In this case, whenever a skos:hasTopConcept gets 
>>> asserted, it would need to assert the corresponding inverse triple. And the 
>>> same for deleting triples. To work consistently, it would need to operate 
>>> in both directions.
>>> 
>>> Note that in contrast to ChangeScripts, inference rules such as sh:values 
>>> rules are only computed on demand and not persisted. They are only computed 
>>> to populate the user interface, for example when you look at the narrower 
>>> concepts that render as inverse of skos:broader triples. We only store 
>>> these in one direction, and do so intentionally because having an inverse 
>>> triple is just adding extra costs and drive up the maintenance burden as it 
>>> is easy to get into situations where the two directions become out of 
>>> synch. Therefore we strongly discourage using explicit inverse triples, 
>>> instead preferring sh:inversePath declarations.
>>> 
>> 
>> Holger is 100% right on the “discourage using explicit inverse triples” 
>> idea. They are nearly impossible to keep synch’d and we have recent customer 
>> situations where we had to “undo” that mistake as part of a data model V2 
>> and related data migration.
>> 
>>> In my personal opinion, introducing inverse properties with OWL was a major 
>>> mistake, and it got unfortunately propagated into SKOS too. As RDF triples 
>>> are symmetric between subjects and objects, and graphs can be walked in 
>>> both directions equally.
>>> 
>> 
>> From a modeller’s perspective the main “good” reason to include inverse 
>> properties in SHACL it is so that the reverse property can have cardinality 
>> constraints. That need does pop up, so almost all data modelling 
>> languages/standards support the idea of inverse relations with cardinality. 
>> It’s not specific to RDF-land.
>> 
>> Cheers,
>> David
>> 
>>> Do you have downstream tools that require these explicit inverse triples?
>>> 
>>> Holger
>>> 
>>> 
>>>> On 16 Apr 2024, at 8:03 PM, Dan Segal >>> <mailto:dan.segal.w...@gmail.com>> wrote:
>>>> 
>>>> Is there a way to assert an inverse property into the source code of a 
>>>> concept?
>>>> 
>>>> For example, where we have:
>>>> 
>>>> conceptScheme skos:hasTopConcept concept
>>>> 
>>>> we want to assert:
>>>> 
>>>> concept skos:topConceptOf conceptScheme
>>>> 
>>>> Since skos:topConceptOf is defined as the inverse of skos:hasTopConcept, 
>>>> the relationship displays in the form view.   However, we want to assert 
>>>> the statement so that the triple concept skos:topConceptOf conceptScheme 
>>>> is written to the RDF.
>>>> 
>>>> Have tried a property rule, as well executing inference rules.  Neither 
>>>> results in the inverse relationship being written to RDF.
>>>> 
>>>> Thank you
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> The topics of this mailing list include TopBraid EDG and related 
>>>> techn

Re: [topbraid-users] enum creation

2024-04-17 Thread David Price
Need the sh:in do be defined in PropertyShaps, not NodeShape.

Example from eariler:

example_schema:ThingWithStatus-hasStatus
  a sh:PropertyShape ;
  sh:path example_schema:hasStatus ;
  sh:class example_schema:Status ;
  sh:description "only Active or Retired allowed" ;
  sh:in (
  example_schema:Active
  example_schema:Retired
) ;
  sh:maxCount 1 ;
  sh:name "has status" ;
.

Cheers,
David

> On 17 Apr 2024, at 14:00, 'Luis Enrique Ramos García' via TopBraid Suite 
> Users  wrote:
> 
> sure, 
> 
> I created a similar ontology for testing with same results, here is the code:
> 
> tesontologyramosenum:Color
>   a owl:Class ;
>   a sh:NodeShape ;
>   rdfs:label "Color" ;
>   rdfs:subClassOf owl:Thing ;
>   sh:in (
>   tesontologyramosenum:Green
>   tesontologyramosenum:Yellow
>   tesontologyramosenum:Red
> ) ;
>   sh:property tesontologyramosenum:Color-label ;
> .
> 
> the screen shot is this:
> 
> 
> 
> 
> with similar results, a datatype property without labeling, and a group of 
> undeclared properties.
> 
> Is this the expected result?
> 
> How do I use this in traffic light instances, if that were the case?
> 
> 
> Luis 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> El mié, 17 abr 2024 a las 14:41, Holger Knublauch ( >) escribió:
>> Can you paste us the complete content of the source code panel, e.g. as a 
>> screenshot? It's hard to see otherwise and there are syntax errors below.
>> 
>> Holger
>> 
>> 
>>> On 17 Apr 2024, at 2:38 PM, 'Luis Enrique Ramos García' via TopBraid Suite 
>>> Users >> > wrote:
>>> 
>>> I need only 3 elements in the enum, 
>>> 
>>> But, I tried at the first the source code edition, and told you the result 
>>> I got:
>>> 
>>> **
>>> 
>>> 1. I tried to add the code by myself, but it seems there is something wrong 
>>> with the code:
>>> sh:in (
>>>   myontology:value1
>>>myontology _:value2
>>>   myontology :value3
>>> ) ;
>>> myontology:property1;
>>> myontology:property2;
>>> myontology:enumproperty;
>>> 
>>> Please, take in account that I edited the enum property just after the 
>>> sh:in, but the editor put it at the end
>>> of the list of properties.
>>> 
>>> Part of the result was this black datatype property in properties list
>>> 
>>> 
>>> 
>>> and in the undeclared property there is a list with these values:
>>> 
>>> in  [myontology:property1;
>>>   myontology:property1;
>>>   myontology:enumproperty;]
>>> 
>>> is thát the expected result?
>>> 
>>> **
>>> 
>>> 
>>> Luis 
>>> 
>>> El mié, 17 abr 2024 a las 14:33, Holger Knublauch (>> >) escribió:
 
 
> On 17 Apr 2024, at 2:30 PM, 'Luis Enrique Ramos García' via TopBraid 
> Suite Users  > wrote:
> 
> Thanks for your quick answer, 
> 
> But, dear, where should I add this code?.
> 
> Because I tried to add it in the source code panel, and it didn't work, 
> same with the script panel,
> where I expected it should work, but it did not. 
> 
> So, I owner in which panel should I add this code?.
> 
> I do not have any idea how to use it.
 
 Yes, it requires JS experience. There is no out-of-the-box solution for 
 what you are trying to express.
 
 How many enumerations do you need? If it's just a few, I would suggest 
 going ahead with manual editing of sh:in lists in the Source Code.
 
 Holger
 
 
> 
> 
> Luis 
> 
> 
> 
> El mié, 17 abr 2024 a las 13:45, Holger Knublauch 
> (mailto:hol...@topquadrant.com>>) escribió:
>> 
>> 
>>> On 17 Apr 2024, at 1:38 PM, 'Luis Enrique Ramos García' via TopBraid 
>>> Suite Users >> > wrote:
>>> 
>>> I am working with version Version: 7.5.1 (20230316-1531).
>> 
>> Ok then the script may not work, assuming the RDFNodeUtil object was 
>> introduced later.
>> 
>> In that case source code editing may be your best solution, unless you 
>> know how to use this
>> 
>> 
>> createList: (nodes) => {
>> let nil = graph.namedNode(rdf.NS + 'nil');
>> if(nodes.length == 0) {
>> return nil;
>> }
>> let root = graph.blankNode();
>> let current = root;
>> nodes.forEach((node, index) => {
>> current.add(rdf.first, node);
>> let rest = index < nodes.length - 1 ? graph.blankNode() : 
>> nil;
>> current.add(

Re: [topbraid-users] Asserting inverse properties (skos:topConceptOf)

2024-04-17 Thread David Price


> On 17 Apr 2024, at 09:18, Holger Knublauch  wrote:
> 
> Hi Dan,
> 
> yes this can be achieved through a dash:ChangeScript, see 
> https://archive.topquadrant.com/doc/latest/ext/points.html#change-and-commit-scripts
> 
> Basically, such scripts are triggered after every change and may perform 
> additional changes. In this case, whenever a skos:hasTopConcept gets 
> asserted, it would need to assert the corresponding inverse triple. And the 
> same for deleting triples. To work consistently, it would need to operate in 
> both directions.
> 
> Note that in contrast to ChangeScripts, inference rules such as sh:values 
> rules are only computed on demand and not persisted. They are only computed 
> to populate the user interface, for example when you look at the narrower 
> concepts that render as inverse of skos:broader triples. We only store these 
> in one direction, and do so intentionally because having an inverse triple is 
> just adding extra costs and drive up the maintenance burden as it is easy to 
> get into situations where the two directions become out of synch. Therefore 
> we strongly discourage using explicit inverse triples, instead preferring 
> sh:inversePath declarations.
> 

Holger is 100% right on the “discourage using explicit inverse triples” idea. 
They are nearly impossible to keep synch’d and we have recent customer 
situations where we had to “undo” that mistake as part of a data model V2 and 
related data migration.

> In my personal opinion, introducing inverse properties with OWL was a major 
> mistake, and it got unfortunately propagated into SKOS too. As RDF triples 
> are symmetric between subjects and objects, and graphs can be walked in both 
> directions equally.
> 

>From a modeller’s perspective the main “good” reason to include inverse 
>properties in SHACL it is so that the reverse property can have cardinality 
>constraints. That need does pop up, so almost all data modelling 
>languages/standards support the idea of inverse relations with cardinality. 
>It’s not specific to RDF-land.

Cheers,
David

> Do you have downstream tools that require these explicit inverse triples?
> 
> Holger
> 
> 
>> On 16 Apr 2024, at 8:03 PM, Dan Segal  wrote:
>> 
>> Is there a way to assert an inverse property into the source code of a 
>> concept?
>> 
>> For example, where we have:
>> 
>> conceptScheme skos:hasTopConcept concept
>> 
>> we want to assert:
>> 
>> concept skos:topConceptOf conceptScheme
>> 
>> Since skos:topConceptOf is defined as the inverse of skos:hasTopConcept, the 
>> relationship displays in the form view.   However, we want to assert the 
>> statement so that the triple concept skos:topConceptOf conceptScheme is 
>> written to the RDF.
>> 
>> Have tried a property rule, as well executing inference rules.  Neither 
>> results in the inverse relationship being written to RDF.
>> 
>> Thank you
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> -- 
>> 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/c4724215-481a-4c08-960b-7c29ffb16169n%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/67C9D2F5-C581-4F8E-AB40-CEB3A897DCBB%40topquadrant.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/B22B3

Re: [topbraid-users] Inverse Path ?

2024-04-13 Thread David Price


> On 13 Apr 2024, at 11:48, Maatary Okouya  wrote:
> 
> What we are trying to say is: 
> 
> If Relation1 is supportedBy Evidence1
> Then
> Evidence 1 must support Relation1
> 
> With the additional constraint that a Relation can be supportedBy multiple 
> Evidence, and an Evidence can only support 1 Relation

Just a sh:minCount and sh:maxCount to any property shape (including inverses) 
involved to set the cardinality to whatever you need.

Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> 
> On Saturday, April 13, 2024 at 10:09:33 AM UTC+1 Maatary Okouya wrote:
>> If i may i just want to make sure that I understand your statement in full.
>> 
>> >> It you use inverses, there is no actual reverse triple … so it is not 
>> >> possible for the inverse to not “point" to the correct source instance.
>> When you say if you use "inverses", do you mean 
>> https://www.w3.org/TR/shacl/#property-path-inverse the shacl construct, or 
>> the owl construct owl:inverseOf or owl:inverseFunctional ?
>> 
>> In our current model there is a property from Relation to Evidence called 
>> supportedBy and a property from Evidence to Relation called Support
>> We have not used any owl construct to connect them so far.
>> 
>> 
>> On Tuesday, March 26, 2024 at 7:39:02 AM UTC David Price wrote:
>>> It you use inverses, there is no actual reverse triple … so it is not 
>>> possible for the inverse to not “point" to the correct source instance.
>>> 
>>> EDG has a Modify action that will make an inverse of an existing 
>>> relationship property for you ,and you just name it and set the cardinality 
>>> as needed.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Cheers,
>>> David
>>> 
>>> UK +44 (0) 7788 561308 
>>> US +1 (336) 283-0808 ‬
>>> 
>>> 
>>>> On 25 Mar 2024, at 23:33, Maatary Okouya > wrote:
>>>> 
>>> 
>>>> Hi, 
>>>> 
>>>> I have a model as follow
>>>> 
>>>> Relation have 1 or more Evidence i.e. min 1
>>>> An Evidence must support 1 Relation i.e. min 1 max 1
>>>> 
>>>> I would like to express the the fact that "A Relation has as Evidence, An 
>>>> Evidence that support it" 
>>>> In other words, if a Relation point to an evidence, that evidence must 
>>>> point to that relation. 
>>>> 
>>>> What is the correct to model that in SHACL. 
>>>> 
>>>> I obviously looked into inverse path, but could not figure out how to do 
>>>> it with it. 
>>>> 
>>>> Any suggestion
>>>> 
>>>> 
>>>> 
>>> 
>>>> -- 
>>>> 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/66aa40e6-305f-4192-975c-e485a2aed1b5n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/topbraid-users/66aa40e6-305f-4192-975c-e485a2aed1b5n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>> 
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/b30d9eb8-4391-4faf-886d-a801046140d0n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/b30d9eb8-4391-4faf-886d-a801046140d0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/B8D4E855-7796-4168-AC70-57DC93CFFE2C%40topquadrant.com.


Re: [topbraid-users] Inverse Path ?

2024-04-13 Thread David Price
# baseURI: urn:x-evn-master:inverse_example_schema

@prefix ex: <http://example.org/ontologies/Inverse_Example_Schema#> .
@prefix metadata: <http://topbraid.org/metadata#> .
@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 sh: <http://www.w3.org/ns/shacl#> .
@prefix teamwork: <http://topbraid.org/teamwork#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ex:Evidence
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:label "Evidence" ;
  rdfs:subClassOf owl:Thing ;
  sh:property ex:Evidence-description ;
  sh:property ex:Evidence-isSupportedBy-inverse ;
.
ex:Evidence-description
  a sh:PropertyShape ;
  sh:path ex:description ;
  sh:datatype xsd:string ;
  sh:maxCount 1 ;
  sh:name "description" ;
.
ex:Evidence-isSupportedBy-inverse
  a sh:PropertyShape ;
  sh:path [
  sh:inversePath ex:isSupportedBy ;
] ;
  sh:class ex:ProposedRelationships ;
  sh:name "supports" ;
.
ex:ProposedRelationships
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:label "Proposed Relationships" ;
  rdfs:subClassOf owl:Thing ;
  sh:property ex:ProposedRelationships-description ;
  sh:property ex:ProposedRelationships-isSupportedBy ;
.
ex:ProposedRelationships-description
  a sh:PropertyShape ;
  sh:path ex:description ;
  sh:datatype xsd:string ;
  sh:maxCount 1 ;
  sh:name "description" ;
.
ex:ProposedRelationships-isSupportedBy
  a sh:PropertyShape ;
  sh:path ex:isSupportedBy ;
  sh:class ex:Evidence ;
  sh:name "is supported by" ;
.

  a owl:Ontology ;
  metadata:status metadata:UnderDevelopmentStatus ;
  <http://topbraid.org/swa#defaultNamespace> 
"http://example.org/ontologies/Inverse_Example_Schema#"; ;
  rdfs:label "Inverse Example Schema" ;
  owl:imports <http://datashapes.org/graphql> ;
.


Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> On 13 Apr 2024, at 11:09, Maatary Okouya  wrote:
> 
> If i may i just want to make sure that I understand your statement in full.
> 
> >> It you use inverses, there is no actual reverse triple … so it is not 
> >> possible for the inverse to not “point" to the correct source instance.
> When you say if you use "inverses", do you mean 
> https://www.w3.org/TR/shacl/#property-path-inverse the shacl construct, or 
> the owl construct owl:inverseOf or owl:inverseFunctional ?
> 
> In our current model there is a property from Relation to Evidence called 
> supportedBy and a property from Evidence to Relation called Support
> We have not used any owl construct to connect them so far.
> 
> 
> On Tuesday, March 26, 2024 at 7:39:02 AM UTC David Price wrote:
>> It you use inverses, there is no actual reverse triple … so it is not 
>> possible for the inverse to not “point" to the correct source instance.
>> 
>> EDG has a Modify action that will make an inverse of an existing 
>> relationship property for you ,and you just name it and set the cardinality 
>> as needed.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Cheers,
>> David
>> 
>> UK +44 (0) 7788 561308 
>> US +1 (336) 283-0808 ‬
>> 
>> 
>>> On 25 Mar 2024, at 23:33, Maatary Okouya > wrote:
>>> 
>> 
>>> Hi, 
>>> 
>>> I have a model as follow
>>> 
>>> Relation have 1 or more Evidence i.e. min 1
>>> An Evidence must support 1 Relation i.e. min 1 max 1
>>> 
>>> I would like to express the the fact that "A Relation has as Evidence, An 
>>> Evidence that support it" 
>>> In other words, if a Relation point to an evidence, that evidence must 
>>> point to that relation. 
>>> 
>>> What is the correct to model that in SHACL. 
>>> 
>>> I obviously looked into inverse path, but could not figure out how to do it 
>>> with it. 
>>> 
>>> Any suggestion
>>> 
>>> 
>>> 
>> 
>>> -- 
>>> 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/66aa40e6-305f-4192-975c-e485a2aed1b5n%40goog

Re: [topbraid-users] EDG Files vs Collection

2024-03-24 Thread David Price
Exactly.  Until Included no graph is visible in a user collection, regardless of whether that referenced graph is a collection or deployed/uploaded RDF file.Cheers,DavidOn 23 Mar 2024, at 20:02, Maatary Okouya  wrote:My bad there is one last thing that you said that i want to confirm that i understood properly. >> Settings, Includes will now show your ontologies under the “Other” category.I think i understand that now. This essentially entail, that a user will create a collection, and in the setting include section, will be able to see what has been uploaded in the workspace. In other words they will have access once they import the FILE in their working collection (whatever that collection is)>> That said, with two ontologist it see like just using the EDG server and workflows would work for your situation. Your two experts can share workflows and test them before committing them to the production copy allowing the “users” to see the result. Again, "to see the results" here means via the include. I can see that what i tested is slightly different from what you suggested with the include. That's because my intent was never to serve files that will feed into other collection that users would be working on. Hence i did not understand the statement at first.Anyway, this has been very useful. I believe I understand better EDG Server Scope. On Saturday, March 23, 2024 at 6:42:14 PM UTC David Price wrote:On 23 Mar 2024, at 13:30, Maatary Okouya <maatar...@gmail.com> wrote:Thank you for the instructionI did not fully understand this >> Settings, Includes will now show your ontologies under the “Other” category.Questions:1) can we use the option Send Projects to Another ServerNo, you must do as I described.Your Studio cannot be configured  in the same manner as your EDG server or the git repo. Of course, there are other possibilities..  just described one.CheersDavidI have tried it, but keep failing, it seems like i am not entering the right address ? What should be the address or any other pre-requisite for that option to work ?I am using https://server-address/edg/. and using my admin credential. Yet it is failing. I'm also selecting the relevant subset of file i want to send. 2) Working with EDG Server directly, unfortunately is not an option for multiple reasons unfortunately.3) Something that seem problematic with your approach, is that we work with Files in EDG Studio.- If i create a folder to put my TTL in the same git repo and project, then i will have multiple files with the same BaseURI which TopBraid Product typically do not like. - Moreover The Upload Option also requires that the folder contains a .project file otherwise it rejects the upload.- Once the upload is done, it seems we have to use the option create ontology from Existing Files to actually see the upload. And that's a problem because that import transform things in a way we don't want to. For instance our ontology separate shapes from class, and when using that function, the collection created add shapes to the class directly i.e. making all our class nodeshape and keeping the separate shape too, and we end up with the wrong thing.Hence does not work for us. Isn't a way to import your ontology without modyfing it, so long it follow all the standard given that it is developped with Files on StudioOn Saturday, March 23, 2024 at 10:04:47 AM UTC David Price wrote:On 22 Mar 2024, at 18:53, Maatary Okouya <maatar...@gmail.com> wrote:>>  There is no single best practice for deployment. It depends on who is responsible for what, the skills of the team, how many are on the ontogists team, are external staff often used, how often ontologies need to change, how tightly controlled/regulated the organization is, etc.We have currently 2 experts ontologist working on models on studio and collaborating via Git.  Our goal is simply to upload the work of the ontologist as frequently as necessary to EDG Server, and have developers and product owners consult the only. It support data contract discussion between all the parties involved in the project. Ideally we wanted to go through git integration, but it seems that it does not work since the File Asset Type has been removed from EDG Server. Would have been nice to keep it as read only at least. From what i have red online, it seems we only have the manual upload possible as in extra step but git push. But we are not sure here exactly what are the exact steps to follow.  No external staff, the ontology currently is in active development, but very soon about to settle and expected to change not that frequently. In term of control/regulation, we are establishing the practice at the moment. s, Seems like using Server Admin, Project Upload when your team gets to a “stable release” would work. Here’s a process we use for some customers that works for us:make a folder in git called something like myontologies.topbraidlive.org (call it what yo

Re: [topbraid-users] EDG Files vs Collection

2024-03-23 Thread David Price
On 23 Mar 2024, at 13:30, Maatary Okouya  wrote:Thank you for the instructionI did not fully understand this >> Settings, Includes will now show your ontologies under the “Other” category.Questions:1) can we use the option Send Projects to Another ServerNo, you must do as I described.Your Studio cannot be configured  in the same manner as your EDG server or the git repo. Of course, there are other possibilities..  just described one.CheersDavidI have tried it, but keep failing, it seems like i am not entering the right address ? What should be the address or any other pre-requisite for that option to work ?I am using https://server-address/edg/. and using my admin credential. Yet it is failing. I'm also selecting the relevant subset of file i want to send. 2) Working with EDG Server directly, unfortunately is not an option for multiple reasons unfortunately.3) Something that seem problematic with your approach, is that we work with Files in EDG Studio.- If i create a folder to put my TTL in the same git repo and project, then i will have multiple files with the same BaseURI which TopBraid Product typically do not like. - Moreover The Upload Option also requires that the folder contains a .project file otherwise it rejects the upload.- Once the upload is done, it seems we have to use the option create ontology from Existing Files to actually see the upload. And that's a problem because that import transform things in a way we don't want to. For instance our ontology separate shapes from class, and when using that function, the collection created add shapes to the class directly i.e. making all our class nodeshape and keeping the separate shape too, and we end up with the wrong thing.Hence does not work for us. Isn't a way to import your ontology without modyfing it, so long it follow all the standard given that it is developped with Files on StudioOn Saturday, March 23, 2024 at 10:04:47 AM UTC David Price wrote:On 22 Mar 2024, at 18:53, Maatary Okouya <maatar...@gmail.com> wrote:>>  There is no single best practice for deployment. It depends on who is responsible for what, the skills of the team, how many are on the ontogists team, are external staff often used, how often ontologies need to change, how tightly controlled/regulated the organization is, etc.We have currently 2 experts ontologist working on models on studio and collaborating via Git.  Our goal is simply to upload the work of the ontologist as frequently as necessary to EDG Server, and have developers and product owners consult the only. It support data contract discussion between all the parties involved in the project. Ideally we wanted to go through git integration, but it seems that it does not work since the File Asset Type has been removed from EDG Server. Would have been nice to keep it as read only at least. From what i have red online, it seems we only have the manual upload possible as in extra step but git push. But we are not sure here exactly what are the exact steps to follow.  No external staff, the ontology currently is in active development, but very soon about to settle and expected to change not that frequently. In term of control/regulation, we are establishing the practice at the moment. s, Seems like using Server Admin, Project Upload when your team gets to a “stable release” would work. Here’s a process we use for some customers that works for us:make a folder in git called something like myontologies.topbraidlive.org (call it what you want but adopt a convention and follow it)put your TTLs in the folder making sure they have rdf:type owl;Ontology statementszip the folder when ready to deploy to serverProject Upload (from then on I usually use a the “Delete old project option and always completely replace everything, but that’s up to you, update is available)Settings, Includes will now show your ontologies under the “Other” category.That said, with two ontologist it see like just using the EDG server and workflows would work for your situation. Your two experts can share workflows and test them before committing them to the production copy allowing the “users” to see the result.  Workflows are not 100% equivalent of git branches, but not a million miles away. If you are using git as a kind of backup or as shared corporate knowledge, then after the commit the ontologist can just Export RDF sorted TTL and update the git repo.Cheers,DavidOn Friday, March 22, 2024 at 6:25:54 PM UTC David Price wrote:On 22 Mar 2024, at 16:49, Maatary Okouya <maatar...@gmail.com> wrote:| Collections *are* the "user data” created and changed by users of an EDG server, assuming they have the right role/permissions.Ok, then in that logic, why would a user be allowed to create a collection of type ontology ? This feels more like a software system by your definition. They should only be able to create instance data no? Instance of ontology or simply taxonomy. But i can also understand that as the te

Re: [topbraid-users] EDG Files vs Collection

2024-03-23 Thread David Price


> On 22 Mar 2024, at 18:53, Maatary Okouya  wrote:
> 
> >>  There is no single best practice for deployment. It depends on who is 
> >> responsible for what, the skills of the team, how many are on the 
> >> ontogists team, are external staff often used, how often ontologies need 
> >> to change, how tightly controlled/regulated the organization is, etc.
> 
> We have currently 2 experts ontologist working on models on studio and 
> collaborating via Git.  Our goal is simply to upload the work of the 
> ontologist as frequently as necessary to EDG Server, and have developers and 
> product owners consult the only. It support data contract discussion between 
> all the parties involved in the project. Ideally we wanted to go through git 
> integration, but it seems that it does not work since the File Asset Type has 
> been removed from EDG Server. Would have been nice to keep it as read only at 
> least. From what i have red online, it seems we only have the manual upload 
> possible as in extra step but git push. But we are not sure here exactly what 
> are the exact steps to follow. 
> 
>  No external staff, the ontology currently is in active development, but very 
> soon about to settle and expected to change not that frequently. In term of 
> control/regulation, we are establishing the practice at the moment. s, 

Seems like using Server Admin, Project Upload when your team gets to a “stable 
release” would work. Here’s a process we use for some customers that works for 
us:

make a folder in git called something like myontologies.topbraidlive.org 
<http://myontologies.topbraidlive.org/> (call it what you want but adopt a 
convention and follow it)
put your TTLs in the folder making sure they have rdf:type owl;Ontology 
statements
zip the folder when ready to deploy to server
Project Upload (from then on I usually use a the “Delete old project option and 
always completely replace everything, but that’s up to you, update is available)
Settings, Includes will now show your ontologies under the “Other” category.

That said, with two ontologist it see like just using the EDG server and 
workflows would work for your situation. Your two experts can share workflows 
and test them before committing them to the production copy allowing the 
“users” to see the result.  Workflows are not 100% equivalent of git branches, 
but not a million miles away. If you are using git as a kind of backup or as 
shared corporate knowledge, then after the commit the ontologist can just 
Export RDF sorted TTL and update the git repo.

Cheers,
David

> 
> On Friday, March 22, 2024 at 6:25:54 PM UTC David Price wrote:
>> 
>>> On 22 Mar 2024, at 16:49, Maatary Okouya > wrote:
>>> 
>>> 
>>> | Collections *are* the "user data” created and changed by users of an EDG 
>>> server, assuming they have the right role/permissions.
>>> Ok, then in that logic, why would a user be allowed to create a collection 
>>> of type ontology ? This feels more like a software system by your 
>>> definition. They should only be able to create instance data no? Instance 
>>> of ontology or simply taxonomy. But i can also understand that as the 
>>> technology itself, difference between instance data and schema data can be 
>>> blur sometime.
>> 
>> If an EDG user is an ontologist, then classes and properties are user data 
>> (i.e. data created by an EDG user).  
>> 
>> Sometimes an ontology is the end product for some EDG users. 
>> 
>> Sometimes the ontologies are used by a different set of EDG users to create 
>> instances in a Data Graph, for example.
>> 
>> EDG is flexible … and the EDG UI is almost all "model-driven” driven by the 
>> fact that ontologies are also a kind of data.
>> 
>>> The all workflow thingy, feels to me like collaborative ontology editing. 
>> 
>> Workflows are for editing anything in EDG collections, not just ontologies.
>> 
>>> 
>>> In any case at this point, I would like to be able to deploy the ontologies 
>>> we create with EDG Studio to EDG Server, not for user to edit user data (on 
>>> top of it), but simply to consult the ontologies. What the best workflow 
>>> for that ? doesn't the Git integration enable that ? 
>> 
>> There is no single best practice for deployment. It depends on who is 
>> responsible for what, the skills of the team, how many are on the ontogists 
>> team, are external staff often used, how often ontologies need to change, 
>> how tightly controlled/regulated the organization is, etc.
>> 
>> Cheers,
>> David
>> 
>> 
>>> 
>>> On Sunday, March 10, 2024 

Re: [topbraid-users] EDG Files vs Collection

2024-03-22 Thread David Price


> On 22 Mar 2024, at 16:49, Maatary Okouya  wrote:
> 
> 
> | Collections *are* the "user data” created and changed by users of an EDG 
> server, assuming they have the right role/permissions.
> Ok, then in that logic, why would a user be allowed to create a collection of 
> type ontology ? This feels more like a software system by your definition. 
> They should only be able to create instance data no? Instance of ontology or 
> simply taxonomy. But i can also understand that as the technology itself, 
> difference between instance data and schema data can be blur sometime.

If an EDG user is an ontologist, then classes and properties are user data 
(i.e. data created by an EDG user).  

Sometimes an ontology is the end product for some EDG users. 

Sometimes the ontologies are used by a different set of EDG users to create 
instances in a Data Graph, for example.

EDG is flexible … and the EDG UI is almost all "model-driven” driven by the 
fact that ontologies are also a kind of data.

> The all workflow thingy, feels to me like collaborative ontology editing. 

Workflows are for editing anything in EDG collections, not just ontologies.

> 
> In any case at this point, I would like to be able to deploy the ontologies 
> we create with EDG Studio to EDG Server, not for user to edit user data (on 
> top of it), but simply to consult the ontologies. What the best workflow for 
> that ? doesn't the Git integration enable that ? 

There is no single best practice for deployment. It depends on who is 
responsible for what, the skills of the team, how many are on the ontogists 
team, are external staff often used, how often ontologies need to change, how 
tightly controlled/regulated the organization is, etc.

Cheers,
David

> 
> On Sunday, March 10, 2024 at 11:10:13 AM UTC Maatary Okouya wrote:
>> Understood. thank you
>> 
>> On Sunday, March 10, 2024 at 9:45:04 AM UTC David Price wrote:
>>> 
>>>> On 10 Mar 2024, at 06:35, Maatary Okouya > wrote:
>>>> 
>>>> Then what is really the rational for having files and collection ? I work 
>>>> with studio mostly, Files are perfect for me. I just want to make sure 
>>>> that i fully graps the philosophy here. Files did not exist in previous 
>>>> version, why was it added ?
>>> 
>>> Put simply, Studio/Files is how developers/ontologists deliver a software 
>>> system, and Collections are how users create and manage data using that 
>>> software system.
>>> 
>>> Studio was built for EDG server-supporting developers, ontologists, etc. 
>>> who need to build and test ontologies, scripts, etc. before they get 
>>> deployed to an EDG server as a “project” for use by the users of that EDG 
>>> server.  
>>> 
>>> Files is a feature for those developers that understands SPARQL, SHACL, 
>>> etc. and so is better than using an external source code editor on TTL 
>>> files, for example. Files is not intended to be a feature available on 
>>> operational EDG servers due to security and system support/uptime risks.   
>>> 
>>> The graphs deployed to an EDG server as a “project” are not “user data” so 
>>> we don’t want users changing them.
>>> 
>>> Collections *are* the "user data” created and changed by users of an EDG 
>>> server, assuming they have the right role/permissions.
>>> 
>>> Cheers,
>>> David
>>> 
>>> UK +44 (0) 7788 561308 
>>> US +1 (336) 283-0808 ‬
>>> 
>>>> 
>>>> On Saturday, March 9, 2024 at 3:15:12 PM UTC David Price wrote:
>>>>> “wrapping” files is not a good way to think about this. The EDG behaviour 
>>>>> between collections and files is normal owl:imports.
>>>>> 
>>>>> EDG Files contain a named graph. So do collections, and collections can 
>>>>> include (i.e. owl:imports) a graph that happens to be in a file or a 
>>>>> collection.
>>>>> 
>>>>> If you change graph in a File at any point in time, then those changes 
>>>>> are visible immediately in all including collections (accepting that 
>>>>> caches may need to be refreshed for any currently in-use collections via 
>>>>> a page reload for example).
>>>>> 
>>>>> FYI there are a few “special” files in EDG - api.ttl files contents are 
>>>>> made visible via a software mechanism rather than owl:imports. These 
>>>>> usually contain SPARQL Functions, for example, which are really 
>>>>> “software” not "data model” or “data”. See

Re: [topbraid-users] EDG Files vs Collection

2024-03-10 Thread David Price


> On 10 Mar 2024, at 06:35, Maatary Okouya  wrote:
> 
> Then what is really the rational for having files and collection ? I work 
> with studio mostly, Files are perfect for me. I just want to make sure that i 
> fully graps the philosophy here. Files did not exist in previous version, why 
> was it added ?

Put simply, Studio/Files is how developers/ontologists deliver a software 
system, and Collections are how users create and manage data using that 
software system.

Studio was built for EDG server-supporting developers, ontologists, etc. who 
need to build and test ontologies, scripts, etc. before they get deployed to an 
EDG server as a “project” for use by the users of that EDG server.  

Files is a feature for those developers that understands SPARQL, SHACL, etc. 
and so is better than using an external source code editor on TTL files, for 
example. Files is not intended to be a feature available on operational EDG 
servers due to security and system support/uptime risks.   

The graphs deployed to an EDG server as a “project” are not “user data” so we 
don’t want users changing them.

Collections *are* the "user data” created and changed by users of an EDG 
server, assuming they have the right role/permissions.

Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> 
> On Saturday, March 9, 2024 at 3:15:12 PM UTC David Price wrote:
>> “wrapping” files is not a good way to think about this. The EDG behaviour 
>> between collections and files is normal owl:imports.
>> 
>> EDG Files contain a named graph. So do collections, and collections can 
>> include (i.e. owl:imports) a graph that happens to be in a file or a 
>> collection.
>> 
>> If you change graph in a File at any point in time, then those changes are 
>> visible immediately in all including collections (accepting that caches may 
>> need to be refreshed for any currently in-use collections via a page reload 
>> for example).
>> 
>> FYI there are a few “special” files in EDG - api.ttl files contents are made 
>> visible via a software mechanism rather than owl:imports. These usually 
>> contain SPARQL Functions, for example, which are really “software” not "data 
>> model” or “data”. See 
>> 
>> https://archive.topquadrant.com/doc/latest/ext/process.html#working-with-extension-files
>> 
>> which is part of
>> 
>> https://archive.topquadrant.com/doc/latest/ext/index.html
>> 
>> Cheers,
>> David
>> 
>> UK +44 (0) 7788 561308 
>> US +1 (336) 283-0808 ‬
>> 
>> 
>>> On 9 Mar 2024, at 14:29, Maatary Okouya > wrote:
>>> 
>> 
>>> Hi, 
>>> 
>>> When wrapping Files, into EDG Collection. Does it become a completely 
>>> separate entity e.g. ontology, or the two can be kept in sync, as in what 
>>> change on files is propagate to the ontology wrapped ?
>>> 
>>> I guess my question is about understanding the intended behavior
>>> 
>> 
>>> -- 
>>> 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/80f75b5d-564c-4c2b-ae3e-923be77f3a8an%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/topbraid-users/80f75b5d-564c-4c2b-ae3e-923be77f3a8an%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/188d2eea-dd43-479a-b646-eba1ac4a4452n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/188d2eea-dd43-479a-b646-eba1ac4a4452n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/534CA2A2-C645-471C-8B23-F2837357C92C%40topquadrant.com.


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

2024-03-09 Thread David Price
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
US +1 (336) 283-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, 
> error prone and would not work in cases like Data Platform where multiple 
> copies exist in a network. And having to redo these changes after each 
> TopBraid update is also not ideal.
> 
> So what would be better solutions:
> 
> 1) We could move all these external graphs into a separated project that 
> users can delete/replace.
> 
> 2) We could try to include modernized versions that better interact with 
> SHACL. But in the case of dcterms, would people really want to see all these 
> extra root classes under owl:Thing? Should they go under rdfs:Resource, or an 
> artificial superclass? The choice should be up to the users.
> 
> To help me scope the problem: Which other graphs are we talking about, 
> specifically?
> 
> Holger
> 
> 
> 
>> On 8 Mar 2024, at 5:50 pm, Matt Goldberg  wrote:
>> 
>> There are a few situations where it was useful. First relates to updating 
>> QUDT, which was briefly discussed in this thread: 
>> https://groups.google.com/g/topbraid-users/c/3t44aIHgXuM/m/pNVC-u_pAgAJ
>> 
>> If I wanted to maintain a separate copy of QUDT as asset collections there 
>> might be collisions between the graph URIs of the files and the external 
>> URIs of the Asset Collections which could cause some confusion. But the 
>> versions included can't be deleted or modified (easily) without Files since 
>> it is not in a project. 
>> 
>> Additionally, sometimes tweaks need to be made to those files to fix certain 
>> issues. For example, we use and/or import several ontologies that import 
>> some of the common ontologies included with EDG. Some of these don't meet 
>> all of the default constraints EDG has, so I have been replacing those files 
>> with fixed versions to prevent those errors from occuring anywhere they're 
>> imported. DCTERMS is an example of this; importing DCTERMS as-is will result 
>> in ~25 SHACL warnings about classes in DCTERMS not having a named 
>> superclass. I suppose I could have another asset collection or file in a 
>> project that imports DCTERMS and adds those things, but that's another level 
>> of complexity and indirection that I'd rather not have. If it was the case 
>> that the included common ontologies were a project, it would be trivial to 
>> update them and push them from Studio.
>> 
>> Hope that makes sense.
>> 
>> Matt Goldberg 
>> 
>> On Thu, Mar 7, 2024, 2:31 PM Holger Knublauch > > wrote:
>>> Hi Matt,
>>> 
>>> We took that out for security concerns. Changing system files should be the 
>>> last resort and is strongly discouraged. I would like to understand which 
>>> parts of our platform are not sufficiently configurable so that you needed 
>>> to resort to editing system files? (There is ui:override)
>>> 
>>> Thanks for clarifying
>>> Holger
>>> 
>>> 
>>> 
>>> 
 On 7 Mar 2024, at 5:49 pm, Matt Goldberg >>> > wrote:
 
 Hello-
 
 We upgraded to 7.8.1 and I just noticed that Files is missing from EDG. 
 Your documentation mentions that Files is now only available from Studio. 
 Why was that change made? Now it isn't really possible to tweak files that 
 come with the product by default, and since those folders aren't 
 considered "Projects" you can't modify them in Studio and send them to EDG 
 from there.
 
 Matt Goldberg 
 
 -- 
 The topics of this m

Re: [topbraid-users] EDG Files vs Collection

2024-03-09 Thread David Price
“wrapping” files is not a good way to think about this. The EDG behaviour 
between collections and files is normal owl:imports.

EDG Files contain a named graph. So do collections, and collections can include 
(i.e. owl:imports) a graph that happens to be in a file or a collection.

If you change graph in a File at any point in time, then those changes are 
visible immediately in all including collections (accepting that caches may 
need to be refreshed for any currently in-use collections via a page reload for 
example).

FYI there are a few “special” files in EDG - api.ttl files contents are made 
visible via a software mechanism rather than owl:imports. These usually contain 
SPARQL Functions, for example, which are really “software” not "data model” or 
“data”. See 

https://archive.topquadrant.com/doc/latest/ext/process.html#working-with-extension-files

which is part of

https://archive.topquadrant.com/doc/latest/ext/index.html

Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> On 9 Mar 2024, at 14:29, Maatary Okouya  wrote:
> 
> Hi, 
> 
> When wrapping Files, into EDG Collection. Does it become a completely 
> separate entity e.g. ontology, or the two can be kept in sync, as in what 
> change on files is propagate to the ontology wrapped ?
> 
> I guess my question is about understanding the intended behavior
> 
> -- 
> 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/80f75b5d-564c-4c2b-ae3e-923be77f3a8an%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/677BAC3F-50E5-4503-8136-D19D123D8844%40topquadrant.com.


Re: [topbraid-users] Customizing the form of a specific shape

2024-03-09 Thread David Price


> On 9 Mar 2024, at 01:37, Maatary Okouya  wrote:
> 
> But just to confirm, there is no way to group or order the property shape in 
> the form of a shape definition? The only grouping/ordering possible is 
> through the property group view right ?

Property Group panel is indeed the only place the grouping of property shapes 
is shown in an Ontologies collection.

Cheers,
David

> 
> On Friday, March 8, 2024 at 9:54:16 PM UTC Maatary Okouya wrote:
>> Thinking about it It feels like i am after sub-property group to be used at 
>> the system level. That might just not be a thing i guess 
>> 
>> On Friday, March 8, 2024 at 8:25:55 PM UTC Maatary Okouya wrote:
>>> I would like to customize and in particular create specific property group 
>>> or property section for the form of shape. I am not talking about the form 
>>> of the instance data, of data of that shape. I am talking about the 
>>> visualization of the shape itself. 
>>> 
>>> The rational is just that the shape itself has a lot of properties which 
>>> are logically belonging to different groups. So in doing so i m just 
>>> helping people vizualize the model itself. 
>>> 
>>> Wonder if it is even feasible.
> 
> 
> -- 
> 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/5fb2df13-3f0e-45e0-b865-abc932d0c06en%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/3F36DC4A-5125-49C0-9581-D3DA6A42CB62%40topquadrant.com.


Re: [topbraid-users] linking glossaries to ontologies ( or taxonomies)

2024-02-23 Thread David Price
Hi Luis,

One note of caution …

A Glossary Term is seldom “the same thing” as an ontology class/property or a 
database table/column. Instead, what we typically do is say that a 
class/property or table/column “maps to” the term.

Glossary Terms are usually for a less technical audience, are 
technology-independent and are self contained in most cases. 

However, a class definition, for example, often takes its place in the class 
hierarchy into account and so is a more technical thing (e.g. a  is a 
 with  ). 

Additionally, need to remember that all instances of any subclass are also 
members of all superclasses and so every definition all the way up the class 
hierarchy is also applicable. That sometimes puts a lot of burden on glossary 
terms being reused as class definitions.

So, RDF-wise it is certainly possible to do as Holger explained, but business 
need/requirements-wise it may not be the best practive. As I said, in our Data 
Asset+Glossary architecture solution Data Elements/Database Columns include a  
“maps to term’ to Glossary Term relation allowing separate, clean definitions 
for the different audiences.

Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> On 23 Feb 2024, at 09:08, Holger Knublauch  wrote:
> 
> Hi Luis,
> 
> any asset collection can use assets/resources from other asset collections. 
> Just owl:import the Glossary (from Settings > Includes). Then, to link a 
> class with a glossary term, navigate to the definition of rdfs:Class or 
> owl:Class and add a property/relationship there, with Glossary Terms as 
> values. To navigate to rdfs:Class and owl:Class, find the "Up" button in the 
> upper right corner of the Class Hierarchy panel, to switch to rdfs:Resource 
> as root class.
> 
> If you further want to copy values such as the definition into the classes, 
> you could define a property that uses a sh:path expression such as
> 
>   ex:glossaryTerm/rdfs:comment
> 
> or declare a sh:values rule that does the same. See 
> https://www.linkedin.com/pulse/inferencing-shacl-using-shvalues-holger-knublauch-0metf/
>  for some background on sh:values rules.
> 
> HTH
> Holger
> 
> 
>> On 23 Feb 2024, at 8:28 am, 'Luis Enrique Ramos García' via TopBraid Suite 
>> Users  wrote:
>> 
>> Hi guys,
>> 
>> I wonder if there is a way to link glossaries to ontologies.
>> 
>> I mean, let's say I have a group of geographical terms in a list, that I 
>> create as glossary, and then I would like to use this glossary definition to 
>> fill the skos:definition of the corresponding class (concept) in my ontology.
>> Could you share any documentation or example of how I could do that?.
>> 
>> Best regards
>> 
>> 
>> Luis Ramos.
>> 
>> -- 
>> 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/91b23e2e-9d7b-4c6a-8d08-423bff8fc06fn%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/D7053F4F-B98B-447C-BE19-15BB85F8F796%40topquadrant.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/F30E7BFA-A12D-4F53-B906-902837DD596A%40topquadrant.com.


Re: [topbraid-users] versionIRI import question

2024-02-02 Thread David Price
Hi Michel,


> On 2 Feb 2024, at 07:51, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Ok, in that case, could you advise some work around?

As Holger said, TopBraid tools do not support it in any way, so we have no 
related best practices. 

Maybe an OWL-based forum could answer your questions? Or try a forum for OWL 
tools that do support it.

Cheers,
David

>  
> Always publish all versions with versionURI  as base/graphURI in parallel, 
> incl. an unversioned one redirecting to the latest version?
>  
>  
> Dr. ir. H.M. Böhms (Michel)
> Scientist Specialist
> Mobility & Built Environment
> T: 
> M: +31630381220
> E: michel.bo...@tno.nl    
> Location 
> 
>  
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
>   > On Behalf Of Holger Knublauch
> Sent: donderdag 1 februari 2024 20:57
> To: 'Branson, GaBriella C' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>>
> Subject: Re: [topbraid-users] versionIRI import question
>  
> Hi Michel,
>  
> As mentioned earlier, TopBraid does not use or support owl:versionIRI.
>  
> Holger
>  
> 
> 
> On 1 Feb 2024, at 3:09 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> I found:
> https://community.stardog.com/t/owl-versioniri-not-resolved/450
>  
> quoting:
> “
> If O contains an ontology IRI OI and a version IRI VI, then the ontology 
> document of O should be accessible via the IRI VI;
> 
> In contrast, an ontology document of an ontology that contains an ontology 
> IRI http://www.example.com/my 1  and a version IRI 
> http://www.example.com/my/2.0 1  should be 
> accessible via the IRI http://www.example.com/my/2.0 1 
> . In both cases, the ontology document should 
> be accessible via the respective IRIs using the HTTP protocol.
> “
>  
> can I found some explanation somewhere how tbc handles versionURIs?
>  
> Thx michel
>  
>  
> Dr. ir. H.M. Böhms (Michel)
> Scientist Specialist
> Mobility & Built Environment
> T: 
> M: +31630381220
> E: michel.bo...@tno.nl    
> Location 
> 
>  
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
>   > On Behalf Of Holger Knublauch
> Sent: woensdag 31 januari 2024 14:27
> To: 'Branson, GaBriella C' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>>
> Subject: Re: [topbraid-users] versionIRI import question
>  
> I don't see where we have special handling of owl:versionIRI, nor is it 
> required for anything.
>  
> What error do you get and with what file?
>  
> Holger
>  
> 
> 
> 
> On 31 Jan 2024, at 2:06 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Importing a versionIRI that is not defined as base-uri seems to result in 
> error.
> Is it always needed to publish explicitly also versionIRI’s?
> (so, have the versionURI in ontology clause is not enough?)
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. Böhms (Michel)
> Scientist Specialist
> Mobility & Built Environment
> T: 
> M: +31630381220
> E: michel.bo...@tno.nl    
> Location 
> 
>  
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  
> -- 
> 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@googlegroup

Re: [EXTERNAL] [topbraid-users] Reifiable by

2024-01-30 Thread David Price
On creating reifications … 

Perhaps a UI function added to the Modify button for a property to “Add 
reification properties” a bit like “Declare inverse property” would be a start? 
It could create the node shape pointing to the property and then users just add 
whatever properties they want to reifiy to the shape. 

I guess could alternatively prompt user for a property name and a datatype and 
create the first refied property in the same interaction. They additional 
properties could be added to that same shape.

Cheers,
David

> On 30 Jan 2024, at 06:23, Holger Knublauch  wrote:
> 
> Hi GaBriella,
> 
> on the UI perspective, I could not agree more. Using intermediate objects is 
> indeed not well supported right now.
> 
> For example,
> 
>   ex:Person1
>   ex:memberOf [
>   a ex:Membership ;
>   ex:organization ex:Organization1 ;
>   ex:startDate "2005-04-12"^^xsd:date ;
>   ex:endDate "2009-11-08"^^xsd:date ;
>   ] .
> 
> currently requires creating that Membership instance, then going into it to 
> fill in the dates.
> 
> And querying often requires using path expressions such as
> 
>   ?person ex:memberOf/ex:organization ?org .
> 
> The situation is complicated as there are variations of this, e.g.
> 
>   ex:Person1Membership1
>   a ex:Membership ;
>   ex:member ex:Person1 ;
>   ex:organization ex:Organization1 ;
>   ex:startDate "2005-04-12"^^xsd:date ;
>   ex:endDate "2009-11-08"^^xsd:date .
> 
> I have some initial thoughts about better supporting editing blank nodes, but 
> none of that is fully fleshed out yet.
> 
> For these relationships, maybe a start would be to introduce some kind of 
> dash namespace extensions to
> annotate the "intermediate" objects, so that a UI can pick up a suitable 
> widget such as a tabular viewer and editor.
> 
> I wonder if anyone has input or similar requirements.
> 
> Is my assumption right that in many of these relationships, there is at most 
> a handful of properties (such as startDate
> and endDate), allowing tabular input and rendering?
> 
> Holger
> 
> 
>> On 29 Jan 2024, at 11:20 pm, 'Branson, GaBriella C' via TopBraid Suite Users 
>>  wrote:
>> 
>> Thank you. I will consider creating relationship objects instead. From a UI 
>> perspective (for the use case I was trying to solve for) I feel it is more 
>> straightforward to enter reifiable data over creating a new relationship 
>> object à saving the form à and then clicking into the new object to add the 
>> associated data.
>>  
>> Thanks again. I always appreciate learning best practices and 
>> recommendations to improve my modeling.
>>  
>> GaBriella Branson
>> Interagency Wildland Fire - Knowledge Manager
>> 
>>  
>> From: topbraid-users@googlegroups.com 
>>  > > On Behalf Of Holger Knublauch
>> Sent: Monday, January 29, 2024 12:39 PM
>> To: 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>> mailto:topbraid-users@googlegroups.com>>
>> Subject: [EXTERNAL] Re: [topbraid-users] Reifiable by
>>  
>>  
>> 
>>  This email has been received from outside of DOI - Use caution before 
>> clicking on links, opening attachments, or responding.  
>> 
>>  
>> 
>> Yes, only one level is supported. 
>>  
>> The general alternative to using reification is to introduce relationship 
>> objects, lifting the reification info into the main ontology. Some people 
>> argue that reification should not be used when it is really the 
>> representation of a relationship. Instead, it should only be used for cases 
>> like provenance of triples and other true metadata.
>>  
>> Holger
>>  
>>  
>> 
>> 
>> On 29 Jan 2024, at 8:24 pm, 'GaBriella Branson' via TopBraid Suite Users 
>> mailto:topbraid-users@googlegroups.com>> 
>> wrote:
>>  
>> Hello, 
>>  
>> Is there a limit to how "deep" reifiable statements can go?
>>  
>> I have a class with a property that has a node shape it is reifiable by. 
>> Within the node shape I would like to add another layer making one of my 
>> properties reifiable by yet another node shape. It does not appear that the 
>> shape within the shape is working.
>>  
>> First "layer" on the class: (this one works)
>> 
>> And this is the layer (a node shape on a node shape) that is not working:
>> 
>>  
>> Thanks in advance for any clarification you may have to explain what I 
>> should be expecting.
>>  
>> -- 
>> 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+unsubsc

Re: [topbraid-users] Composer EOL?

2023-12-06 Thread David Price


> On 6 Dec 2023, at 14:16, Holger Knublauch  wrote:
> 
> 
> 
>> On 6 Dec 2023, at 3:07 pm, Steve Ray  wrote:
>> 
>> One thing I really miss in EDG Studio is the ability to create (and 
>> rearrange) a Graph View that shows instances in my data files with 
>> occasional displays of rdf:types. I use such generated diagrams extensively 
>> whenever presenting my work. Happy to show some examples if you like.
> 
> Yes please examples. Feel free to send them to me directly if you prefer. We 
> would want to understand where EDG Diagram needs to be improved.

EDG Diagrams are a bit like UML diagrams. Classes are different from properties 
are different from instances - better for classes than for instances. Use case 
is documentating an ontology.

Graph diagrams are just that … nothing more than nodes and edges whatever they 
happen to be. Better for instances than for classes. 

I used the graph feature where you could “fix” nodes and generate SPARQL from 
it … that was great, for example when writing WHERE clauses in a SPARQL 
CONSTRUCT that was part of an ETL conversion/data migration. 
To do that kind of thing now now in Studio I copy and paste TTL from the Source 
Code panel into the SPARQL panel to test (but then have to turn URIs into 
variables).

Cheers,
David

> 
> Holger
> 
> 
>> 
>> Steve
>> 
>> 
>> 
>> 
>> On Wed, Dec 6, 2023 at 8:12 AM Holger Knublauch > > wrote:
>>> 
>>> 
 On 6 Dec 2023, at 1:55 pm, Matt Goldberg >>> > wrote:
 
 I'd be really disappointed if that were true. Composer is (in my opinion) 
 by far the best general purpose RDF power user tool out there. EDG is 
 great, but Composer is much better for quickly opening up files, 
 inspecting them, and making edits at a low level. It's also much easier to 
 deal with files in Git with Composer than with Studio.
>>> 
>>> Thanks for your feedback. Leaving aside TBC for now, what are the obstacles 
>>> to using Studio with Git right now? When you save files from Studio, they 
>>> are also written with the sorted TTL writer. In fact I am entirely using 
>>> Studio for all edits that I make to our own ontologies such as dash.
>>> 
>>> For making edits at low level, note that the Source Code panel of Studio 
>>> has a button to see and edit the whole graph at once. What else is TBC 
>>> doing better?
>>> 
>>> Holger
>>> 
>>> 
 I really wouldn't want to rely on Studio or have to go back to using 
 Protege for tasks like that. 
 
 On Wednesday, December 6, 2023 at 5:56:44 AM UTC-5 Bohms, H.M. (Michel) 
 wrote:
> In the same line: transition options incl. pricing would be very welcome,
> 
> michel
> 
>  
> 
> From: topbrai...@googlegroups.com <> > On 
> Behalf Of Jan Campschroer
> Sent: woensdag 6 december 2023 11:46
> To: TopBraid Suite Users >
> Subject: [topbraid-users] Composer EOL?
> 
>  
> 
> I heard the whisper that TB Composer is end of life? Is there some formal 
> communication about this?
> 
>  
> 
> Grz Jan
> 
> -- 
> 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/de98f211-1b86-4c6a-983d-73382c62e32en%40googlegroups.com
>  
> .
> 
>  
> This message may contain information that is not intended for you. If you 
> are not the addressee or if this message was sent to you by mistake, you 
> are requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use 
> it and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
> 
 
 
 -- 
 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.go

Re: [topbraid-users] creating shapes and property groups from RDF import

2023-11-17 Thread David Price


> On 16 Nov 2023, at 21:32, Dalia Varanka  wrote:
> 
> Great, thanks!   I found the Transform tab and got the message the conversion 
> was successful.
> I see Node shape appearing under types for a class.  So now, is the next step 
> to create my property groups manually, i.e., to create a new group, select my 
> local properties, and move add them to the group?

Exactly.

Cheers,
David

> 
> 
> On Thu, Nov 16, 2023 at 2:21 PM David Price  <mailto:dpr...@topquadrant.com>> wrote:
>> Transform tab has an OWL to SHACL converter.
>> 
>> Cheers,
>> David
>> 
>>> On 16 Nov 2023, at 21:04, Dalia Varanka >> <mailto:dalia.vara...@gmail.com>> wrote:
>>> 
>>> Hello
>>> I imported my ontology to EDG as an RDF file.  The results were that I have 
>>> a Class list/Class hierarchy and RDF/OWL properties list but no node shapes 
>>> and no property groups.  I don't know where to go from here.  The training 
>>> resources I have access to all describe the creation of an ontology 
>>> manually from the beginning.  I understand shapes are created automatically 
>>> that way, but they don't seem to be if imported as a TTL file.
>>> Any suggestions are appreciated.
>>> Dalia
>>> 
>>> -- 
>>> 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 
>>> <mailto: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 
>>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/857535b2-feb4-4622-b295-07ea77af1fc8n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/topbraid-users/857535b2-feb4-4622-b295-07ea77af1fc8n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> 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 
>> <mailto: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 
>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/0B88259C-E59E-402F-9E15-74AA3DFBB3C8%40topquadrant.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/0B88259C-E59E-402F-9E15-74AA3DFBB3C8%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CALNt%2BMeWV5%2BG6O2tk-hE8xcb4o3TZg31KYxg-roW72MJt%3DMe7g%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/CALNt%2BMeWV5%2BG6O2tk-hE8xcb4o3TZg31KYxg-roW72MJt%3DMe7g%40mail.gmail.com?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/7568ADAC-20CA-4CC9-B1E4-A3D8EA1A7FC0%40topquadrant.com.


Re: [topbraid-users] creating shapes and property groups from RDF import

2023-11-16 Thread David Price
Transform tab has an OWL to SHACL converter.Cheers,DavidOn 16 Nov 2023, at 21:04, Dalia Varanka  wrote:HelloI imported my ontology to EDG as an RDF file.  The results were that I have a Class list/Class hierarchy and RDF/OWL properties list but no node shapes and no property groups.  I don't know where to go from here.  The training resources I have access to all describe the creation of an ontology manually from the beginning.  I understand shapes are created automatically that way, but they don't seem to be if imported as a TTL file.Any suggestions are appreciated.Dalia



-- 
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/857535b2-feb4-4622-b295-07ea77af1fc8n%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/0B88259C-E59E-402F-9E15-74AA3DFBB3C8%40topquadrant.com.


Re: [topbraid-users] question wrt qualified constraint

2023-11-10 Thread David Price
Following on from Holger’s comment …

Typical” and “relevance” are not generally supported modeling concepts in 
RDF-land. “possible" and “cardinality" are basically it.

Min 0 just means optional and is therefore ignored by every rdf-based engine I 
know.

I guess in SHACL you could make a property shape that did a SPARQL NOT EXISTS 
and report an sh:Warning or sh:Info rather than a sh:Violation. But users might 
get tired of seeing the warnings repeatedly.

If you need to communicate “typical” to humans, then the documentation is a 
much better place. If I see “min 0” in a data model, I usually assume it’s a 
mistake and so would probably not understand the intent.

Cheers,
David

> On 10 Nov 2023, at 12:20, Holger Knublauch  wrote:
> 
> In almost all cases that I have seen, qualified value constraints are a pain 
> to work with, either in OWL or SHACL. I have no recommendations for them as I 
> almost never use them. I would just introduce a property :hasEngine and get 
> rid of :hasPart.
> 
> Holger
> 
> 
>> On 10 Nov 2023, at 1:09 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>>  wrote:
>> 
>> Ok, thx
>> 
>> So there is also no better way to model that y and z are typical (can be) 
>> parts of x where say r and s are not.
>> Like kind of qualified closure like sh:closed is on property level
>> Michel
>> 
>> Op 10 nov. 2023 12:08 schreef Holger Knublauch :
>> In both cases the constraint isn't doing any validation at all, so you can 
>> leave the sh:qualifiedMinCount out, if you only intend to use it to indicate 
>> relevance.
>> 
>> Holger
>> 
>> 
>> On 10 Nov 2023, at 10:23 am, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>>  wrote:
>> 
>> I have a qualified constraint question.
>>  
>> To  define a meronomy (typical hasPart hierarchy) we now use in OWA/OWL:
>>  
>> :Vehicle
>>   a owl:Class ;
>>   rdfs:subClassOf [
>>   a owl:Restriction ;
>>   owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
>>   owl:onClass :Engine ;
>>   owl:onProperty :hasPart ;
>> ] .
>>  
>> We explicitly model this mincard=0 to indicate relevance (it is not an 
>> obligatory part).
>> (because we cannot leave the restriction out).
>>  
>> Now my question how does this translate into cwa/shacl?
>>  
>> :VehicleShape
>>   a sh:NodeShape ;
>>   sh:targetClass :Vehicle ;
>>   sh:property [
>> sh:path :hasPart ;
>> sh:qualifiedMinCount 0 ;
>> sh:qualifiedValueShape [
>> sh:class :Engine ;
>>] ;
>>sh:qualifiedMinCount 0 ;
>> .
>>  
>> Or can I delete the red now?
>>  
>> Similar (example not for decomposition):
>>  
>> sh:property  [ sh:path 
>> https://w3id.org/nen2660/def#hasInterior ;
>>sh:qualifiedValueShape  [ sh:class  
>> https://otl.waternet.nl/def/cff9206f-72ae-4eb8-a671-9c3dd73b62c0 ]
>>  ] .
>>  
>> Is it ok to leave minCard/maxCard out?
>>  
>> Personally I guess NOT since I always have to give the actual constraint 
>> where the valueshape is ‘just’ the context when to be applied, right?
>>  
>> So I put in minCar = 0 again or is there in shape a smarter way to indicate 
>> this “relevance”?
>>  
>> Thx a lot, Michel
>>  
>>  
>> Michel Böhms
>> Data Scientist
>>  
>> 
>> 
>> Mobile +31 630381220
>> E-mail  michel.bo...@tno.nl  
>> Location 
>> 
>>  
>>  
>> This message may contain information that is not intended for you. If you 
>> are not the addressee or if this message was sent to you by mistake, you are 
>> requested to inform the sender and delete the message. TNO accepts no 
>> liability for the content of this e-mail, for the manner in which you use it 
>> and for damage of any kind resulting from the risks inherent to the 
>> electronic transmission of messages.
>>  
>>  
>>  
>>  
>> 
>> -- 
>> 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/8f1ba4e23ebe4932bcaff5319933f7d1%40tno.nl
>>  
>> .
>> 
>> 
>> -- 
>> 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 

Re: [topbraid-users] SHACL NodeShape help

2023-06-22 Thread David Price
This seems to work. If I make a data graph then instances of Person only show a 
“Car” instances of Vehicle when setting ownsVehicle. 

@prefix ex:  .
@prefix graphql:  .
@prefix metadata:  .
@prefix owl:  .
@prefix rdf:  .
@prefix rdfs:  .
@prefix sh:  .
@prefix teamwork:  .
@prefix xsd:  .

ex:Car
  a sh:NodeShape ;
  rdfs:label "Car" ;
  sh:property ex:Car-kind ;
  sh:targetObjectsOf ex:vehicleKind ;
.
ex:Car-kind
  a sh:PropertyShape ;
  sh:path ex:vehicleKind ;
  sh:datatype xsd:string ;
  sh:in (
  "Car"
) ;
.
ex:Person
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:label "Person" ;
  rdfs:subClassOf owl:Thing ;
  sh:property ex:Person-name ;
  sh:property ex:Person-ownsVehicle ;
.
ex:Person-name
  a sh:PropertyShape ;
  sh:path ex:name ;
  sh:datatype xsd:string ;
  sh:name "name" ;
.
ex:Person-ownsVehicle
  a sh:PropertyShape ;
  sh:path ex:ownsVehicle ;
  sh:class ex:Vehicle ;
  sh:name "owns vehicle" ;
  sh:node ex:Car ;
.
ex:Vehicle
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:label "Vehicle" ;
  rdfs:subClassOf owl:Thing ;
  sh:property ex:Vehicle-tag ;
  sh:property ex:Vehicle-vehicleKind ;
.
ex:Vehicle-tag
  a sh:PropertyShape ;
  sh:path ex:tag ;
  sh:datatype xsd:string ;
  sh:maxCount 1 ;
  sh:name "tag" ;
.
ex:Vehicle-vehicleKind
  a sh:PropertyShape ;
  sh:path ex:vehicleKind ;
  sh:datatype xsd:string ;
  sh:in (
  "Car"
  "Train"
) ;
  sh:maxCount 1 ;
  sh:name "vehicle kind" ;
.

Cheers,
David

> On 22 Jun 2023, at 18:22, cbur...@healthwise.org  
> wrote:
> 
> Let's say I have a sh:NodeShape and an accompanying sh:PropertyShape -- call 
> it ex:NodeShape-myProperty. I want to specify that all targets of this 
> property shape must conform to particular pattern -- namely, they must have a 
> particular value for a particular property; i.e., the triple
> 
> ex:MyResource ex:requiredProperty ex:RequiredValue
> 
> must exist for each object of ex:myProperty. Ideally, I'd want EDG to only 
> display resources that met this pattern as possible objects to be selected in 
> the Editor for ex:myProperty -- not just use the pattern for validation when 
> saving the data.
> 
> How do I represent this? Can I do this using just sh:property, or do I need 
> to create another sh:NodeShape to represent the targets of 
> ex:NodeShape-myProperty? What would that look like?
> 
> It's a basic enough pattern that I was sure some examples would exist in the 
> TQ SHACL documentation, but I can't find any. Can anyone help? Thanks.
> 
> -- 
> 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/81724a8d-7694-44a2-84eb-1e40f7f7aa27n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/40E9DD49-06DE-47C5-940D-9A503360FDEE%40topquadrant.com.


Re: [topbraid-users] SPARQL query to identify Graph URI (ignore Included graphs)

2023-06-22 Thread David Price
Normal SPARQL can do this too in the general case:

FILTER NOT EXISTS { ?graphx owl:imports ?graph . }

Cheers,
David

> On 22 Jun 2023, at 17:24, Holger Knublauch  wrote:
> 
> Hi Dan,
> 
> you can use this fragment to get the "main" active graph
> 
> PREFIX teamwork: 
> SELECT *
> WHERE {
>BIND (teamwork:currentMasterGraph() AS ?graph) 
> }
> 
> from the SPARQL endpoint and the SPARQL panel, assuming the currently active 
> query graph is an asset collection.
> 
> Using this ?graph you can query fields like the metadata:identifier
> 
> HTH
> Holger
> 
> 
>> On 22 Jun 2023, at 4:44 pm, Dan Segal  wrote:
>> 
>> Hello,
>> 
>> I need to identify a Graph URI, or alternatively the metadata:idenfitier 
>> value, where the query returns only for the local graph, ignoring any 
>> included graphs.
>> 
>> For example:
>> 
>> SELECT ?graph ?id
>> WHERE {
>> ?graph metadata:identifier ?id
>>   }
>> 
>> returns:
>> 
>> graph id
>> urn:x-evn-master:graph1   graph1
>> urn:x-evn-master:graph2   graph2
>> urn:x-evn-master:graph3   graph3
>> 
>> where:
>> graph1 is the local graph
>> graph2 and graph3 are Includes
>> The Graph URIs for all graphs are unknown in advance
>> How can I filter the query so that it returns only values from graph1, 
>> excluding values from graph2 and graph3?
>> 
>> Note: In EDG, checking "Return local results only" in the SPARQL Query panel 
>> returns the desired result.  However, I need to include the filtering syntax 
>> within the SPARQL query itself.
>> 
>> Thanks,
>> 
>> Dan
>>
>> 
>> 
>> 
>> -- 
>> 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/3e7f709f-57ec-4805-902d-4ce9ac0f71d6n%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/CC1C944C-64BE-48D4-9609-DDE45318D234%40topquadrant.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/5A331D21-8FB6-4056-B1E8-FF2490F88750%40topquadrant.com.


Re: [EXTERNAL] [topbraid-users] what is behavior of spreadsheet pattern import for alternative labels?

2023-05-10 Thread David Price


> On 9 May 2023, at 19:52, Andrew Arnold  wrote:
> 
> Thank you, both!
> 
> And follow up question...what is the default query/filter behavior in EDG 
> when there is more than one Alternative Label value? Does EDG index each 
> Alternative Label value?

It is expected that things will have more than one Alt Label and EDG features 
understand that.

Cheers,
David

> 
> Thanks in advance!
> 
> Andrew 
> 
> On Tuesday, May 9, 2023 at 11:46:29 AM UTC-7 Branson, GaBriella C wrote:
>> In my experience it creates an additional value.
>> 
>>  
>> 
>> GaBriella Branson
>> 
>> Interagency Wildland Fire - Knowledge Manager
>> 
>> 
>> 
>>  
>> 
>> From: topbrai...@googlegroups.com <> > On 
>> Behalf Of Andrew Arnold
>> Sent: Tuesday, May 9, 2023 8:14 AM
>> To: TopBraid Suite Users >
>> Subject: [EXTERNAL] [topbraid-users] what is behavior of spreadsheet pattern 
>> import for alternative labels?
>> 
>>  
>> 
>>  
>> 
>>  This email has been received from outside of DOI - Use caution before 
>> clicking on links, opening attachments, or responding.  
>> 
>>  
>> 
>> On using Import Spreadsheet using Pattern, what is the behavior of the 
>> import on mapping a spreadsheet column to a concept's Alternative Label when 
>> an Alternative Label value exists in the KG?
>> 
>> Does it create an additional Alternative Label or overwrite the existing one?
>> 
>>  
>> 
>>  
>> 
>> -- 
>> 
>> 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/c9afcf79-b7c4-46ae-a6d3-577e4f602de6n%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/ce9282ca-1170-4fc5-934c-c01d9babe219n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/7C0A128B-169C-463B-9309-2D29B702D001%40topquadrant.com.


Re: [EXTERNAL] [topbraid-users] what is behavior of spreadsheet pattern import for alternative labels?

2023-05-10 Thread David Price


> On 9 May 2023, at 19:55, Andrew Arnold  wrote:
> 
> Oops... and and additional... additional question
> 
> After creating a template for Import Spreadsheet using Pattern,  I have not 
> figured out how to edit or refine a template.  I presume persisted as a KG.  
> How can I access it?

Templates are not currently editable in EDG.

It is possible for a System Admin to export the template as TTL file and then 
you modify it (in an old Composer for example), and then deploy back to to EDG 
by System Admin using “Project Upload”, for example. I’ve done this often for 
customers with a lot of templates.

I imagine EDG Studio could edit it using Files function as well, but I’ve not 
done that.

Cheers,
David

> 
> Thanks,
> 
> Andrew
> 
> On Tuesday, May 9, 2023 at 11:52:51 AM UTC-7 Andrew Arnold wrote:
>> Thank you, both!
>> 
>> And follow up question...what is the default query/filter behavior in EDG 
>> when there is more than one Alternative Label value? Does EDG index each 
>> Alternative Label value?
>> 
>> Thanks in advance!
>> 
>> Andrew 
>> 
>> On Tuesday, May 9, 2023 at 11:46:29 AM UTC-7 Branson, GaBriella C wrote:
>>> In my experience it creates an additional value.
>>> 
>>>  
>>> 
>>> GaBriella Branson
>>> 
>>> Interagency Wildland Fire - Knowledge Manager
>>> 
>>> 
>>> 
>>>  
>>> 
>>> From: topbrai...@googlegroups.com <> > On 
>>> Behalf Of Andrew Arnold
>>> Sent: Tuesday, May 9, 2023 8:14 AM
>>> To: TopBraid Suite Users >
>>> Subject: [EXTERNAL] [topbraid-users] what is behavior of spreadsheet 
>>> pattern import for alternative labels?
>>> 
>>>  
>>> 
>>>  
>>> 
>>>  This email has been received from outside of DOI - Use caution before 
>>> clicking on links, opening attachments, or responding.  
>>> 
>>>  
>>> 
>>> On using Import Spreadsheet using Pattern, what is the behavior of the 
>>> import on mapping a spreadsheet column to a concept's Alternative Label 
>>> when an Alternative Label value exists in the KG?
>>> 
>>> Does it create an additional Alternative Label or overwrite the existing 
>>> one?
>>> 
>>>  
>>> 
>>>  
>>> 
>>> -- 
>>> 
>>> 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/c9afcf79-b7c4-46ae-a6d3-577e4f602de6n%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/c35ff981-3e26-459a-b6ad-ecfc323023f1n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/EDA45C1C-8AA3-447B-9CF3-0D09DD948741%40topquadrant.com.


Re: [topbraid-users] How Do I Find Import File: http://topbraid.org/teamworkcontraints?

2023-05-10 Thread David Price
In my local EDG install it is in workspace here:

workspace/teamwork.topbraidlive.org/system 


Cheers,
David

> On 9 May 2023, at 22:53, David Medinets  wrote:
> 
> I'm working with an ontology that imports 
> http://topbraid.org/teamworkcontraints. Where can I find this file?
> 
> -- 
> 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/2c9e3b5b-bf2d-414d-9912-b5a57b3d5ebdn%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/4E66EC97-11F0-45A1-A40B-945E1030D780%40topquadrant.com.


Re: [topbraid-users] what is behavior of spreadsheet pattern import for alternative labels?

2023-05-09 Thread David Price
Hi Andrew,

The default is to create an additional label. It is possible to do “update” 
though, if that’s what is required (at least when doing the import as a 
“template” that’s possible).

Cheers,
David

> On 9 May 2023, at 17:14, Andrew Arnold  wrote:
> 
> On using Import Spreadsheet using Pattern, what is the behavior of the import 
> on mapping a spreadsheet column to a concept's Alternative Label when an 
> Alternative Label value exists in the KG?
> 
> Does it create an additional Alternative Label or overwrite the existing one?
> 
> 
> 
> -- 
> 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/c9afcf79-b7c4-46ae-a6d3-577e4f602de6n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/F41B008D-6DED-4530-8A44-C50C337DCD52%40topquadrant.com.


Re: [topbraid-users] swp script rdfs:subClassOf

2023-05-02 Thread David Price
FYI I checked SWP code I have used with other customers and see that 
rdfs:subClassOf* syntax does work in WHERE clauses within SWP (inside a 
 On 2 May 2023, at 07:52, Julia S.  wrote:
> 
> Hi,
> 
> this is part of a longer customization.
> The original version determines that all properties of a specific class 
> automatically get metadata (I called it "URI_of_class" in the snippet - 
> classA in image).
> 
> I would like this to work even if the property is of a class that is a sub 
> class of the original class (sorry for all the "classes" - classA, classB AND 
> classC in image).
> 
> I confirmed that this code snippet is where the class for automatic metadata 
> generation is determined by simply pointing to a completely different class 
> and checking if that one would then also get metadata. What I cannot work out 
> is how to include sub-classes.
> 

> 
> On Wednesday, April 26, 2023 at 6:06:55 PM UTC+2 Holger Knublauch wrote:
>> To get all instances ?a of a given class $class, the pattern is
>> 
>> SELECT DISTINCT ?a
>> WHERE {
>>  ?type rdfs:subClassOf* $class .
>>  ?a rdf:type ?type .
>> }
>> 
>> It is not clear to me whether you are looking for instances of a class, or 
>> classes that are instances of a metaclass, or maybe you can clarify in prose 
>> what you mean?
>> 
>> (Also: c? looks incorrect but I guess that was a copy-and-paste problem).
>> 
>> Holger
>> 
>> 
>>> On 26 Apr 2023, at 4:52 pm, Julia S. > wrote:
>>> 
>> 
>>> Hi, 
>>> I am trying to customize a SWP script for the first time (7.2.4) and I am 
>>> struggling a little bit.
>>> 
>>> We have an existing script that does almost exactly what I want based on 
>>> this:
>>> 
>>> SELECT DISTINCT ?a ?b ?c
>>> WHERE { ?a ?b c?.
>>> ?b a  .
>>> }.
>>> 
>>> So a function is called if ?b is a specific class (specified by it's URI)
>>> 
>>> I wanted to change this so it uses that class' children instead of the 
>>> class itself and found rdfs:subClassOf.
>>> 
>>> I tried the following versions, none of which work.
>>> 
>>> A)
>>> SELECT DISTINCT ?a ?b ?c
>>> WHERE { ?a ?b c?.
>>> ?b rdfs:subClassOf  .
>>> }.
>>> 
>>> B)
>>> SELECT DISTINCT ?a ?b ?c
>>> WHERE { ?a ?b c?.
>>> ?b (rdfs:subClassOf)*  .
>>> }.
>>> 
>>> C)
>>> SELECT DISTINCT ?a ?b ?c
>>> WHERE { ?a ?b c?.
>>> ?b (rdfs:subClassOf)+  .
>>> }.
>>> 
>>> I double checked if rdfs:subClassOf (including * and +) works on its own 
>>> using a SPARQL endpoint and it gives me the expected instances. 
>>> 
>>> I am guessing I still simply use the wrong syntax for swp scripts or don't 
>>> understand what rdfs:subClassOf actually means. 
>>> 
>>> Any advice?
>>> 
>>> Cheers
>>> Julia
>>> 
>>> 
>> 
>>> -- 
>>> 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/85b221e7-5394-4fc4-900b-d2e2cc6d186cn%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/28ccd76f-7370-4eff-9c88-c08aa0973710n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/F087C5C7-5321-4009-BCB7-3E0DC8FB4100%40topquadrant.com.


Re: [topbraid-users] Import Class from an existing Ontology - Top-Braid EDG

2023-03-30 Thread David Price
The simplest thing to do is import the ontology in an EDG Ontologies collection 
and then delete whatever you do not want.

There is no out-of-the-box filtering for imports.

Also remember that, as an ontologist, Turtle is your friend. I often copy and 
paste between ontologies in an IDE or text editor and then load that into EDG. 

EDG has a very useful Export RDF to Sorted Turtle which also means you can diff 
versions of ontologies using text tools, git, etc.

Cheers,
David

> On 30 Mar 2023, at 14:59, Aziz Ozturk  wrote:
> 
> Hello together,
> 
> how can i import an existing class from an existing ontology to a new 
> ontology which created in Top-Braid EDG? 
> I develop in my own ontology new classes etc. but i need to import only some 
> object from different existing ontologies in Top-Braid EDG.
> 
> Thanks.
> aziz
> 
> -- 
> 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/ea8c02ae-f60b-42af-a7fc-37e64bfc75f6n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/11DFBB3F-2D55-400A-AC61-3112B8463E34%40topquadrant.com.


Re: [topbraid-users] Including an ontology (file) in an ontology (project)

2023-02-26 Thread David Price
I’d guess the file is not in your workspace or you need to refresh your workspace so EDG sees it. May need to stop and start Studio for example. Cheers,DavidOn 26 Feb 2023, at 18:34, Adam Kimball  wrote:I'm using Studio and trying to import a file into an ontology project.  I expect to see the classes defined in the file, when I view the ontology but I don't..  My use case is that I want to annotate the ontology with new triples but do so in a manner the underlying source stays unchanged.  StepsGiven a hypothetical file onto.ttl that exists in Files.  It is a very basic OWL ontology with one class.Go create an ontology project, "onto2"Go to Settings->Include and link in onto.ttl from #1Go to ontology, no new classes.Now, if I Import that onto.ttl class, I get all the classes showing as I would expect.  What's the difference between Include and Import for this behavior?I hope all are well,Adam



-- 
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/5a1ece80-c7af-4081-b7f2-6ff4c1a1f732n%40googlegroups.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/BD50CAE1-94AD-4773-A2BD-B8DDCC77A55B%40topquadrant.com.


Re: [topbraid-users] How to reference a property of an Object Relation?

2023-02-09 Thread David Price
Hi Andrew,

Seems like you do not actually want a relationship (i.e. object property). 
Seems like you want a derived property value that follows a path through the 
graph.

The SHACL syntax for that is:

ex:Asset-levelElevation
  a sh:PropertyShape ;
  sh:path (
  ex:onLevel
  ex:elevation
) ;
  sh:datatype xsd:string ;
  sh:name “level elevation" ;
.

where onLevel is a property of Asset and elevation is a property of Level.

Cheers,
David

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

> On 10 Feb 2023, at 00:19, 'Andrew Arnold' via TopBraid Suite Users 
>  wrote:
> 
> Hi,
> 
> I have  a property shape that specifies the property levelElevation for the 
> class 'Asset'. The property shape presently specifies levelElecation as an 
> Object Relation to a class 'Level'. I want it to refence the the elevation 
> property of the Level class.  
> 
> How can I do this?
> 
> thanks,
> 
> Andrew
>  
> --
> Current property shape specificiation:
> 
> test_harness_1:Asset-levelElevation
>   a sh:PropertyShape ;
>   sh:path test_harness_1:levelElevation ;
>   sh:class test_harness_1:Level ;
>   sh:group test_harness_1:DataPropertyGroup ;
>   sh:name "level_elevation" ;
>   sh:order -3.5 ;
> 
> -- 
> 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/951392aa-b93e-489d-ad3b-64521efe6979n%40googlegroups.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/C61F9216-78AC-4461-AE3F-9D732A78C715%40topquadrant.com.


Re: [topbraid-users] skos <> ontology combi

2023-01-03 Thread David Price


> On 3 Jan 2023, at 13:42, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> The example below shows perfectly ok in TBC.
> Ok in your view?

IMO No. Others may disagree, of course.

TBC is very flexible as is RDF itself as far as what triples it will let you 
create. As I mentioned, my issue is about the semantics of these statements. 
IMO mixing things as being Class AND SKOS Concept is bad modelling practice. 
When do you use subClassOf vs broader/narrower .. or even rdf:type vs 
broader/narrower.  Will the tool into which you might feed this RDF complain 
about individuals also being classes when it is clearly NOT a case of punning. 
Tools like EDG, for example, expect a separation between "data model" and 
“data" in order to generate UI frameworks (GraphQL schemas for EDG) and for 
performance optimisations … which this violates. For EDG Data Graphs to work 
you’d also need to make the classes SHACL NodeShapes so it can generate the 
framework for its model-driven UI.
  
FW|IW RDF being so flexible is a “problem” at times. RDF does not understand 
the semantics of languages built on top of it which leaves following best 
practices up to the modellers. Just because a tool does not stop modellers from 
doing less-than-ideal things does not mean they should do those things. 

Again … just my opinion.

FYI If one were following the scenario 2 I mentioned, LoadLevelType would be a 
subclass of Concept, not a member of Concept.  I guess the obvious question is 
… if you are not using any of the SKOS semantic properties, then why import and 
embed the whole of SKOS in this picture? If you just want prefLabel, etc 
annotations then just add that property to your ontology (i.e. copy and paste 
from SKOS and adapt for your case).

Cheers,
David

>  
>  
> # baseURI: https://w3id.org/sml-example/skos-rdfs/def
> # prefix: ex
>  
> @prefix ex: https://w3id.org/sml-example/def# .
> @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 skos: http://www.w3.org/2004/02/skos/core# .
> @prefix xsd: http://www.w3.org/2001/XMLSchema# .
>  
> https://w3id.org/sml-example/skos-rdfs/def a skos:ConceptScheme, owl:Ontology 
> .
>  
> ex:Bridge
>   a rdfs:Class, skos:Concept ;
>   skos:prefLabel "Bridge"@en ;
> .
> ex:LoadLevelType
>   a rdfs:Class, skos:Concept ;
>   skos:prefLabel "Load level type"@en ;
> .
> ex:Heavy
>   a ex:LoadLevelType, skos:Concept ;
>   skos:prefLabel "Heavy"@en ;
> .
> ex:Normal
>   a ex:LoadLevelType, skos:Concept ;
>   skos:prefLabel "Normal"@en ;
> .
> ex:Light
>   a ex:LoadLevelType, skos:Concept ;
>   skos:prefLabel "Light"@en ;
> .
> ex:loadLevelType
>   a rdf:Property ;
>   rdfs:range ex:LoadLevelType, skos:Concept ;
>   skos:prefLabel "load level type"@en ;
> .
> ex:MyBridge
>   a ex:Bridge ;
>   ex:loadLevelType ex:Normal ;
> .
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: dinsdag 3 januari 2023 11:21
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] skos <> ontology combi
>  
> SKOS is itself is just an OWL ontology. It is OWL Full though.
>  
> However, A thing  being a Class and an instance of Concept can be a problem 
> in some scenarios. For example, it means both subClassOf and broader/narrower 
> are both usable for that thing. What does that even mean?
>  
> FWIW a common case of using SKOS and another ontology together is when a 
> SKOS-based taxonomy is used to manage categories, for example, that are then 
> used as a drop down list for a property value. In that case subclasses of 
> Concept are used to group the categories and provide a class for the property 
> value range. A second common case is when the taxono

Re: [topbraid-users] skos <> ontology combi

2023-01-03 Thread David Price
SKOS is itself is just an OWL ontology. It is OWL Full though.

However, A thing  being a Class and an instance of Concept can be a problem in 
some scenarios. For example, it means both subClassOf and broader/narrower are 
both usable for that thing. What does that even mean?

FWIW a common case of using SKOS and another ontology together is when a 
SKOS-based taxonomy is used to manage categories, for example, that are then 
used as a drop down list for a property value. In that case subclasses of 
Concept are used to group the categories and provide a class for the property 
value range. A second common case is when the taxonomy concepts are used to tag 
things as a search or navigation aid.

Cheers,
David

> On 3 Jan 2023, at 09:41, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> 
> Is it save to combine skos and rdfs/owl?
>  
> Ie have an rdfs/owl ontology directly import an skos vocabulair.
>  
> I see examples:
> https://www.w3.org/TR/2009/REC-skos-reference-20090818/#L896,
>  
> I can remember we earlier said: better to keep really separate and link via 
> say rdfs:seeAlso (from class to concept) but it would be convenient to just 
> have:
>  
>  rdf:type skos:Concept , owl:Class .
>  
> Thx for your view, Michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl
> Location
> 
>  
> 
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> -- 
> 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/eadf07387dc54e35b4cc5ad963cddf5c%40tno.nl.

-- 
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/CBDF1E23-8F94-4F72-BAA4-3181326BE22C%40topquadrant.com.


Re: [topbraid-users] url rendering issue

2022-12-07 Thread David Price
AFAiK the browser in TBC is an eclipse function, not a Composer function. 

There may be some eclipse documentation on what it can do, but nothing to do 
with Composer.

Cheers,
David 

> On 7 Dec 2022, at 15:36, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> One addition:
>  
> My browser uses saved credentials.
> Maybe related to that?
> Can I save some credentials for such access in tbc browser?
>  
>  
>  
> From: 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> Sent: woensdag 7 december 2022 16:17
> To: topbraid-users@googlegroups.com 
> Subject: [topbraid-users] url rendering issue
>  
> When I click url:
> 
>  
> I get:
>  
> 
>  
> Grafana is running on a remote server.
>  
> When copying the url and paste in browser I get (it right):
>  
> 
>  
> Any quick fix to have it also shown in TBC?
>  
> Thx Michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> -- 
> 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/47dbb4c6ff404956b7b1631fd20fa2ef%40tno.nl
>  
> .
> 
> -- 
> 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/409f239f56254072b22782ef39f606aa%40tno.nl
>  
> .

-- 
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/6DEF070F-84E0-489D-9F46-E7C03FB8FB5F%40topquadrant.com.


Re: [topbraid-users] Incorporate Glossary Into SKOS Taxonomy Dynamically?

2022-10-18 Thread David Price
A Change Script may be another option. It’s pretty well documented and there is 
an example you can download.

It reads changes as they happen and can then write or delete triples. 

Cheers,
David

> On 18 Oct 2022, at 09:54, Holger Knublauch  wrote:
> 
> 
> Applying arbitrary rules consistently is one of the difficult problems here.
> 
> Once you are happy with the inference rules, you could have them execute on a 
> regular basis. One approach would be to create an (empty) link graph (e.g. 
> Taxonomy) that gets populated automatically by the rules. A ScheduledJob 
> could populate that programmatically, wiping out the previous triples and 
> then asserting the inferences. Then owl:import that intermediate Taxonomy 
> into your real Taxonomy.
> 
> Holger
> 
> 
>> On 17 Oct 2022, at 6:35 pm, Fan Li  wrote:
>> 
>> Thanks, David. It works now. The slightly inconvenient part is that I have 
>> to manually execute the inference rules in order to see the newly added 
>> terms in the taxonomy hierarchy.
>> 
>>> On Mon, Oct 17, 2022 at 11:37 AM David Price  wrote:
>>> 
>>> 
>>>> On 17 Oct 2022, at 17:25, Fan Li  wrote:
>>>> 
>>>> Hello David, thanks for your guidance. I am not sure where and how I can 
>>>> define the property shape with inference rules in a taxonomy. I have 
>>>> opened the Class Hierarchy and then the Source Code panel. But I am not 
>>>> able make any modification as it seems to be read-only.
>>> 
>>> You define shapes in Ontologies collections, and then include them into 
>>> your Taxonomies collections. Look at Settings, Includes and see if you 
>>> already have an ontology included. If not, then create a new one and 
>>> include it. Start your new one by using the EDG SKOS Shapes as its basis 
>>> since that’s what Taxonomies collections use.
>>> 
>>> Cheers,
>>> David
>>> 
>>>> 
>>>>> On Friday, October 14, 2022 at 10:15:22 AM UTC-4 David Price wrote:
>>>>> It seems very possible to do what you want with SHACL rules.
>>>>> 
>>>>> Start here:
>>>>> 
>>>>> https://archive.topquadrant.com/doc/7.4/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/ontology_how_to_guidance.html#working-with-rules
>>>>> 
>>>>> and also here:
>>>>> 
>>>>> https://w3c.github.io/shacl/shacl-af/#rules
>>>>> 
>>>>> to see how to infer data.
>>>>> 
>>>>> Cheers,
>>>>> David
>>>>> 
>>>>>>> On 14 Oct 2022, at 14:54, Fan Li  wrote:
>>>>>>> 
>>>>>> We have a glossary (G) that is actively maintained by business users. 
>>>>>> Now we would like to incorporate all its terms into a taxonomy (T) (as 
>>>>>> narrower concepts of an existing concept). How can we do this 
>>>>>> dynamically so any new terms in G would be added to T automatically? I 
>>>>>> can think of importing G into T and perhaps creating some inference 
>>>>>> rules. But I am not sure how I should do it in SHACL and whether it 
>>>>>> would work or not. Thanks!
>>>>>> 
>>>>> 
>>>>>> -- 
>>>>>> 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/66dd20c8-10eb-47d2-9600-770f34a72a55n%40googlegroups.com.
>>>>> 
>>>>> UK +44 (0) 7788 561308
>>>>> US +1 (336) 283-0808‬
>>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> 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/25aafd4b-66e5-4b38-981c-aca5396da0d1n%40googlegroups.com.
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Go

Re: [topbraid-users] Incorporate Glossary Into SKOS Taxonomy Dynamically?

2022-10-17 Thread David Price


> On 17 Oct 2022, at 17:25, Fan Li  wrote:
> 
> Hello David, thanks for your guidance. I am not sure where and how I can 
> define the property shape with inference rules in a taxonomy. I have opened 
> the Class Hierarchy and then the Source Code panel. But I am not able make 
> any modification as it seems to be read-only.

You define shapes in Ontologies collections, and then include them into your 
Taxonomies collections. Look at Settings, Includes and see if you already have 
an ontology included. If not, then create a new one and include it. Start your 
new one by using the EDG SKOS Shapes as its basis since that’s what Taxonomies 
collections use.

Cheers,
David

> 
> On Friday, October 14, 2022 at 10:15:22 AM UTC-4 David Price wrote:
> It seems very possible to do what you want with SHACL rules.
> 
> Start here:
> 
> https://archive.topquadrant.com/doc/7.4/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/ontology_how_to_guidance.html#working-with-rules
>  
> <https://archive.topquadrant.com/doc/7.4/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/ontology_how_to_guidance.html#working-with-rules>
> 
> and also here:
> 
> https://w3c.github.io/shacl/shacl-af/#rules 
> <https://w3c.github.io/shacl/shacl-af/#rules>
> 
> to see how to infer data.
> 
> Cheers,
> David
> 
> 
>> On 14 Oct 2022, at 14:54, Fan Li > > wrote:
>> 
> 
>> We have a glossary (G) that is actively maintained by business users. Now we 
>> would like to incorporate all its terms into a taxonomy (T) (as narrower 
>> concepts of an existing concept). How can we do this dynamically so any new 
>> terms in G would be added to T automatically? I can think of importing G 
>> into T and perhaps creating some inference rules. But I am not sure how I 
>> should do it in SHACL and whether it would work or not. Thanks!
>> 
> 
>> -- 
>> 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/66dd20c8-10eb-47d2-9600-770f34a72a55n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/66dd20c8-10eb-47d2-9600-770f34a72a55n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> UK +44 (0) 7788 561308 
> US +1 (336) 283-0808 ‬
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/25aafd4b-66e5-4b38-981c-aca5396da0d1n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/25aafd4b-66e5-4b38-981c-aca5396da0d1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/3AA9EED7-17BD-4E57-AE90-6DA35DF78C21%40topquadrant.com.


Re: [topbraid-users] Incorporate Glossary Into SKOS Taxonomy Dynamically?

2022-10-14 Thread David Price
It seems very possible to do what you want with SHACL rules.

Start here:

https://archive.topquadrant.com/doc/7.4/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/ontology_how_to_guidance.html#working-with-rules
 


and also here:

https://w3c.github.io/shacl/shacl-af/#rules 


to see how to infer data.

Cheers,
David

> On 14 Oct 2022, at 14:54, Fan Li  wrote:
> 
> We have a glossary (G) that is actively maintained by business users. Now we 
> would like to incorporate all its terms into a taxonomy (T) (as narrower 
> concepts of an existing concept). How can we do this dynamically so any new 
> terms in G would be added to T automatically? I can think of importing G into 
> T and perhaps creating some inference rules. But I am not sure how I should 
> do it in SHACL and whether it would work or not. Thanks!
> 
> -- 
> 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/66dd20c8-10eb-47d2-9600-770f34a72a55n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/8CD3EB7B-F439-4735-89E0-BEEF0B04CDC7%40topquadrant.com.


Re: [topbraid-users] visualisation issue

2022-09-20 Thread David Price
Tthere is a Preference for TopBraid Composer where you can set your preferred 
lang. Maybe try that?

Cheers,
David

> On 20 Sep 2022, at 18:24, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Hi David
>  
> One subissue.
> It works fine in case of en labels.
> Not in case of nl labels (only).
>  
> 
>  
> Is there a way to make it work for any label?
> (or doesn’t the system know then what to use in case of multiple?)
>  
> Last resort is of course to add the en version (limited amount) but its 
> actually not my file…..
>  
> Thx again,Michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: maandag 19 september 2022 18:39
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] visualisation issue
>  
>  
> 
> 
> On 19 Sep 2022, at 17:08, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> And what about inferring rdfs labels so that the switch feature might work?
> Insnt a skos preflabel a subproperty of rdfs label?
>  
> If you have the SKOS ontology imported into your current graph, then that 
> subProperty relation should be there. Check and see.
>  
> Cheers,
> David
> 
> 
>  
> Op 19 sep. 2022 18:02 schreef David Price  <mailto:dpr...@topquadrant.com>>:
> Any time class or property URIs are UUID-based, even prefixes are not really 
> useful.
>  
> Using Human labels Composer feature is the only option.
>  
> Cheers,
> David
>  
> On 19 Sep 2022, at 16:10, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Is there any way to get it more user-friendly:
>  
> 
>  
> They use no prefixes. And skos:preflabels (no rdfs:label).
>  
> (can I infer rdfs:labels? Better add manually a prefix?)
>  
> Thx michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/626d1a7ef2124eb2bfb5f79f13c854b4%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/626d1a7ef2124eb2bfb5f79f13c854b4%40tno.nl?utm_medium=email&utm_source=footer>.
>  
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808
>  
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/6ADD44DA-E216-41FC-B9F0-DEA8B1D15CDB%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/t

Re: [topbraid-users] visualisation issue

2022-09-19 Thread David Price


> On 19 Sep 2022, at 17:08, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> And what about inferring rdfs labels so that the switch feature might work?
> Insnt a skos preflabel a subproperty of rdfs label?

If you have the SKOS ontology imported into your current graph, then that 
subProperty relation should be there. Check and see.

Cheers,
David

> 
> Op 19 sep. 2022 18:02 schreef David Price :
> Any time class or property URIs are UUID-based, even prefixes are not really 
> useful.
> 
> Using Human labels Composer feature is the only option.
> 
> Cheers,
> David
> 
> On 19 Sep 2022, at 16:10, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
> 
> Is there any way to get it more user-friendly:
>  
> 
>  
> They use no prefixes. And skos:preflabels (no rdfs:label).
>  
> (can I infer rdfs:labels? Better add manually a prefix?)
>  
> Thx michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/626d1a7ef2124eb2bfb5f79f13c854b4%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/626d1a7ef2124eb2bfb5f79f13c854b4%40tno.nl?utm_medium=email&utm_source=footer>.
> 
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808‬
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/6ADD44DA-E216-41FC-B9F0-DEA8B1D15CDB%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/6ADD44DA-E216-41FC-B9F0-DEA8B1D15CDB%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/d89f1fb5-42d4-45c7-8084-330c4068360a%40email.android.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/d89f1fb5-42d4-45c7-8084-330c4068360a%40email.android.com?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/C624DCE9-C832-4417-A8A7-C0D6C710B595%40topquadrant.com.


Re: [topbraid-users] visualisation issue

2022-09-19 Thread David Price
Any time class or property URIs are UUID-based, even prefixes are not really 
useful.

Using Human labels Composer feature is the only option.

Cheers,
David

> On 19 Sep 2022, at 16:10, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Is there any way to get it more user-friendly:
>  
> 
>  
> They use no prefixes. And skos:preflabels (no rdfs:label).
>  
> (can I infer rdfs:labels? Better add manually a prefix?)
>  
> Thx michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> 
> -- 
> 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/626d1a7ef2124eb2bfb5f79f13c854b4%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/6ADD44DA-E216-41FC-B9F0-DEA8B1D15CDB%40topquadrant.com.


Re: [topbraid-users] spreadsheet import issue

2022-09-15 Thread David Price
I think RML is popular

> On 15 Sep 2022, at 12:26, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Any advice for such a tool (doing the same as the earlier “import by 
> pattern”) would be really appreciated.
>  
> Ps still remembering earlier TQ mails advising not to use TBC-import 
> (unstable, not maintained) but to use the EDG-variants which were up-to-date 
> etc.). But ok, won’t go further on that…think we passed that station with 7.1
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: donderdag 15 september 2022 13:22
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] spreadsheet import issue
>  
> No EDG in free. There are plenty of ss to rdf tools around though, so 
> probably best use one of them.
> 
> 
> On 15 Sep 2022, at 12:17, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> That is really a pity.
>  
> Could I somehow be able to use an old free version or doesn’t it have 
> edg/excellimport.
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of Holger Knublauch
> Sent: donderdag 15 september 2022 12:47
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] spreadsheet import issue
>  
> There is IMHO no comparable feature in TBC-only.
>  
> Holger
>  
> 
> 
> 
> On 15 Sep 2022, at 12:31 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> In the past I used Import “Spreadsheet using Pattern” in EDG co-delivered 
> with TBC.
>  
> I cannot see how I can do the same now in latest TBC-only.
>  
> Can you advice me?
> (excel import to spreadsheet ontology is not useful)
>  
> We have some follow up work where we need to redo/update this same process 
> for a client.
>  
> Thx Michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view th

Re: [topbraid-users] spreadsheet import issue

2022-09-15 Thread David Price
No EDG in free. There are plenty of ss to rdf tools around though, so probably 
best use one of them.

> On 15 Sep 2022, at 12:17, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> That is really a pity.
>  
> Could I somehow be able to use an old free version or doesn’t it have 
> edg/excellimport.
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
>   > On Behalf Of Holger Knublauch
> Sent: donderdag 15 september 2022 12:47
> To: topbraid-users@googlegroups.com 
> Subject: Re: [topbraid-users] spreadsheet import issue
>  
> There is IMHO no comparable feature in TBC-only.
>  
> Holger
>  
> 
> 
> On 15 Sep 2022, at 12:31 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> In the past I used Import “Spreadsheet using Pattern” in EDG co-delivered 
> with TBC.
>  
> I cannot see how I can do the same now in latest TBC-only.
>  
> Can you advice me?
> (excel import to spreadsheet ontology is not useful)
>  
> We have some follow up work where we need to redo/update this same process 
> for a client.
>  
> Thx Michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
>  
> -- 
> 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/f7df3933174346d6a203ea0c947b7a85%40tno.nl
>  
> .
>  
> -- 
> 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/BD10F180-03B0-4A3A-95AE-5ABB33FB9746%40topquadrant.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/c1761ef199de425ca416ccc070ed4da0%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/50796E15-1AB6-4622-AAEA-7E24810B5B9D%40topquadrant.com.


Re: [EXTERNAL] [topbraid-users] Re: Cancel Scheduled Import

2022-09-13 Thread David Price


> On 13 Sep 2022, at 17:14, 'GaBriella Branson' via TopBraid Suite Users 
>  wrote:
> 
> Your warning is duly noted, David. I will refrain for the moment. Because we 
> are in our "staging" instance and simply testing/exploring, what happens if 
> we simply delete the collection? Does this remove all the workflows and the 
> schedule? Or does it leave the workflows and schedule out in limbo land?

Workflows are related to the collection and each collection “graph” has a 
related change history “graph", so the related workflows and all related change 
history will be deleted entirely if you delete the collection.

Note that before going this far, you could simple Clear Change History (under 
Manage tab) for the collection and then you do not have to delete its content.

Cheers,
David


> 
> On Tuesday, September 13, 2022 at 5:04:41 AM UTC-8 David Price wrote:
> Although, there is not really a better solution at the moment, SPARQL queries 
> modifying a TCH graph are a bit dangerous … mistakes are always possible.
> 
> So … I would take great care in doing this. Take a backup just before doing 
> any editing so that worst-case you can restore from the backup and try again. 
> Test carefully by viewing the Change History for the collection and for 
> specific assets in the collection before declaring success.
> 
> Cheers,
> David
> 
> 
>> On 13 Sep 2022, at 08:07, Holger Knublauch > > wrote:
>> 
> 
>> 
>> 
>>> On 12 Sep 2022, at 7:14 pm, 'Branson, GaBriella C' via TopBraid Suite Users 
>>> >> > wrote:
>>> 
>>> Thanks, John. I have yet to test it out as our EDG is hanging up on us…but 
>>> I can see from the logs that our cancel was behaving as expected - now to 
>>> get into the collection and edit the import per your instructions.
>>>  
>>> Do you have any advice on cancelling a massive load of workflows? There are 
>>> over 800 that have been created because of this scheduled import.
>> 
>> One way to batch-delete hundreds of workflows is by going to the SPARQL 
>> endpoint page
>> 
>> .../tbl/sparql
>> 
>> as administrator, assuming SPARQL Updates are enabled in the advanced server 
>> configuration parameters. In the drop down below the query editor field, 
>> select the Default Graph to be like urn:x-evn-master:XY.tch where XY is the 
>> ID of your asset collection - this is the part before the .editor in the URL 
>> of the main editor. For example for the geography taxonomy this would be 
>> urn:x-evn-master:geo.tch - note the .tch is the graph containing the 
>> metadata about the workflows.
>> 
>> Then, to delete all workflows, run these queries in sequence.
>> 
>> # Delete all added and deleted triples from all workflows
>> PREFIX teamwork: <http://topbraid.org/teamwork# 
>> <http://topbraid.org/teamwork#>>
>> DELETE {
>>   ?triple ?p ?o .
>> }
>> WHERE {
>>   ?tag a teamwork:Tag .
>>   ?change teamwork:tag ?tag .
>>   ?change teamwork:added|teamwork:deleted ?triple .
>>   ?triple ?p ?o .
>> }
>> 
>> 
>> # Delete other change metadata
>> PREFIX teamwork: <http://topbraid.org/teamwork# 
>> <http://topbraid.org/teamwork#>>
>> DELETE {
>>   ?change ?p ?o .
>> }
>> WHERE {
>>   ?tag a teamwork:Tag .
>>   ?change teamwork:tag ?tag .
>>   ?change ?p ?o .
>> }
>> 
>> 
>> # Delete status transitions
>> PREFIX teamwork: <http://topbraid.org/teamwork# 
>> <http://topbraid.org/teamwork#>>
>> DELETE {
>>   ?sc ?p ?o .
>> }
>> WHERE {
>>   ?tag a teamwork:Tag .
>>   ?tag teamwork:statusChange ?sc .
>>   ?sc ?p ?o .
>> }
>> 
>> 
>> # Delete workflow itself
>> PREFIX teamwork: <http://topbraid.org/teamwork# 
>> <http://topbraid.org/teamwork#>>
>> DELETE {
>>   ?tag ?p ?o .
>> }
>> WHERE {
>>   ?tag a teamwork:Tag .
>>   ?tag ?p ?o .
>> }
>> 
>> 
>> There are ways to automate this using scripts, but in your version this 
>> would require uploading SWP files which I didn't want to require.
>> 
>> Note that the above will delete *all* workflows including past ones. To only 
>> delete certain workflows, you'd need to filter the ?tag by some criteria 
>> such as by creation date. Let me know if you need that step as well.
>> 
>> NB: From versions 7.3 onwards, the above could be automated much more easily 
>> using the (ADS) Script Editor panel:
>> 
>>  tbs.workflows(

Re: [EXTERNAL] [topbraid-users] Re: Cancel Scheduled Import

2022-09-13 Thread David Price
Although, there is not really a better solution at the moment, SPARQL queries 
modifying a TCH graph are a bit dangerous … mistakes are always possible.

So … I would take great care in doing this. Take a backup just before doing any 
editing so that worst-case you can restore from the backup and try again. Test 
carefully by viewing the Change History for the collection and for specific 
assets in the collection before declaring success.

Cheers,
David

> On 13 Sep 2022, at 08:07, Holger Knublauch  wrote:
> 
> 
> 
>> On 12 Sep 2022, at 7:14 pm, 'Branson, GaBriella C' via TopBraid Suite Users 
>> mailto:topbraid-users@googlegroups.com>> 
>> wrote:
>> 
>> Thanks, John. I have yet to test it out as our EDG is hanging up on us…but I 
>> can see from the logs that our cancel was behaving as expected - now to get 
>> into the collection and edit the import per your instructions.
>>  
>> Do you have any advice on cancelling a massive load of workflows? There are 
>> over 800 that have been created because of this scheduled import.
> 
> One way to batch-delete hundreds of workflows is by going to the SPARQL 
> endpoint page
> 
> .../tbl/sparql
> 
> as administrator, assuming SPARQL Updates are enabled in the advanced server 
> configuration parameters. In the drop down below the query editor field, 
> select the Default Graph to be like urn:x-evn-master:XY.tch where XY is the 
> ID of your asset collection - this is the part before the .editor in the URL 
> of the main editor. For example for the geography taxonomy this would be 
> urn:x-evn-master:geo.tch - note the .tch is the graph containing the metadata 
> about the workflows.
> 
> Then, to delete all workflows, run these queries in sequence.
> 
> # Delete all added and deleted triples from all workflows
> PREFIX teamwork:  >
> DELETE {
>   ?triple ?p ?o .
> }
> WHERE {
>   ?tag a teamwork:Tag .
>   ?change teamwork:tag ?tag .
>   ?change teamwork:added|teamwork:deleted ?triple .
>   ?triple ?p ?o .
> }
> 
> 
> # Delete other change metadata
> PREFIX teamwork:  >
> DELETE {
>   ?change ?p ?o .
> }
> WHERE {
>   ?tag a teamwork:Tag .
>   ?change teamwork:tag ?tag .
>   ?change ?p ?o .
> }
> 
> 
> # Delete status transitions
> PREFIX teamwork:  >
> DELETE {
>   ?sc ?p ?o .
> }
> WHERE {
>   ?tag a teamwork:Tag .
>   ?tag teamwork:statusChange ?sc .
>   ?sc ?p ?o .
> }
> 
> 
> # Delete workflow itself
> PREFIX teamwork:  >
> DELETE {
>   ?tag ?p ?o .
> }
> WHERE {
>   ?tag a teamwork:Tag .
>   ?tag ?p ?o .
> }
> 
> 
> There are ways to automate this using scripts, but in your version this would 
> require uploading SWP files which I didn't want to require.
> 
> Note that the above will delete *all* workflows including past ones. To only 
> delete certain workflows, you'd need to filter the ?tag by some criteria such 
> as by creation date. Let me know if you need that step as well.
> 
> NB: From versions 7.3 onwards, the above could be automated much more easily 
> using the (ADS) Script Editor panel:
> 
>   tbs.workflows().forEach(tbs.deleteWorkflow)
> 
> HTH
> Holger
> 
> 
>>  
>> GaBriella Branson
>> Wildland Fire Data Management Program - Knowledge Manager
>>  
>> Stay Connected! Sign up to receive  email updates from the Wildland Fire 
>> Data Management Program 
>> 
>>  
>> From: topbraid-users@googlegroups.com 
>>  > >On Behalf Of John Beard
>> Sent: Monday, September 12, 2022 9:06 AM
>> To: TopBraid Suite Users > >
>> Subject: [EXTERNAL] [topbraid-users] Re: Cancel Scheduled Import
>>  
>>  
>> 
>>  This email has been received from outside of DOI - Use caution before 
>> clicking on links, opening attachments, or responding.  
>> 
>>  
>> 
>> Hi GaBriella,
>> 
>> The cancel button only cancels the currently executing job.  To cancel 
>> future executions you need to edit the job configuration in the data asset 
>> collection and clear the cron expression field.
>> On Monday, September 12, 2022 at 12:33:22 PM UTC-4 gabriell...@ios.doi.gov 
>> wrote:
>> We had a user schedule a JDBC import to occur every five minutes and it is 
>> causing a few issues. I have gone into Scheduled Jobs under Server 
>> Administration and attempted to hit the cancel button:
>> 
>> 
>> But the screen merely flashes and the import continues to run. Am I supposed 
>> to be cancelling from within the collection?
>>  
>> Thanks in advance.
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TopBraid Suite Users" group.
>> To unsubscribe from this topic, v

Re: [topbraid-users] show preflabels?

2022-09-07 Thread David Price
In TBC it’s turning on the "human labels" rather than showing URIs.

> On 7 Sep 2022, at 16:00, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Pls help me remind me how to show prefLabels instead of uuids:
>  
> 
>  
> Same for properties…
> Thx michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> 
> -- 
> 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/0669f26ca1ea4c069a5c45ff381797e2%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/A51E6AD7-14E3-4BC5-A28D-4A9B29671B48%40topquadrant.com.


Re: [topbraid-users] Model / Display External URL in EDG

2022-08-08 Thread David Price
FYI the full list of available Edit and View options for property shapes is 
here:

https://datashapes.org/forms.html#widgets 


Cheers,
David

> On 8 Aug 2022, at 13:47, Fan Li  wrote:
> 
> Thank you, David and Holger! It's great to have both options to meet 
> different user requirements.
> 
> On Monday, August 8, 2022 at 8:40:31 AM UTC-4 hol...@topquadrant.com wrote:
> I should have attached an example instance to demonstrate how this will look 
> like:
> 
> 
> 
> HTH
> Holger
> 
> 
> 
>> On 8 Aug 2022, at 2:38 pm, Holger Knublauch > > wrote:
>> 
>> I guess you need to make a decision here. When a user clicks on one of those 
>> (annotated) resources, should they directly go to the URL represented by 
>> that resource or should they first see the metadata/annotations instance? 
>> 
>> I suspect the latter as how else would users ever see that data. Then, from 
>> within those resources, assuming they have the URL that you want to go to, 
>> you could add a proper hyperlink to the URL itself by adding an inferred 
>> property that points to itself but shows up as dash:HyperlinkViewer
>> 
>> ex:URL
>>   a owl:Class ;
>>   a sh:NodeShape ;
>>   rdfs:label "URL" ;
>>   rdfs:subClassOf owl:Thing ;
>>   sh:property ex:URL-label ;
>>   sh:property ex:URL-url ;
>> .
>> ex:URL-label
>>   a sh:PropertyShape ;
>>   sh:path rdfs:label ;
>>   dash:singleLine true ;
>>   graphql:name "labels" ;
>>   sh:name "labels" ;
>>   sh:or dash:StringOrLangString ;
>> .
>> ex:URL-url
>>   a sh:PropertyShape ;
>>   sh:path ex:url ;
>>   dash:viewer dash:HyperlinkViewer ;
>>   sh:description "The URL itself, this time as a clickable link." ;
>>   sh:maxCount 1 ;
>>   sh:name "url" ;
>>   sh:nodeKind sh:IRI ;
>>   sh:values sh:this ;
>> .
>> 
>> I just notice that David sent a similar suggestion but I believe the 
>> difference is that in his design a separate property is used while above the 
>> assumption is that the ex:URL instance itself has the target URL. The trick 
>> with sh:values sh:this is an inference pointing at itself, just so that a 
>> clickable URL shows up on forms. But using a separate datatype property 
>> would of course also work.
>> 
>> Holger
>> 
>> 
>>> On 8 Aug 2022, at 2:21 pm, Fan Li >> > wrote:
>>> 
>>> Hi Holger, thanks for your response.That was indeed something I tried (a 
>>> custom URL class). However, in the data graph tabular view, clicking on the 
>>> url field will display the URL instance in EDG, instead of opening the URL 
>>> directly. This is not the behavior our users wanted here. Is there a way I 
>>> can customize it? 
>>> 
>>> <2022-08-08 081252.png>
>>> 
>>> On Mon, Aug 8, 2022 at 1:22 AM Holger Knublauch >> > wrote:
>>> Hi Fan Li,
>>> 
>>> (you are probably using Mac with auto-correction, which will replace 
>>> rdf:... with ref:... - I have switched off auto-correction as this was 
>>> biting me all the time).
>>> 
>>> If you want to attach metadata and also customize the display text, why not 
>>> simply create proper instances of a class of your choice, e.g. ex:URL which 
>>> has rdfs:label as a declared property and any other metadata property too? 
>>> I.e. instead of using datatype properties just make them proper object 
>>> properties linking to an instance instead of a literal?
>>> 
>>> Holger
>>> 
>>> 
 On 5 Aug 2022, at 4:43 pm, Fan Li >>> > wrote:
 
 In the following thread, Irene mentioned two approaches to display 
 clickable URL in EDG: xsd:anyURI or ref:HTML
 
 https://groups.google.com/g/topbraid-users/c/IX9XLMMchPw/m/wZeTOfUqAgAJ 
 
 
  if you want to see on a form a hyperlink to a document on a web, use 
 xsd:anyURI or, if values are text that includes links, use ref:HTML.
 
 But I feel there are limitations in both. Using xsd:anyURI, I cannot 
 control the displayed text and the hover text in the HTML hyperlink tag 
 (e.g. ABC). Using ref:HTML, I can 
 customize both but the content can be any html with no semantic meaning.
 
 Is there a built-in URL class (or allow me to create one) and have it 
 rendered as a clickable link? It would also give me the ability to attach 
 additional metadata to each URL.
 
 Thanks!
 
 -- 
 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/1342be77-43f6-45fc-a76c-3f0ee010b02fn%40googlegroups.com
  
 .
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Goo

Re: [topbraid-users] Model / Display External URL in EDG

2022-08-08 Thread David Price
This makes a link as a simple hyperlink property work, in EDG 7.2 at least, 
when used in a Data Graph.

play:TestClass-seeLink
  a sh:PropertyShape ;
  sh:path play:seeLink ;
  dash:viewer dash:HyperlinkViewer ;
  sh:datatype xsd:anyURI ;
  sh:maxCount 1 ;
  sh:name "see link" ;
.

Cheers,
David

> On 8 Aug 2022, at 13:21, Fan Li  wrote:
> 
> Hi Holger, thanks for your response.That was indeed something I tried (a 
> custom URL class). However, in the data graph tabular view, clicking on the 
> url field will display the URL instance in EDG, instead of opening the URL 
> directly. This is not the behavior our users wanted here. Is there a way I 
> can customize it? 
> 
> <2022-08-08 081252.png>
> 
> On Mon, Aug 8, 2022 at 1:22 AM Holger Knublauch  > wrote:
> Hi Fan Li,
> 
> (you are probably using Mac with auto-correction, which will replace rdf:... 
> with ref:... - I have switched off auto-correction as this was biting me all 
> the time).
> 
> If you want to attach metadata and also customize the display text, why not 
> simply create proper instances of a class of your choice, e.g. ex:URL which 
> has rdfs:label as a declared property and any other metadata property too? 
> I.e. instead of using datatype properties just make them proper object 
> properties linking to an instance instead of a literal?
> 
> Holger
> 
> 
>> On 5 Aug 2022, at 4:43 pm, Fan Li > > wrote:
>> 
>> In the following thread, Irene mentioned two approaches to display clickable 
>> URL in EDG: xsd:anyURI or ref:HTML
>> 
>> https://groups.google.com/g/topbraid-users/c/IX9XLMMchPw/m/wZeTOfUqAgAJ 
>> 
>> 
>>  if you want to see on a form a hyperlink to a document on a web, use 
>> xsd:anyURI or, if values are text that includes links, use ref:HTML.
>> 
>> But I feel there are limitations in both. Using xsd:anyURI, I cannot control 
>> the displayed text and the hover text in the HTML hyperlink tag (e.g. > href=".." text="Link to ABC">ABC). Using ref:HTML, I can customize both 
>> but the content can be any html with no semantic meaning.
>> 
>> Is there a built-in URL class (or allow me to create one) and have it 
>> rendered as a clickable link? It would also give me the ability to attach 
>> additional metadata to each URL.
>> 
>> Thanks!
>> 
>> -- 
>> 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/1342be77-43f6-45fc-a76c-3f0ee010b02fn%40googlegroups.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/6D57EA84-E78C-4164-8D77-D89A185256AC%40topquadrant.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/CAC95LqUA0s9ouq%3DCeGihrH2g5O3pUg07zsJxgrLV9jZ6h0P5ag%40mail.gmail.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/F723AD81-C260-4D24-9652-F5130306547F%40topquadrant.com.


Re: [topbraid-users] Expected behavior of sh:or on an EDG form and EDG Diagram

2022-08-02 Thread David Price
Hi Tim,

Just a comment or two …

Pet peeve: rdfs:subClassOf is part of SHACL so not going outside it. subClassOf 
is actually subSetOf and so is just using set theory rather than Boolean logic. 
Rationale: There is not actually any inheritance in rdfs:subClassOf, I know we 
all pretend there is but what actually happens is the instance is made a member 
of all superclasses so it gets the properties directly. These are not “fake” 
classes, they are just giving a URI to something that is anonymous otherwise. I 
find that easier to show and explain for the union/or case, and that was true 
with OWL models too. I never understood why the idea that calculating 
restrictions or now sh:or on-the-fly is somehow better than asserting it 
(which, for example makes it easily SPARQL-able which is not true otherwise). 

That said, there are certainly improvements that can be made in EDG OR support. 
 I’ve made 3 tickets in our system for the sh:or items you reported: 
autocomplete, + and EDG diagram. Hope that helps.

I guess for you the tactical question is whether you can live with things wrt 
sh:or as-is for a while OR to get the other features today maybe make tactical 
use of rdfs:subClassOf now with a plan to move off it when the sh:or 
requirements you mention are met.

Cheers,
David

> On 1 Aug 2022, at 17:45, Tim Smith  wrote:
> 
> Hi David,
> 
> Yes, that is how I used to do it before SHACL was available.  However, the 
> downside is class bloat that is not easily hidden in the UI.  I will have 
> lots of classes that have no semantic meaning other than to provide a 
> grouping mechanism against which I can write constraints, essentially 
> embedding Boolean logic using inheritance.  I would need to hide them in 
> class trees, EDG diagrams, etc.
> 
> The impetus for this work is to create a complete SHACL model of our master 
> data to demonstrate the superiority of using EDG for this task over our 
> traditional modeling tools like Erwin.  So far EDG is more expressive, able 
> to capture a semantically robust representation of the domain resulting in a 
> far superior conceptual model.  But EDG is weak on visualization, especially 
> EDG Diagram (although it is much better than NeighborGram).  If I have to 
> introduce "fake" classes to support constraints, then I will lose for sure.  
> I'm already spending lots of energy building graph visualizations using Tom 
> Sawyer Software's Perspectives platform to compensate for EDG Diagram's 
> weaknesses.  Tom Sawyer goes live against the EDG SPARQL endpoint and links 
> back to the resource URLs in EDG.  (Now if the endpoint only supported named 
> graphs!!!)
> 
> Tim
> 
> On Monday, August 1, 2022 at 11:47:38 AM UTC-4 David Price wrote:
> It’s far simpler to make an abstract superclass of the two classes of 
> interest. Everything mentioned works out-of-the-box and avoid Source Code 
> SHACL editing, etc.
> 
> Cheers,
> David
> 
> 
>> On 1 Aug 2022, at 16:21, Tim Smith > > wrote:
>> 
> 
>> Hi,
>> 
>> I have three classes:
>> 
>> Consumer Unit
>> Inner Pack
>> Case.
>> 
>> I need a property constraint on Case, using the property ex:contains (an 
>> Object Property), to say:
>> 
>> Case ex:contains one or more (Consumer Unit OR Inner Pack) instances.
>> 
>> Following the example found at sh:or 
>> <https://www.w3.org/TR/shacl/#OrConstraintComponent>, I created the 
>> following:
>> 
>> ex:Case
>>   a owl:Class ;
>>   a sh:NodeShape ;
>>   rdfs:label "Case" ;
>>   rdfs:subClassOf owl:Thing ;
>>   sh:property ex:Case-contains ;
>> .
>> ex:Case-contains
>>   a sh:PropertyShape ;
>>   sh:path ex:contains ;
>>   sh:group ex:ExamplePropertyGroup ;
>>   sh:minCount 1 ;
>>   sh:name "contains" ;
>>   sh:or (
>>   [
>> sh:class ex:InnerPack ;
>>   ]
>>   [
>> sh:class ex:ConsumerUnit ;
>>   ]
>> ) ;
>> .
>> 
>> When creating an instance of Case, I thought I would see only instances of 
>> InnerPack or ConsumerUnit in the auto-complete.  However, I am seeing 
>> everything - instances and classes, etc.  If I select something other than 
>> InnerPack or ConsumerUnit, I will see a SHACL constraint violation 
>> indicating the selection is not a valid shape so it is reading the 
>> constraint.
>> 
>> In addition, there is no "+" sign for the creation of new instances - should 
>> there be?  It would be helpful.  Navigating back to Inner Pack to create a 
>> new instance is a lot of clicks, especially if Inner Pack needs to be in a 
>> different asset co

Re: [topbraid-users] Expected behavior of sh:or on an EDG form and EDG Diagram

2022-08-01 Thread David Price
It’s far simpler to make an abstract superclass of the two classes of interest. 
Everything mentioned works out-of-the-box and avoid Source Code SHACL editing, 
etc.

Cheers,
David

> On 1 Aug 2022, at 16:21, Tim Smith  wrote:
> 
> Hi,
> 
> I have three classes:
> 
> Consumer Unit
> Inner Pack
> Case.
> 
> I need a property constraint on Case, using the property ex:contains (an 
> Object Property), to say:
> 
> Case ex:contains one or more (Consumer Unit OR Inner Pack) instances.
> 
> Following the example found at sh:or 
> , I created the following:
> 
> ex:Case
>   a owl:Class ;
>   a sh:NodeShape ;
>   rdfs:label "Case" ;
>   rdfs:subClassOf owl:Thing ;
>   sh:property ex:Case-contains ;
> .
> ex:Case-contains
>   a sh:PropertyShape ;
>   sh:path ex:contains ;
>   sh:group ex:ExamplePropertyGroup ;
>   sh:minCount 1 ;
>   sh:name "contains" ;
>   sh:or (
>   [
> sh:class ex:InnerPack ;
>   ]
>   [
> sh:class ex:ConsumerUnit ;
>   ]
> ) ;
> .
> 
> When creating an instance of Case, I thought I would see only instances of 
> InnerPack or ConsumerUnit in the auto-complete.  However, I am seeing 
> everything - instances and classes, etc.  If I select something other than 
> InnerPack or ConsumerUnit, I will see a SHACL constraint violation indicating 
> the selection is not a valid shape so it is reading the constraint.
> 
> In addition, there is no "+" sign for the creation of new instances - should 
> there be?  It would be helpful.  Navigating back to Inner Pack to create a 
> new instance is a lot of clicks, especially if Inner Pack needs to be in a 
> different asset collection as happens frequently when using the EDG 
> ontologies.
> 
> And finally, placing the class, Case, on an EDG Diagram and using the "Expand 
> Associations" option, Level 1 or Level 2, does not display anything.  If I 
> expand the sh:property relationship manually, I will see the property shape 
> but the sh:or(sh:class) statements are ignored.
> 
> What is the expected behavior?  What do I need to do to limit the instances 
> the user sees to the evaluation of the sh:or?  It is also important that the 
> sh:or relationship and target classes are visible on an EDG Diagram otherwise 
> a user cannot see the ontology graphically.
> 
> Attached is a zip export of the example ontology and data graph that depicts 
> the above.  I'm using EDG 7.3.
> 
> Thank you in advance for your input,
> 
> Tim
> 
> 
> -- 
> 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/b6dcb60e-4f3a-4296-99f9-2a0bacd14120n%40googlegroups.com
>  
> .
> 

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/EB1B9C97-631F-4F0B-8840-90B75E83635E%40topquadrant.com.


Re: [topbraid-users] Add columns to default tabular view through ontology?

2022-07-30 Thread David Price

> On 29 Jul 2022, at 18:52, Fan Li  wrote:
> 
> Hi David, how to set up the default query view? Could I set it up for all 
> users or just myself?

For reference, here’s the 7.2 doc on this topic

https://www.topquadrant.com/doc/7.2/user_guide/searching/index.html#search-panel
 
<https://www.topquadrant.com/doc/7.2/user_guide/searching/index.html#search-panel>

See the Actions section.

Cheers,
David


> 
> I just thought it is reasonable to configure the view from the ontology. But 
> any mechanism to set the default view for all users should be okay.
> 
> Thanks!
> 
> On Friday, July 29, 2022 at 10:37:37 AM UTC-4 David Price wrote:
> 
>> On 29 Jul 2022, at 14:52, Fan Li > > wrote:
>> 
>> When the instances of a class is rendered in a tabular view (e.g. in data 
>> graphs), only the URI / label is displayed by default. Is it possible to 
>> specify in an ontology what additional attributes to display by default? 
> 
> 
> Hello,
> 
> At the moment, AFAIK there is no way to do this in EDG other than opening the 
> Data Graph and setting the default query view.  I have created a feature 
> improvment request ticket on this topic.
> 
> FWIW there have also been discussions about being able to create that defailt 
> query view in a desktop EDG Data Graph and deploy it to a server Data Graph. 
> That is an alternative approach that is close but not quite the same as using 
> an ontology. Would that approach be acceptable in your situation or *must* it 
> be doable from the ontology?
> 
> Cheers,
> David
> 
> 
>> 
>> <2022-07-29 094742.png>
>> 
>> -- 
>> 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/637514b0-217e-4e83-984d-935c27c801c5n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/637514b0-217e-4e83-984d-935c27c801c5n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> <2022-07-29 094742.png>
> 
> UK +44 (0) 7788 561308 
> US +1 (336) 283-0808 ‬
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/9afd1946-de1e-422a-8dc7-1bb765ed8df3n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/9afd1946-de1e-422a-8dc7-1bb765ed8df3n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/C72210DC-705D-4ED9-87C6-C4B18278A408%40topquadrant.com.


Re: [topbraid-users] Add columns to default tabular view through ontology?

2022-07-29 Thread David Price
Open a Data Graph and use filters to set up a query, then select save query and 
make it the default. All users get the default from then on.

Cheers,
David

> On 29 Jul 2022, at 18:52, Fan Li  wrote:
> 
> Hi David, how to set up the default query view? Could I set it up for all 
> users or just myself?
> 
> I just thought it is reasonable to configure the view from the ontology. But 
> any mechanism to set the default view for all users should be okay.
> 
> Thanks!
> 
>> On Friday, July 29, 2022 at 10:37:37 AM UTC-4 David Price wrote:
>> 
>>> On 29 Jul 2022, at 14:52, Fan Li  wrote:
>>> 
>>> When the instances of a class is rendered in a tabular view (e.g. in data 
>>> graphs), only the URI / label is displayed by default. Is it possible to 
>>> specify in an ontology what additional attributes to display by default? 
>> 
>> 
>> Hello,
>> 
>> At the moment, AFAIK there is no way to do this in EDG other than opening 
>> the Data Graph and setting the default query view.  I have created a feature 
>> improvment request ticket on this topic.
>> 
>> FWIW there have also been discussions about being able to create that 
>> defailt query view in a desktop EDG Data Graph and deploy it to a server 
>> Data Graph. That is an alternative approach that is close but not quite the 
>> same as using an ontology. Would that approach be acceptable in your 
>> situation or *must* it be doable from the ontology?
>> 
>> Cheers,
>> David
>> 
>> 
>>> 
>>> <2022-07-29 094742.png>
>>> 
>>> -- 
>>> 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/637514b0-217e-4e83-984d-935c27c801c5n%40googlegroups.com.
>>> <2022-07-29 094742.png>
>> 
>> UK +44 (0) 7788 561308
>> US +1 (336) 283-0808‬
>> 
> 
> -- 
> 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/9afd1946-de1e-422a-8dc7-1bb765ed8df3n%40googlegroups.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/92673917-13AD-443E-8AA7-D047BC08BA09%40topquadrant.com.


Re: [topbraid-users] Add columns to default tabular view through ontology?

2022-07-29 Thread David Price




> On 29 Jul 2022, at 14:52, Fan Li  wrote:
> 
> When the instances of a class is rendered in a tabular view (e.g. in data 
> graphs), only the URI / label is displayed by default. Is it possible to 
> specify in an ontology what additional attributes to display by default? 


Hello,

At the moment, AFAIK there is no way to do this in EDG other than opening the 
Data Graph and setting the default query view.  I have created a feature 
improvment request ticket on this topic.

FWIW there have also been discussions about being able to create that defailt 
query view in a desktop EDG Data Graph and deploy it to a server Data Graph. 
That is an alternative approach that is close but not quite the same as using 
an ontology. Would that approach be acceptable in your situation or *must* it 
be doable from the ontology?

Cheers,
David


> 
> <2022-07-29 094742.png>
> 
> -- 
> 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/637514b0-217e-4e83-984d-935c27c801c5n%40googlegroups.com
>  
> .
> <2022-07-29 094742.png>

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/82700586-F41C-4C09-BD35-9D4476D830F2%40topquadrant.com.


Re: [topbraid-users] geosparql issue

2022-07-27 Thread David Price
Hi Michel,

If you are talking to standards makers, then this detail is something to be 
understood with them using the RDF Turtle spec. It is not specific to TopBraid 
so you should do what the spec says, not what TQ says, and if that works in 
other tools but does not work correctly in TopBraid, then raise a ticket with 
Support. 

As you can see from what I pasted, I found something about QNames when you are 
actually looking at lang string-valued properties. I think the section you need 
may be this one 

https://www.w3.org/TR/turtle/#sec-escapes

with gory details about unicode (with links to the unicode standard) but I do 
not have time to test the various possibilities for you wrt the exact character 
being used (e.g. is that an emdash?) and its encoding:

Cheers,
David



> On 27 Jul 2022, at 12:48, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Ok
> But adding just a \ does not solve the issue
>  
> How would they need to escape in:
>  
> http://www.opengis.net/ont/geosparql <http://www.opengis.net/ont/geosparql>
>   a owl:Ontology ;
>   dcterms:source http://www.opengis.net/doc/IS/geosparql/1.1 
> <http://www.opengis.net/doc/IS/geosparql/1.1> , "OGC GeoSPARQL – A Geographic 
> Query Language for RDF Data OGC 11-052r5"@en ;
> .
>  
> Then I can report that back to OGC (via our Dutch contact)
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: woensdag 27 juli 2022 13:05
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] geosparql issue
>  
> I expect that is a special character that has to be escaped to be valid RDF 
> Turtle.
>  
> See here and search for “escape” and you find:
>  
> Note
> Prefixed names are a superset of XML QNames. They differ in that the local 
> part of prefixed names may include:
> leading digits, e.g. leg:3032571 or isbn13:9780136019701
> non leading colons, e.g. og:video:height
> reserved character escape sequences <https://www.w3.org/TR/turtle/#reserved>, 
> e.g. wgs:lat\-long
>  
> Cheers,
> David
> 
> 
> On 27 Jul 2022, at 11:57, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Holger, I know you like minimal examples 😊
>  
> The dash is causing the issue …
>  
>   dcterms:source "GeoSPARQL – "@en ;
>  
> deleting this dash solves the problem ….
>  
> Is this “a bit bigger than a normal dash” a special character not allowed in 
> an rdf/turtle string?
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <https://nextdelft.com/>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: Bohms, H.M. (Michel) 
> Sent: woensdag 27 juli 2022 11:38
> To: 'topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>'  <mailto:topbraid-users@googlegroups.com>>
> Subject: RE: [topbraid-users] geosparql issue
>  
> Yep sorry, was typo
>  
> Semicolon 108 seems fine to me.
>  
> I discovered in issue at some other plave in geosparql, see my next mail….
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  

Re: [topbraid-users] geosparql issue

2022-07-27 Thread David Price
I expect that is a special character that has to be escaped to be valid RDF 
Turtle.

See here and search for “escape” and you find:

Note
Prefixed names are a superset of XML QNames. They differ in that the local part 
of prefixed names may include:

leading digits, e.g. leg:3032571 or isbn13:9780136019701
non leading colons, e.g. og:video:height
reserved character escape sequences , 
e.g. wgs:lat\-long

Cheers,
David

> On 27 Jul 2022, at 11:57, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Holger, I know you like minimal examples 😊
>  
> The dash is causing the issue …
>  
>   dcterms:source "GeoSPARQL – "@en ;
>  
> deleting this dash solves the problem ….
>  
> Is this “a bit bigger than a normal dash” a special character not allowed in 
> an rdf/turtle string?
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: Bohms, H.M. (Michel) 
> Sent: woensdag 27 juli 2022 11:38
> To: 'topbraid-users@googlegroups.com 
> '  >
> Subject: RE: [topbraid-users] geosparql issue
>  
> Yep sorry, was typo
>  
> Semicolon 108 seems fine to me.
>  
> I discovered in issue at some other plave in geosparql, see my next mail….
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: topbraid-users@googlegroups.com 
>   > On Behalf Of Marco Neumann
> Sent: woensdag 27 juli 2022 11:24
> To: topbraid-users@googlegroups.com 
> Subject: Re: [topbraid-users] geosparql issue
>  
> which should be 
>  
> @prefix dc:  > .
>  
> and remove the last semicolon in line 108
>  
> On Wed, Jul 27, 2022 at 9:47 AM 'Bohms, H.M. (Michel)' via TopBraid Suite 
> Users  > wrote:
> Some more…
>  
> Suppose we have:
>  
> @prefix dc: http://purl.org/dc/elements/1.1/ 
>  .
> 
>  
> (having also a dot).
>  
> Wouldnt it be poss. to have an alternative shortend prefix like:
>  
> dc-short: http://purl.org/dc/ 
>  
> then resulting in dc:short:elements/1.1/
>  
> (similar like spec11:B.1.2.4 ;)
>  
> Gr michel
>  
>  
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> 
>  
>  
> From: Bohms, H.M. (Michel) 
> Sent: woensdag 27 juli 2022 09:43
> To: topbraid-users@googlegroups.com 
> Subject: RE: [topbraid-users] geosparql issue
>  
> Hi Holger,
>  
> So
>  
>   skos:example
> spec11:B.1.2.4 ;
>  
> (and all other example clauses)
>  
> are invalid? (so the dots in the name?)
>  
> The strange thing is:
> The turtle validator, http://ttl.summerofcode.be/ , says: 
> 
>  
> 
>  
> Isn’t it just a path with dots in it?
>  
> Thx michel
>  
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E

Re: [topbraid-users] Help with EDG Prefixes!

2022-07-08 Thread David Price
The zip option on the Exports tab is much better wrt prefixes and can handle a 
collection and its includes all at once.

Cheers,
David

> On 8 Jul 2022, at 06:08, Tim Smith  wrote:
> 
> 
> Hi Holger,
> 
> The file I referred to in the previous posting only imported EDG system 
> graphs so I'm confident it would not have imported additional prefixes unless 
> the export as Trig/import as Trig process somehow assigned/exposed this graph 
> to the complete set of prefixes.  
> 
> Any idea as to how I can stop this from happening?  If I pull my 7.2 
> workspace into 7.3 and export as a zip then import into an empty 7.3 
> workspace, might that remove all of the extraneous prefixes?
> 
> I don't know what else I can try as I have no way of debugging how the SPARQL 
> panel is creating the list of prefixes in 7.2 and how that relates to an 
> exported/imported Trig graph.  
> 
> Tim
>  
> 
>> On Thu, Jul 7, 2022 at 7:16 PM Holger Knublauch  
>> wrote:
>> There were two prefix-related problems in the past. One was that TDB was 
>> sharing all prefixes between all graphs but I believe this was a 
>> short-lasting glitch that we were able to work around quickly. The other 
>> remains that TriG files only store the prefixes in a single place. So if 
>> you’re importing TriG then all resulting graphs will get the union of all 
>> prefixes. We have worked around this by (recently) introducing the ability 
>> to export and import .zip files where each individual file is a Turtle file 
>> with its own prefixes.
>> 
>> All I can suggest is to walk through each owl:imported graph and their 
>> imports and check that they all only contain the minimum of prefixes. There 
>> has to be “leak” somewhere, i.e. an old file that got accidentally populated 
>> with the many prefixes, e.g. through TriG
>> 
>> Holger
>> 
>> 
>>> On 7 Jul 2022, at 7:02 pm, Tim Smith  wrote:
>>> 
>>> Hi Holger,
>>> 
>>> Thanks for the help.  I am correcting the prefixes via the Settings tab as 
>>> you mentioned.
>>> 
>>> I had considered the impact of imports, so I went to the top of the import 
>>> hierarchy which is a file that imports nothing but Default Constraints for 
>>> EDG and the GraphQL vocabulary (system includes).  This graph is one that 
>>> went through the trig export/import and shows all 200+ prefixes in the 
>>> SPARQL window.  In the settings tab, I only see the prefixes you mentioned 
>>> above, which is what I set them to earlier today.  Note that this graph 
>>> only contains 5 triples.  The turtle export of the file is pasted below.
>>> 
>>> As an additional test, I created a new ontology with no imports.  The 
>>> prefixes were the EDG defaults as expected.
>>> 
>>> For more fun, I imported the turtle file from above into the new ontology 
>>> and, as expected, the prefixes were not modified.
>>> 
>>> I am at a loss as to how the graph coming from the trig import is picking 
>>> up the prefixes if they aren't in an imported graph and they aren't in the 
>>> Settings tab.
>>> 
>>> I'll keep poking around,
>>> 
>>> Tim
>>> 
>>> # baseURI: http://ontologies.pg.com/pgontology
>>> # imports: http://datashapes.org/graphql
>>> 
>>> @base   .
>>> @prefix metadata:  .
>>> @prefix teamwork:  .
>>> @prefix owl:  .
>>> @prefix rdf:  .
>>> @prefix xsd:  .
>>> @prefix rdfs:  .
>>> 
>>> <>  owl:versionInfo  "Created with TopBraid Composer" ;
>>> metadata:status  metadata:UnderDevelopmentStatus ;
>>> owl:imports   ;
>>> rdf:type owl:Ontology ;
>>> rdfs:label   "SCHEMA_PGOntology-v1.0" .
>>> 
 On Thursday, July 7, 2022 at 3:52:49 PM UTC-4 Holger Knublauch wrote:
 
> On 7 Jul 2022, at 3:31 pm, Tim Smith  wrote:
> 
> A few weeks ago, as I shared here, I exported all graphs and imported 
> them into a fresh EDG Studio install to fix a Lucene indexing issue.  
> This caused every prefix in EDG to be assigned to every graph.  (Thanks 
> jena!)  (EDG 7.2, I know this has been addressed in 7.3)
> 
> I am still trying to recover from this disaster.  I have been slowly 
> going through each graph, changing the prefixes to the the correct set. 
 
 I assume this was done through the Settings > Namespaces and Prefixes 
 feature (which is the right place)?
 
> I have also ensured the EDG-wide defaults are correct.
> 
> However, even when creating a new Data Graph, importing an N-Triples file 
>  (no prefixes!), ensuring that only the correct prefixes are in Settings, 
> I am still seeing the incorrect prefixes on forms, in the source code 
> panel, in the SPARQL panel, etc...
> 
> Looking at the Source Code and SPARQL panels and 

Re: [topbraid-users] Some questions about EDG Studio vs. TBC-ME

2022-06-29 Thread David Price


> On 29 Jun 2022, at 15:51, Steve Ray  wrote:
> 
> Thanks, David! Very helpful. 
> The Inferences Panel really helps. Not quite as intuitive as the purple 
> highlights in TBC-ME, but workable.
> 
> The only thing that isn't working now is within the EDG Diagram, when I am 
> displaying an *instance*, to ask it to draw all the associated *instances*. 
> The only way I can get close is by manually dragging each associated instance 
> from the Form panel into the EDG Diagram. (Choosing "Include inherited 
> properties" seems to affect the way classes are displayed, but not 
> instances). Am I missing something?
> 

I actually don’t use this much, so suggested looking at the user guide:

https://www.topquadrant.com/doc/7.3/user_guide/working_with_asset_collections/index.html#using-edg-diagrams
 
<https://www.topquadrant.com/doc/7.3/user_guide/working_with_asset_collections/index.html#using-edg-diagrams>

there is a Expand Node/Show Neighborhood which loads things the instance 
references though.

Cheers,
David

> Steve
> 
> 
> 
> 
> On Wed, Jun 29, 2022 at 9:57 AM David Price  <mailto:dpr...@topquadrant.com>> wrote:
> Hi Steve,
> 
>> On 29 Jun 2022, at 14:39, Steve Ray > <mailto:st...@steveray.com>> wrote:
>> 
>> Hi,
>> I'm gingerly testing out moving over to EDG Studio, and am having trouble 
>> recreating some of the things I used to do in TBC-ME. Are they possible in 
>> Studio, and if so, how?
>> 
>> 1. Run the SHACL reasoner iteratively until no new triples are generated. 
>> (The only way I have found to do this is to repeatedly press the "Execute 
>> rules" button myself. Ouch)
> 
> Use gear drop-down in Inferences Panel. Same as TBC.,
> 
>> 
>> 2. Run the SHACL reasoner but not assert the results. I really liked the 
>> "purple display" of the inferred triples in TBC-ME, which made it simple for 
>> me to see what I had created vs. what was inferred. Is there some 
>> alternative way to distinguish the two in Studio?
> 
> This is how Inferences Panel works now. Then use ! to assert them. Transform 
> can also run rules and auto-asserts but then lets you roll back.
> 
>> 
>> 3. Anything approximating the "Graph" view for instances.
> 
> Show EDG Diagram from Explore menu.
> 
> Cheers,
> David
> 
>> 
>> Thanks!
>> 
>> Steve
>> 
>> 
>> 
>> -- 
>> 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 
>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/CAGUep86CKrorYwmtqtr2UA5R2yT8URba7WGpU3CsCME3d8Sg0w%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/CAGUep86CKrorYwmtqtr2UA5R2yT8URba7WGpU3CsCME3d8Sg0w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/D151DBE3-6D7C-4BDB-B2A7-E2BE834FBA4B%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/D151DBE3-6D7C-4BDB-B2A7-E2BE834FBA4B%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAGUep86_TEns40YeimO74wAU6Y0KBO%2Bi6EJfekxnRcdrwPKtrg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/CAGUep86_TEns40YeimO74wAU6Y0KBO%2Bi6EJfekxnRcdrwPKtrg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/D62C0018-2500-43E1-B0BC-5789C61D552C%40topquadrant.com.


Re: [topbraid-users] Some questions about EDG Studio vs. TBC-ME

2022-06-29 Thread David Price
Hi Steve,

> On 29 Jun 2022, at 14:39, Steve Ray  wrote:
> 
> Hi,
> I'm gingerly testing out moving over to EDG Studio, and am having trouble 
> recreating some of the things I used to do in TBC-ME. Are they possible in 
> Studio, and if so, how?
> 
> 1. Run the SHACL reasoner iteratively until no new triples are generated. 
> (The only way I have found to do this is to repeatedly press the "Execute 
> rules" button myself. Ouch)

Use gear drop-down in Inferences Panel. Same as TBC.,

> 
> 2. Run the SHACL reasoner but not assert the results. I really liked the 
> "purple display" of the inferred triples in TBC-ME, which made it simple for 
> me to see what I had created vs. what was inferred. Is there some alternative 
> way to distinguish the two in Studio?

This is how Inferences Panel works now. Then use ! to assert them. Transform 
can also run rules and auto-asserts but then lets you roll back.

> 
> 3. Anything approximating the "Graph" view for instances.

Show EDG Diagram from Explore menu.

Cheers,
David

> 
> Thanks!
> 
> Steve
> 
> 
> 
> -- 
> 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/CAGUep86CKrorYwmtqtr2UA5R2yT8URba7WGpU3CsCME3d8Sg0w%40mail.gmail.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/D151DBE3-6D7C-4BDB-B2A7-E2BE834FBA4B%40topquadrant.com.


Re: [topbraid-users] Customize turtle file generation for persistence in git repository

2022-05-26 Thread David Price
Hi,

Forgot to mention that in Settings in each collection there is this:

External Graph URI
The external graph URI is an optional alias for the asset collection 
identifier, used when exporting an asset collection as serialized RDF graph. It 
can also be used on import of interconnected RDF files when they are loaded 
into different asset collections - to appropriately re-route their owl:imports 
references.


Cheers,
David



> On 26 May 2022, at 12:06, Kai Liu  wrote:
> 
> Hi,
> 
> I have now a requirement to automatically add "owl:imports" lines for all 
> turtle file persisted in git repository. For example:
> 
> The asset colletion "a" includes the asset collection "b", and the resulting 
> a.ttl in the git repository has the following triple:
> 
>  owl:imports .
> 
> I'd like to add an additional triple automatically:
> 
>  owl:imports .
> 
> This should be done for all included asset collections. Could you please 
> suggest me how to do that? What script should be adapted and how? Thanks.
> 
> Regards, Kai
> 
> 
> 
> 
> -- 
> 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/18111a21-b9db-4574-8f62-053fc36d83ben%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/E7E3DBE1-4BCB-41CF-8019-7730C990D038%40topquadrant.com.


Re: [topbraid-users] Customize turtle file generation for persistence in git repository

2022-05-26 Thread David Price
Hi,

Both the domain and the range of owl:imports are supposed to be named graph 
URIs (technically “ontology documents” in the OWL2 spec), not file names in a 
filesystem. 

See 

https://www.w3.org/TR/owl2-syntax/#Imports 


where is says:

The IRIs identifying the ontology documents of the directly imported ontologies 
can be redirected as described in Section 3.2 
. For example, in order 
to access the above mentioned ontology document from a local cache, the IRI 
 might be redirected to 
. Note that this can be done 
without changing the ontology document of the importing ontology. 

So basically, you’re “perverting” what owl:imports is supposed to do but 
nothing to stop you doing it I guess.

There is a checkbox to “Include inferred statements from SHACL rules” in Export 
to RDF so I guess if you can write rules to generate the triple you want it 
would be added to the TTL file when saved. BTW if you bring that back into EDG 
it will complain about the missing import but will let the import work, you’d 
just need to go clean up the Includes.

Cheers,
David

> On 26 May 2022, at 12:06, Kai Liu  wrote:
> 
> Hi,
> 
> I have now a requirement to automatically add "owl:imports" lines for all 
> turtle file persisted in git repository. For example:
> 
> The asset colletion "a" includes the asset collection "b", and the resulting 
> a.ttl in the git repository has the following triple:
> 
>  owl:imports .
> 
> I'd like to add an additional triple automatically:
> 
>  owl:imports .
> 
> This should be done for all included asset collections. Could you please 
> suggest me how to do that? What script should be adapted and how? Thanks.
> 
> Regards, Kai
> 
> 
> 
> 
> -- 
> 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/18111a21-b9db-4574-8f62-053fc36d83ben%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/8BEA158E-5CA2-4E59-B98E-4948DC5C70E3%40topquadrant.com.


Re: [topbraid-users] Inference rule to generate a relationship between two instances

2022-05-18 Thread David Price
Please see examples in the following spec of how to use SPARQL CONSTRUCT for 
the most general case of how to infer any triples. There are also built-in 
SHACL features you might use.

https://w3c.github.io/shacl/shacl-af/#rules-examples

Cheers,
David 

> On 18 May 2022, at 10:31, Kai Liu  wrote:
> 
> I have two classes ClassA and ClassB, with each having an ID attribute. 
> ClassA has an additional relationship hasB, which should point to an instance 
> of ClassB, only if the IDs of both instances are equal. Is it possible to 
> define a SHACL inference rule to auto-generate this relationship? The 
> pseudo-code is as follows:
> 
> Input:
> InstanceA a ClassA.
> InstanceA :id "1234".
> InstanceB a ClassB.
> InstanceB :id "1234".
> 
> Expected output:
> InstanceA :hasB InstanceB.
> 
> Any suggestions are much appreciated. Thanks.
> 
> 
> 
> -- 
> 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/eca2320e-9089-491a-8774-1c7348a72434n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/7F076030-5792-4A15-9FB0-A045B2C4671C%40topquadrant.com.


Re: [topbraid-users] Validate the instances of subclasses in the property shape

2022-04-08 Thread David Price
I’m not sure what exactly is happening in your case and did not test anything, 
but SHACL and the TB SHACL engine understands class hierarchies just fine.

Perhaps you simply need to also declare the classes as being owl:Class?  Not 
all NodeShapes are also owl:Class, but in your case it appears they are.

Cheers,
David

> On 8 Apr 2022, at 16:16, Kai Liu  wrote:
> 
> Assume that we have the following shapes:
> ==
> ex:Person
>   a owl:Thing ;
>   a sh:NodeShape ;
>   sh:property ex:Person-hasFriend  ;
> .
> ex:Person-hasFriend
>   a sh:PropertyShape ;
>   sh:path ex:hasFriend ;
>   sh:class ex:Person ;
> .
> ex:NicePerson
>   a sh:NodeShape ;
>   rdfs:subClassOf ex:Person ;
> .
> ==
> and the following instance data:
> ==
> ex:Alice a ex:NicePerson .
> ex:Peter a ex:NicePerson .
> ex:Peter ex:hasFriend ex:Alice .
> ==
> 
> The validation for the above instance data will fail, because ex:Alice is 
> explicitly a ex:NicePerson instead of a ex:Person. However, ex:Alice is 
> indeed implicitly a ex:Person (RDFS inference). Is there a solution to define 
> a superclass in a property shape in order to validate the instances of its 
> subclasses? The reason why I am asking is that we currently have to list all 
> of the subclasses with "sh:or" in a property shape, in order to pass the 
> validation, which is very tedious.
> 
> Thanks.
> 
> Best regards, Kai
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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/ee7b968b-8a35-4484-b591-59027adde585n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/1CB778FD-21A2-4250-AEC1-C5B81862E816%40topquadrant.com.


Re: [topbraid-users] RDF/XML output differs between sparqlmotion and tbl/sparql

2022-04-07 Thread David Price
Perhaps you could use Jena command line tool to copy to your preferred 
encoding. I think the tool is called riot.

I think NT would export fastest and then you could re-encode as rdfxml. Not 
great with huge files but might be ok otherwise.

Cheers,
David

> On 7 Apr 2022, at 20:01, 'Richard Nagelmaeker' via TopBraid Suite Users 
>  wrote:
> 
> Hi,
> 
> I'm still looking for a fitting solution. One is to use the SPARQL RESULT 
> XML, as the output for a CONSTRUCT query. And transform it to RDF/XML. An 
> other one is to use tbl/service:
> Below an example URL: Where 'historie' is the name of a graph.
> http://localhost:8099/tbl/service/historie/!/exportToRDF/rdfxml
> Though it only returns the requested graph. Is there a way to get all imports 
> included (graphWithImports) using this service method?
> 
> Thank you and regards,
> 
> Richard
> 
>> On Monday, April 4, 2022 at 4:29:18 PM UTC+2 Richard Nagelmaeker wrote:
>> Hi Holger,
>> 
>> Thank you for the extensive response. 
>> 
>> I'll go with your ADS suggestion:
>> If you need to continue to use external XSLT, the SPARQL endpoint itself is 
>> NOT an option either, because if you run a CONSTRUCT there it can only 
>> produce abbreviated RDF/XML. However, you could use this SPARQL function
>> 
>> BIND 
>> (()
>>  AS ?s)
>> 
>> btw. I'm well aware of the RDF/XML position in the Linked Data community. 
>> But from a short- and long term cost perspective it's probably still the 
>> best there is. About turtle, my recent opinion is, that it's actually too 
>> good. It's so easy to read, people accept it as an end result. While it's 
>> actually a data format and as is true for all data formats, it's meant to 
>> transfer data between machines. 
>> 
>> If you look at it from that perspective, I think the toolset for turtle is 
>> limited and turtle itself is not extensible.
>> 
>> This is why I prefer XML over Turtle.
>> 
>> Kind regards.
>> 
>> Richard
>>> On Wednesday, March 30, 2022 at 1:20:13 AM UTC+2 Holger Knublauch wrote:
>>> Hi Richard,
>>> 
>>> the Jena API that we use under the hood has two dialects of RDF/XML syntax. 
>>> One is called "RDF/XML Abbrev" and uses a less predictable, but more 
>>> readable format, while the plain RDF/XML uses rdf:Descriptions that are 
>>> more regular and thus attractive for XSLT. As you have found out, the 
>>> SPARQLMotion servlet was only supporting the plain RDF/XML syntax.
>>> 
>>> Side note: The variations of syntax have been a major reason why RDF/XML 
>>> has long become very unpopular for many users. In the early days RDF/XML 
>>> was the only syntax for RDF and this backfired to the RDF data model as a 
>>> general graph data representation mechanism. Many people have therefore 
>>> moved to Turtle syntax.
>>> 
>>> One strategy to solve whatever you have to solve is to move the processing 
>>> into the TopBraid server itself. For example, instead of having an external 
>>> XSL processor work on the results of the SM calls, you could write a 
>>> JavaScript or SWP script that operates on the graph itself, regardless of 
>>> the syntax, and then produces exactly the output that you really want. Many 
>>> TopBraid users seem to be quite content with JavaScript/ADS, see 
>>> https://www.topquadrant.com/doc/7.2/scripting/index.html but if your XSLT 
>>> is producing HTML you may also use SWP directly.
>>> 
>>> If you need to continue to use external XSLT, the SPARQL endpoint itself is 
>>> NOT an option either, because if you run a CONSTRUCT there it can only 
>>> produce abbreviated RDF/XML. However, you could use this SPARQL function
>>> 
>>> BIND 
>>> (()
>>>  AS ?s)
>>> 
>>> to produce an RDF/XML string, which you could then return either from an 
>>> SWP script or an ADS/JavaScript service. In SWP it would mean to first 
>>> collect all relevant triples into ui:tempGraph using ui:update, and then do 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> I am not sure what other technical background you have and whether these 
>>> pointers are enough, so feel free to follow-up.
>>> 
>>> Holger
>>> 
>>> 
>>> 
>>> On 2022-03-30 2:24 am, 'Richard Nagelmaeker' via TopBraid Suite Users wrote:
 Hi all,
 
 In EDG 6.4 we used sparqlmotion to retrieve RDF/XML and process this using 
 some XSLT scripts.
 
 Now we are using EDG 7.1.2 the sparqlmotion option is gone. So we access 
 the sparql end-point directly. (tbl/sparql). Using application/rdf+xml in 
 the accept header and posting a construct query. The RDF/XML produced has 
 a different syntax form the one produced through sparqlmotion.
 
 I used the Sparql end-point on EDG 6.4.3 as well, this gave the same 
 result als EDG 7.1.2. So my assumption is that the difference stems from 
 settings for sparqlmotion.
 
 The RD

Re: [topbraid-users] owl2shacl

2022-03-30 Thread David Price
FYI it’s not hard to extend the OWL2SHACL capability to handle more complex 
cases.

See 
https://www.topquadrant.com/doc/7.2/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/shacl_enablement.html
 


Cheers,
David

> On 30 Mar 2022, at 14:11, Jan Voskuil  wrote:
> 
> Hi,
> We intend to convert an RDFS/OWL ontology to a shape file and, from then on, 
> work with SHACL.
> So, we are very happy with the conversion functionality.
> It appears that unions of datatype ranges are not converted. Thus,
>  
> x:someProperty
>   rdf:type owl:DatatypeProperty ;
>   rdfs:domain x:Domain ;
>   rdfs:range [
>   rdf:type owl:Class ;
>   owl:unionOf (
>   xsd:date
>   xsd:gYearMonth
>   xsd:gYear
> ) ;
> ] ;
> .
>  
> Results in:
>  
> x:Domain-someProperty
>   rdf:type sh:PropertyShape ;
>   sh:path x:someProperty ;
> .
>  
> With no range indicated. Unions that are the value of rdfs:domain are 
> converted correctly. Best regards, -Jan
>  
>  
> Jan Voskuil | CEO Taxonic | Ontologist
> Veldzigt 2, 3454 PW, De Meern, The Netherlands
> T +31 (0)88 829 66 00 | M:+31 (0)6 14488335
> jan.vosk...@taxonic.com  | www.taxonic.com 
> 
> Registered office in Den Haag, The Netherlands
> Registration Number Chamber of Commerce: 54529190
>  
>  
> 
> -- 
> 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/AM0PR03MB37455EFCF930C93E291E3E6EE91F9%40AM0PR03MB3745.eurprd03.prod.outlook.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/6A4932F1-81D3-444C-BBB9-988A91B66BE1%40topquadrant.com.


Re: [topbraid-users] spreadsheet import issue in tbc

2022-03-08 Thread David Price
I don’t think anyone in TQ has used this in years, so doubt anyone can offer 
advice.

I have used the Semantic Spreadsheet approach where the Excel content is 
visible as triples and then you can process them using SPARQL/SPIN/SHACL rules, 
so guess I’d recommend trying that.

Cheers,
David

> On 8 Mar 2022, at 21:00, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Finally I see the special character replacement is not as expected:
>  
> https://w3id.org/rekkeninput#_14-06-2021T14:_41:_27.210 
> 
>   rdf:type ri:Meting ;
>   ri:out_1 "-34.64"^^xsd:double ;
>   ri:out_10 "-15.99"^^xsd:double ;
>   ri:out_11 "-0.94"^^xsd:double ;
>  
> so the : are not replaced by _ but just a _ is added …..
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  
> From: 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> Sent: dinsdag 8 maart 2022 21:57
> To: topbraid-users@googlegroups.com 
> Subject: [topbraid-users] RE: spreadsheet import issue in tbc
>  
> I did see in the help info:
>  
> “In this case, the first column is not shown in the preview, because it 
> contains the subjects”.
>  
> So to get the first column also in the attribute data should I duplicate the 
> first column as a new first  say “id”?
>  
> That is not a simple operation for a large existing tab-delimited text 
> file….(without going into excel first).
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  
> From: 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> Sent: dinsdag 8 maart 2022 21:46
> To: topbraid-users@googlegroups.com 
> Subject: [topbraid-users] spreadsheet import issue in tbc
>  
> I have a tab-delimted file with content like:
>  
> Time out_1out_2   out_3out_4out_5out_6out_7   out_8   
>out_9out_10 out_11 out_12 out_13 out_14 out_15 out_16  
> out_17 out_18 out_19 out_20 out_21
> 14-06-2021T14:41:26.000   -0.00 -0.00 -0.00 -0.00 
> -0.00 -0.00  -0.00 -0.00 -0.00 -0.00 -0.00 -0.00  
>-0.00 -0.00 0.00  0.00  -0.00 -0.00 -0.00  
>-0.00 -0.00
> 14-06-2021T14:41:26.010   -0.21 -0.26 -0.07 -0. ………..
>  
> When I import the file (using tablimited spreadsheet import), the Time first 
> column is skipped.
>  
> This can already be seen in the preview:
> 
>  
> Since the dates have special characters (“:”) I did tick the box “replace 
> special characters by _ “.
>  
> The actual property Time is in the ontology as:
>  
> ri:Time
>   rdf:type owl:DatatypeProperty ;
>   rdfs:domain ri:Meting ;
>   rdfs:label "Time" ;
>   rdfs:range xsd:string ;
> .
>  
> In the next figure I replace the proposed Time for the class into ri:Meting.
> The instances and other attributes map fine, except Time.
>  
> Any tip very much appreciated!
>  
> Michel
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  

Re: [topbraid-users] uri-generation issue shacl/sparql

2022-03-02 Thread David Price
It is almost always that CONCAT needs strings and something provided is not a 
string, so if not the one I suggested then check the other variables. You may 
need to BIND them outside the CONCAT so you can see their datatype.

Cheers,
David

> On 2 Mar 2022, at 17:12, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> ?time is already string…
>  
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: woensdag 2 maart 2022 17:40
> To: 'Felix Sasaki' via TopBraid Suite Users  <mailto:topbraid-users@googlegroups.com>>
> Subject: Re: [topbraid-users] uri-generation issue shacl/sparql
>  
> Likely you need to cast ?time to be xsd:string. CONCAT requires strings.
>  
>  
> 
>  
> Cheers,
> David
> 
> 
> On 2 Mar 2022, at 15:36, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Why no Meting_1 result executing:
>  
> 
>  
> When I delete the 3rd part I get (it right):
>  
> 
>  
> So do I miss some function for the 3rd component?
>  
> Thx Michel
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>  
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  
>  
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/f65be9895ec9475c8954b836115c84fc%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/f65be9895ec9475c8954b836115c84fc%40tno.nl?utm_medium=email&utm_source=footer>.
>  
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/1550320D-904F-47E4-B814-268A8A581E74%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/1550320D-904F-47E4-B814-268A8A581E74%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/ceda33e7debd4068a325a837be1c204c%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/ceda33e7debd4068a325a837be1c204c%40tno.nl?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/2A404EE1-30E1-4EA1-97D0-994973075D32%40topquadrant.com.


Re: [topbraid-users] uri-generation issue shacl/sparql

2022-03-02 Thread David Price
Likely you need to cast ?time to be xsd:string. CONCAT requires strings.




Cheers,
David

> On 2 Mar 2022, at 15:36, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Why no Meting_1 result executing:
>  
> 
>  
> When I delete the 3rd part I get (it right):
>  
> 
>  
> So do I miss some function for the 3rd component?
>  
> Thx Michel
>  
>  
> Michel Böhms
> Data Scientist
> Unit Buildings, Infrastructure & Maritime
> 
> Mobile +31 630381220
> E-mail  michel.bo...@tno.nl   
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  
>  
> 
> -- 
> 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/f65be9895ec9475c8954b836115c84fc%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/1550320D-904F-47E4-B814-268A8A581E74%40topquadrant.com.


Re: [topbraid-users] Multiple working copies in EDG 7.0 - no conflict resolution?

2022-02-22 Thread David Price


> On 22 Feb 2022, at 17:32, Tim Smith  wrote:
> 
> Hi David,
> 
> A few thoughts below.
> 
> On Tue, Feb 22, 2022 at 9:57 AM David Price  <mailto:dpr...@topquadrant.com>> wrote:
> Hi Tim,
> 
> A few further opinions below.
> 
>> On 22 Feb 2022, at 13:41, Tim Smith > <mailto:smith.ts...@gmail.com>> wrote:
>> 
>> Hi David,
>> 
>> Thank you for the clarification.  My impression of TeamWorks was different.  
>> This feels like "open loop control" of a closed loop process given that one 
>> workflow can overwrite another unless strict human processes are followed.  
>> My use case requires branching and versioning with "github-like" 
>> functionality where multiple people/roles can edit the same graph with 
>> conflicting edits reconciled at commit time. 
> 
> IMO thinking of ontologies as software artefacts is a good approach. However, 
> assuming that ontologies (RDF graphs), can be versioned and diff'ed using the 
> same approach as say Java source code (sequences of lines of text) does not 
> seem to me like a good way to start. In RDF-land, even ontologies are 
> actually data. The defiition of “conflicting edits” is also a big one as 
> things that conflict in RDF-land can be completely unrelated as far as a 
> normal diff tool is concerned.
> 
> 
> I was definitely not thinking of diff as in a textual difference operation.  
> My reference to Github was intended to be an analogy not a literal 
> interpretation.  I believe the concepts of branching, diff'ing and merging 
> apply both to code and graphs with the implementation being wildly different. 
>  Comparing graphs at the triple level, including handling b-nodes properly 
> was what I was thinking, thus my reference to the TBC Diff engine. 
> 
>  
>> We have a need to have versions of both ontologies and instance data with 
>> compatible versions linked together.
> 
> Of course, everyone has that requirement who’s ever used an ontology at all. 
> However, a tool cannot do all the heavy lifting. For example, if your 
> ontology changes to make existing data invalid then some sort of data 
> migration/transformation is needed. 
> 
> The simple addition of " sh:minCount 1” in a SHACL property shape  can 
> make millions of data instances invalid and no diff tool will find that.
> 
> Only good business processes outside anything in EDG, or any other tool, can 
> properly support this in the general case.
> 
> 
> I wasn't thinking of a tool to manage the transformation of instance data 
> from one ontology to another.  I agree, that would be a real challenge.  I 
> was thinking of simply ensuring an instance graph can know what version of an 
> ontology it was populating.  This requires defining versions of ontologies 
> beyond putting a "v" in the name of the ontology graph..  This could be 
> inferred from the import statements or a specific predicate could be used to 
> point to the defining ontology.  While I'm not looking for this capability 
> here, I am a fan of using a transformation ontology to define the 
> transformations and a SPARQL/SPIN/SHACL engine to execute them.  I have built 
> such an ontology and have used it successfully a number of times.  I believe 
> this was also the strategy behind the Spinmap Mapping technology in TBC.
>  
>> 
>> Since all edits can be controlled through EDG (vs Git where the individual 
>> changes have to be detected and reconciled), maybe an extension of the TBC 
>> Diff engine might help here?
> 
> As I mentioned, in a working copy you are not actually changing a graph. A 
> working copy is a layer of changes (literally additions and deletions) to be 
> applied over the production copy that the UI make look like normal triples 
> when viewing thru the lense that is the working copy. That said, we are 
> looking at potential improvements.
> 
> 
> I understand.  Fundamentally, I think of a "working copy" as originating from 
> the production graph at a specific point in time (i.e. a "branch" in the 
> version tree), even if the graph isn't duplicated.

No, that’s not how it works. Any changes that happen within the production copy 
after the working copy is created become visible in the working copy too. 

That’s one of the reasons why I suggest that this topic really does require a 
change in mindset. A working copy is *not* a branch. The major, major 
difference is that git branches a whole repo which might contain a set of 
related files in multiple folders. Working copies do nothing like that today. 
We have done some work on multi-graph working copies but it’s not in the 
product yet and we’re exploring what makes sen

Re: [topbraid-users] Multiple working copies in EDG 7.0 - no conflict resolution?

2022-02-22 Thread David Price
Hi Tim,

A few further opinions below.

> On 22 Feb 2022, at 13:41, Tim Smith  wrote:
> 
> Hi David,
> 
> Thank you for the clarification.  My impression of TeamWorks was different.  
> This feels like "open loop control" of a closed loop process given that one 
> workflow can overwrite another unless strict human processes are followed.  
> My use case requires branching and versioning with "github-like" 
> functionality where multiple people/roles can edit the same graph with 
> conflicting edits reconciled at commit time. 

IMO thinking of ontologies as software artefacts is a good approach. However, 
assuming that ontologies (RDF graphs), can be versioned and diff'ed using the 
same approach as say Java source code (sequences of lines of text) does not 
seem to me like a good way to start. In RDF-land, even ontologies are actually 
data. The defiition of “conflicting edits” is also a big one as things that 
conflict in RDF-land can be completely unrelated as far as a normal diff tool 
is concerned.

> We have a need to have versions of both ontologies and instance data with 
> compatible versions linked together.

Of course, everyone has that requirement who’s ever used an ontology at all. 
However, a tool cannot do all the heavy lifting. For example, if your ontology 
changes to make existing data invalid then some sort of data 
migration/transformation is needed. 

The simple addition of " sh:minCount 1” in a SHACL property shape  can make 
millions of data instances invalid and no diff tool will find that.

Only good business processes outside anything in EDG, or any other tool, can 
properly support this in the general case.

> 
> Since all edits can be controlled through EDG (vs Git where the individual 
> changes have to be detected and reconciled), maybe an extension of the TBC 
> Diff engine might help here?

As I mentioned, in a working copy you are not actually changing a graph. A 
working copy is a layer of changes (literally additions and deletions) to be 
applied over the production copy that the UI make look like normal triples when 
viewing thru the lense that is the working copy. That said, we are looking at 
potential improvements.

> 
> Anyway, I was hoping to use versioning/diff reconciliation to help justify 
> the cost of EDG.  I do not have a TSM at the moment.  What is the best way to 
> submit a feature request?

I’ll talk to you off forum.

Cheers,
David

> 
> Thanks,
> 
> Tim
> 
> On Mon, Feb 21, 2022 at 4:19 AM David Price  <mailto:dpr...@topquadrant.com>> wrote:
> A working copy cannot “see” another in EDG. The word “copy” is misleading in 
> that it is not a copy at all but is a set of changes to be applied. The UI 
> makes the changes appear as real triples but they are not. So, not really 
> comparable to git at all. 
> 
> Customers today handle this kind of issue by being reviewers or editors on 
> both workflows and by business process management of work tasks (eg daily 
> scrums and using chat tools).
> 
> There is work on this topic for the future so if you have detailed use case 
> you can share it would be great to submit a feature request thru Support so 
> it can be considered as part of that effort.
> 
> Cheers,
> David
> 
>> On 18 Feb 2022, at 20:51, Tim Smith > <mailto:smith.ts...@gmail.com>> wrote:
>> 
>> 
>> Hi,
>> 
>> I am exploring the robustness of change management within the EDG working 
>> copy process.  
>> 
>> When I open two workflows at the same time from the same production graph 
>> and make changes that are intended to conflict, I don't see any conflict 
>> detection or resolution.
>> 
>> For example:
>> In WF #1, I delete instance :inst1.  
>> In WF #2, I add the triple {:inst1 :getsDataFrom :inst2.}
>> 
>> I commit WF #1 first, deleting :inst1 and removing all triples about :inst1.
>> 
>> When I commit WF #2, the {:inst1 :getsDataFrom inst2 } triple is added but 
>> is essentially a "hanging" triple because everything else about :inst1 has 
>> been deleted by WF #1.
>> 
>> I was thinking that WF #2 would check to see if the production graph had 
>> been changed and surface all the changes between the WF #2 working copy and 
>> the current production graph, not the production graph WF #2 originated from.
>> 
>> I also noticed that after committing WF #1, when I ran the "See 
>> Changes/Comparison Report" in WF #2, the full URL for :inst1 was displayed 
>> instead of the label indicating that this report is "sort of" running 
>> against the new production graph created by committing WF #1 (i.e. the 
>> :inst1 rdfs:label triple is gone).  HOWEVE

Re: [topbraid-users] Multiple working copies in EDG 7.0 - no conflict resolution?

2022-02-21 Thread David Price
A working copy cannot “see” another in EDG. The word “copy” is misleading in 
that it is not a copy at all but is a set of changes to be applied. The UI 
makes the changes appear as real triples but they are not. So, not really 
comparable to git at all. 

Customers today handle this kind of issue by being reviewers or editors on both 
workflows and by business process management of work tasks (eg daily scrums and 
using chat tools).

There is work on this topic for the future so if you have detailed use case you 
can share it would be great to submit a feature request thru Support so it can 
be considered as part of that effort.

Cheers,
David

> On 18 Feb 2022, at 20:51, Tim Smith  wrote:
> 
> 
> Hi,
> 
> I am exploring the robustness of change management within the EDG working 
> copy process.  
> 
> When I open two workflows at the same time from the same production graph and 
> make changes that are intended to conflict, I don't see any conflict 
> detection or resolution.
> 
> For example:
> In WF #1, I delete instance :inst1.  
> In WF #2, I add the triple {:inst1 :getsDataFrom :inst2.}
> 
> I commit WF #1 first, deleting :inst1 and removing all triples about :inst1.
> 
> When I commit WF #2, the {:inst1 :getsDataFrom inst2 } triple is added but is 
> essentially a "hanging" triple because everything else about :inst1 has been 
> deleted by WF #1.
> 
> I was thinking that WF #2 would check to see if the production graph had been 
> changed and surface all the changes between the WF #2 working copy and the 
> current production graph, not the production graph WF #2 originated from.
> 
> I also noticed that after committing WF #1, when I ran the "See 
> Changes/Comparison Report" in WF #2, the full URL for :inst1 was displayed 
> instead of the label indicating that this report is "sort of" running against 
> the new production graph created by committing WF #1 (i.e. the :inst1 
> rdfs:label triple is gone).  HOWEVER, I see the new triple as the only change 
> even though other changes have occured to the production graph via WF #1.
> 
> Is my understanding of how EDG handles simultaneous workflows correct?  If 
> so, should multiple working copies be permitted?  Can this process be changed 
> so conflicts can be detected and resolved between multiple working copies 
> (more like how GitHub works)
> 
> This is critical functionality to a large use case that I am exploring.
> 
> Thanks,
> 
> Tim
> 
> -- 
> 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/CAF0WbnLbWWJoc%2BE3vOAiCvLRVtNhvUvBPiEJdH32dZ1McZu0nw%40mail.gmail.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/7A145419-9C78-4C75-8144-9436E99CBDCF%40topquadrant.com.


Re: [topbraid-users] TBCM: batch mode to run semantic XML conversion

2022-02-08 Thread David Price

> On 8 Feb 2022, at 19:08, Kai Liu  wrote:
> 
> Thanks David. Can you please post some reference links about how to use ADS 
> to perform the same tasks, i.e. conversion from XSD to OWL and corressponding 
> semantic XML to RDF? 

This is not a *tool* like the Composer XSD->OWL converter, but is instead an 
alternative *approach* perhaps worth consideration wrt doing things with XML 
files. Given that ADS is JavaScript, some of the XML/XSD to JSON tooling might 
be useful in your use case.

The ADS documentation pages are here:

https://www.topquadrant.com/doc/7.1/scripting/index.html 
<https://www.topquadrant.com/doc/7.1/scripting/index.html>

Cheers,
David

> 
> Best regards, Kai
> 
> On Tuesday, 8 February 2022 at 18:36:14 UTC+1 David Price wrote:
>> On 8 Feb 2022, at 12:07, Kai Liu > > wrote:
>> 
>> I am wondering how to run XSD to OWL and semantic XML to RDF conversion in 
>> batch mode without openning TBCM GUI. 
> 
> That is not supported as far as I’m aware. There are a lot of options to 
> select/set and I imagine that’s part of the issue.
> 
>> 
>> A side question: since TBCM is discontinued, how to run XSD/XML to OWL/RDF 
>> with TopBraid Studio in the future?
>> 
> 
> Composer ME is still available - there is a 7.1 release in our downloads page 
> today. It will available as-is for the forseeable future.
> 
> FYI you might investigate ADS as a means of doing this kind of conversion.
> 
> Cheers,
> David
> 
> 
> 
>> Any suggestion is much appreciated. Thanks.
>> 
>> Kai
>> 
>> 
> 
>> -- 
>> 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/5b0f7d83-e2a8-4d28-beee-cca75fbbcf56n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/5b0f7d83-e2a8-4d28-beee-cca75fbbcf56n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> UK +44 (0) 7788 561308 
> US +1 (336) 283-0808 ‬
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/0aeb7d01-182e-451c-bb9d-800cad4e3f06n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/0aeb7d01-182e-451c-bb9d-800cad4e3f06n%40googlegroups.com?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/5FC0DB63-3F29-4423-981D-DFAB3F8F417A%40topquadrant.com.


Re: [topbraid-users] TBCM: batch mode to run semantic XML conversion

2022-02-08 Thread David Price

> On 8 Feb 2022, at 12:07, Kai Liu  wrote:
> 
> I am wondering how to run XSD to OWL and semantic XML to RDF conversion in 
> batch mode without openning TBCM GUI. 

That is not supported as far as I’m aware. There are a lot of options to 
select/set and I imagine that’s part of the issue.

> 
> A side question: since TBCM is discontinued, how to run XSD/XML to OWL/RDF 
> with TopBraid Studio in the future?
> 

Composer ME is still available - there is a 7.1 release in our downloads page 
today. It will available as-is for the forseeable future.

FYI you might investigate ADS as a means of doing this kind of conversion.

Cheers,
David


> Any suggestion is much appreciated. Thanks.
> 
> Kai
> 
> 
> -- 
> 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/5b0f7d83-e2a8-4d28-beee-cca75fbbcf56n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/2C4CBEAA-2CDB-4E1C-887D-5A5D461CF7CB%40topquadrant.com.


Re: [topbraid-users] Question on SPARQL Web Pages File(.swp)

2022-02-07 Thread David Price


> On 7 Feb 2022, at 08:57, deviredd...@gmail.com  
> wrote:
> 
> Hi Holger,
> 
> Yes, we have few SPARQL Web Pages File(.swp) files and Many RDF/SWP 
> files(.ui.ttlx). 
> 
> I understand that as of 7.1 SPARQLMotion servlet/feature has been removed and 
> also that at some stage SPARQL Web Pages File(.swp) feature will be removed. 
> Any idea on what will happen to RDF/SWP files(.ui.ttlx) in near future?
> 
> A basic question on scripting with ADS/JavaScript, can this be used as an 
> alternate to all SPARQL Web Pages Files(.swp), RDF/SWP files(.ui.ttlx) and 
> SPARQLMotion scripts(.sms.ttl)? Could you please share a simple 
> example/document on how to get started with ADS/JavaScript? 


Here’s the 7.1 online documentation Scripting with JavaScript and ADS:

https://www.topquadrant.com/doc/7.1/scripting/index.html 


which has code snippets you can try.

Cheers,
David

> 
> Thanks,
> Sanjeev
> 
> On Saturday, February 5, 2022 at 2:48:47 AM UTC+5:30 Holger Knublauch wrote:
> I don’t think so, and as of 7.1 TBC is no longer the recommended IDE for 
> developing EDG extensions and features. .swp files are not widely used and 
> may at some stage get deprecated too. I have no insights on how many 
> customers actually use them. Do you have many such files?
> 
> Moving forward, with scripting tasks, did you look at JavaScript/ADS? This is 
> our suggested long-term suggestion for many scripting tasks.
> 
> Holger
> 
> 
> 
>> On 4 Feb 2022, at 11:42 pm, deviredd...@gmail.com  
>> > > wrote:
>> 
> 
>> Hi,
>> Whenever the SPARQL Web Pages File(.swp) is changed then the 
>> Composer IDE(TopBraid Maestro Edition 7.0.3 (20210703-1923).) needs to be 
>> restarted for getting the code changes reflected. I tried the System -> 
>> Refresh TopBraid system registries (SPIN etc) option but no difference. I 
>> observed that the changes to RDF/SWP file(.ui.ttlx) reflect without any 
>> refresh/restart. So, I want to check that is there way to get the SPARQL Web 
>> Pages File(.swp) changes reflected without Composer IDE restart? 
>> 
>> Thanks,
>> Sanjeev
>> 
> 
>> -- 
>> 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/7374289d-0d1e-4a9a-a8c1-f633739fed7an%40googlegroups.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/31154592-3f40-4795-99a4-a73984604080n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/38614471-4CD5-4373-B1BA-FA3C75E97A29%40topquadrant.com.


Re: [topbraid-users] Question on SPARQL Web Pages File(.swp)

2022-02-05 Thread David Price
Hi,

Irene explained the approach and rationale in a response to this forum at
7.1 Beta release:

*As stated in the release notes, running EDG within TBC was never exactly
the same as running EDG server. Supporting this mode complicated certain
aspects of our codebase and still was not 100% the same. We decided to
simplify the code in order to provide more reliable, maintainable and
better optimized software for our customers. For example, EDG Studio does
not have any Eclipse in it and it does not use Jetty.*

*At the same time, for users who are only interested in TBC having EDG in
TBC delivered no value and, instead, created some inconveniences for them
e.g., slow start up due to the need to initialize the server.*

*So, after careful consideration we decided to separate the two tools. It
is a change and changes can take getting used to. However, we believe it is
a change for the better and we do not intend it to leave any current or
prospective customers in the dark. Functionally, the same options exists
with 7.1 and we are actually considering what else we could offer to the
community.*







*2. Some users were using it in order to explore and evaluate EDG prior to
the purchase which, as you say, requires a more significant commitment than
TBC.This need could be addressed by requesting an evaluation server
from TopQuadrant. It is true that this would be for a limited period e.g.,
a month or two. However, this approach is not unique to TQ. It is pretty
much industry standard.Beyond the beta, there is no technical reason
why we could not license TopBraid EDG Studio to users who do not have EDG.
We have not made this option available at the time of 7.1 beta because we
are still considering what would work best for our user community and for
TQ. We also are looking at other alternatives that may be better aligned
with our move towards SaaS e.g., offering a hosted “Community Edition” of
EDG that would have more limited features.In the meantime, we
appreciate users input on what they would prefer and why.*

WRT Irene's request for alternatives, preferences and suggestions going
forward, best to not think that creating a parallel EDG codebase for
Composer again is a viable option. If some of the rationale for your needs
involve projects/contracts that are not public knowledge, probably best
relay those ideas by contacting TQ staff with whom you are already familiar
directly to have a more private conversation.

Cheers,
David


On Sat, Feb 5, 2022 at 9:32 AM 'Bohms, H.M. (Michel)' via TopBraid Suite
Users  wrote:

> I very much support this comment.
> I hope TQ comes with a solution soon...
> Michel
>
>
> Op 4 feb. 2022 22:55 schreef Tim Smith :
>
> The bummer part of this product architecture change is now it is
> impossible to utilize the excellent model driven application capabilities
> that have always been a part of TBC without buying EDG server.  I like the
> EDG environment but I dont necessarily need the data governance
> capabilities (e.g  the ontologies).  Having a TBL-like version (personal
> and/or server) would suit a lot of my needs.
>
>
>
> On Fri, Feb 4, 2022, 4:18 PM Holger Knublauch 
> wrote:
>
> I don’t think so, and as of 7.1 TBC is no longer the recommended IDE for
> developing EDG extensions and features. .swp files are not widely used and
> may at some stage get deprecated too. I have no insights on how many
> customers actually use them. Do you have many such files?
>
> Moving forward, with scripting tasks, did you look at JavaScript/ADS? This
> is our suggested long-term suggestion for many scripting tasks.
>
> Holger
>
>
> On 4 Feb 2022, at 11:42 pm, deviredd...@gmail.com <
> devireddy.sanj...@gmail.com> wrote:
>
> Hi,
> Whenever the SPARQL Web Pages File(.swp) is changed then the
> Composer IDE(TopBraid Maestro Edition 7.0.3 (20210703-1923).) needs to be
> restarted for getting the code changes reflected. I tried the System ->
> Refresh TopBraid system registries (SPIN etc) option but no difference. I
> observed that the changes to RDF/SWP file(.ui.ttlx) reflect without any
> refresh/restart. So, I want to check that is there way to get the SPARQL
> Web Pages File(.swp) changes reflected without Composer IDE restart?
>
> Thanks,
> Sanjeev
>
> --
> 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/7374289d-0d1e-4a9a-a8c1-f633739fed7an%40googlegroups.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 

Re: [topbraid-users] typed as property and class?

2022-01-13 Thread David Price


> On 13 Jan 2022, at 16:52, Ben Kass  wrote:
> 
> You can pun in OWL 2 Full and DL as both a class and object property - it's 
> briefly mentioned in the documentation here at the bottom of the examples: 
> https://www.w3.org/TR/owl2-new-features/#F12:_Punning
> I know of one organization that will pun classes and datatype properties (no 
> possible in OWL DL) for convenience of modeling, but when I asked around at 
> my workplace no-one else had heard of people punning in that way, so I've 
> always assumed it's pretty uncommon and I don't think that tooling tends to 
> particularly like when you do it. That's about all I know about it. There is 
> a working draft for OWL 2 online that goes into it more 
> (http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.448.2097&rep=rep1&type=pdf)
>  but those parts seem to have been cut from the final documentation so be 
> aware of that.


Thanks for the link Ben - it does include a sensible property example, although 
including an example from UML muddies the waters a bit since AssociationClass 
built into the language already.

One clarification … AFAIK the very concept of punning is not needed when under 
an OWL 2 RDF Semantics (i.e. OWL 2 Full) because there is no need in the logic 
to treat the same URI as two separate things. I’ve seen explanations like the 
following in online training slides I found (there are from from Pascal 
Hitzler):

Punning
• Description logics impose type separation, i.e. names of individuals, 
classes, and properties must be disjoint.
• In OWL 2 Full, type separation does not apply.
• In OWL 2 DL, type separation is relaxed, but a class X and an individual X 
are interpreted semantically as if they were different.

I think all logics “beyond” DL don’t need punning as a concept at all, although 
I’m not an HOL expert.

Cheers,
David

> 
> Best,
> Ben
> 
> On Thursday, January 13, 2022 at 9:14:22 AM UTC-5 David Price wrote:
> 
>> On 13 Jan 2022, at 13:57, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>> > > wrote:
>> 
>> Background
>>  
>> In our NL standard we model quantities (‘stroefheid for some asphalt 
>> lanesection/strookvak’) like:
>>  
>> :stroefheid
>>   rdf:type owl:ObjectProperty ;
>>   rdfs:domain :Strookvak ;
>>   rdfs:range nen2660:QuantityValue ;
>>   nen2660:hasQuantityKind quantitykind:FrictionCoefficient ;
>> .
>>  
>> So they become object properties (‘relations’).
>>  
>> Especially for Measurements we want to reuse SSN/SOSA.
>>  
>> In that case we get:
>>  
>> :stroefheid
>>   rdf:type sosa:ObservervableProperty ;
>>   nen2660:hasQuantityKind quantitykind:FrictionCoefficient ;
>> .
>>  
>> Now my question, can we combine the 2 without too many issues?
>>  
>> So we get:
>>  
>> :stroefheid
>>   rdf:type owl:ObjectProperty ;
>>   rdf:type sosa:ObservableProperty ;
>>  
>> so ‘stroefheid’ becomes a property AND a class.
>>  
>> Doe this case fall under “owl punning”? (like when something is typed as 
>> individual and class).
>>  
>> Do we enter OWL full or not?
>>  
> 
> Off the top of my head so please confirm yourself by reading the OWL spec but 
> ...
> 
> I think so. Punning or metamodellng is about two levels of class (class 
> member of class) as far as I know. Spec examplese are all classes. I’ve never 
> studied/tested what you’re doing though.
> 
> Cheers,
> David
> 
> 
>> Thx ! Michel
>>  
>>  
>>  
> 
>>  
>> Dr. ir. H.M. (Michel) Bohms
>> Scientist Specialist
>> Structural Reliability
>> T +31 (0)88 866 31 07
>> M +31 (0)63 038 12 20
>> E michel...@tno.nl  
>> Location <http://www.tno.nl/locations/DTS>
>> 
>>  
> 
>>  <http://www.tno.nl/>
>> This message may contain information that is not intended for you. If you 
>> are not the addressee or if this message was sent to you by mistake, you are 
>> requested to inform the sender and delete the message. TNO accepts no 
>> liability for the content of this e-mail, for the manner in which you use it 
>> and for damage of any kind resulting from the risks inherent to the 
>> electronic transmission of messages. 
> 
>>  
>> 
>> -- 
>> 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/

Re: [topbraid-users] typed as property and class?

2022-01-13 Thread David Price


> On 13 Jan 2022, at 13:57, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Background
>  
> In our NL standard we model quantities (‘stroefheid for some asphalt 
> lanesection/strookvak’) like:
>  
> :stroefheid
>   rdf:type owl:ObjectProperty ;
>   rdfs:domain :Strookvak ;
>   rdfs:range nen2660:QuantityValue ;
>   nen2660:hasQuantityKind quantitykind:FrictionCoefficient ;
> .
>  
> So they become object properties (‘relations’).
>  
> Especially for Measurements we want to reuse SSN/SOSA.
>  
> In that case we get:
>  
> :stroefheid
>   rdf:type sosa:ObservervableProperty ;
>   nen2660:hasQuantityKind quantitykind:FrictionCoefficient ;
> .
>  
> Now my question, can we combine the 2 without too many issues?
>  
> So we get:
>  
> :stroefheid
>   rdf:type owl:ObjectProperty ;
>   rdf:type sosa:ObservableProperty ;
>  
> so ‘stroefheid’ becomes a property AND a class.
>  
> Doe this case fall under “owl punning”? (like when something is typed as 
> individual and class).
>  
> Do we enter OWL full or not?
>  

Off the top of my head so please confirm yourself by reading the OWL spec but 
...

I think so. Punning or metamodellng is about two levels of class (class member 
of class) as far as I know. Spec examplese are all classes. I’ve never 
studied/tested what you’re doing though.

Cheers,
David


> Thx ! Michel
>  
>  
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/d8bfd67d1b514465bc95bd9c6dee7376%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/CBE42F9C-3484-44BF-9BA1-69AB83477AF2%40topquadrant.com.


Re: [topbraid-users] superclass online

2021-12-23 Thread David Price
You must owl:import ontologies (ie named graphs) in TBC.

The ontology may be dereferenced, but not individual classes.

Cheers,
David

> On 23 Dec 2021, at 11:57, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> 
> I have an ontology with a class “Gebouw” that is subclassof the 
> nen2660:PhysicalObject class available online:
>  
> https://w3id.org/nen2660/def#PhysicalObject
>  
> (ie the latter is dereferenceable, or well … that is the intention).
>  
> In TBC however I do not see the superclass:
> 
>  
> 
>  
> Is that expected behaviour (ie only superclass visible when explicitly 
> imported)?
>  
> Or do I have to improve the dereferenceability somehow, ie wrt negotiation…?
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl
> Location
> 
>  
> 
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> -- 
> 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/fa21ce68043a4a6e86d6140492b7aa07%40tno.nl.

-- 
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/E129CDCA-5569-4293-A6C4-B14CF7637A48%40topquadrant.com.


Re: [topbraid-users] The Manage-Delete and Manage-Clear menu options have disappeared

2021-12-16 Thread David Price
Hi Steve,

Suggest looking in Log and see if you find anything there. I’m afraid this is 
beyond my server skills. 

Cheers,
David

> On 16 Dec 2021, at 19:27, Steve Ray  wrote:
> 
> Interesting. I logged into our server as the administrator, which always 
> worked before. Also tried with Chrome and Safari in case of caching. No dice.
> Do you think a restart of EDG would work? Or even more nuclear, a reboot of 
> our server?
> 
> I'll keep digging...
> 
> Steve
> 
> 
> 
> 
> On Thu, Dec 16, 2021 at 11:20 AM David Price  <mailto:dpr...@topquadrant.com>> wrote:
> That sounds like a permissions problem where you do not have Editor or 
> Manager privileges OR maybe you need to clear browser cache as you have a mix 
> of old and new EDG JS code running. 
> 
> Manage/Clear and Manage/Delete are still there.
> 
> There was never a Settings/Import feature so not sure what you mean with that 
> - Settings/Includes perhaps? 
> 
> Imports is a tab on its own with Import RDF File, etc.
> 
> Cheers,
> David
> 
>> On 16 Dec 2021, at 19:05, Steve Ray > <mailto:st...@steveray.com>> wrote:
>> 
>> Admittedly, it was July that I last updated one of our EDG Collections, but 
>> when I went to update it today (now using EDG 7.0.3) I no longer find the 
>> Manage-Clear menu option, which I used to use before, followed by 
>> Settings-Import to upload the latest version (also no longer present).
>> 
>> I have looked through the 7.0 documentation but clearly not in the right 
>> place, because I can't find how I'm supposed to do this now. Could you point 
>> me to the right document?
>> 
>> Thanks,
>> 
>> Steve
>> 
>> 
>> 
>> -- 
>> 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 
>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/CAGUep87oTST1i2v3vb1zejXHECHqK7kD-e3dZTw2BS7MQtrd2g%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/CAGUep87oTST1i2v3vb1zejXHECHqK7kD-e3dZTw2BS7MQtrd2g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808‬
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/992E5A34-8923-47F2-91FC-7C787828160C%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/992E5A34-8923-47F2-91FC-7C787828160C%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAGUep84eCtGBXYTk4vR%2BKORoMYtdvR%2BOrU6jJOUEWcXhcRykEg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/CAGUep84eCtGBXYTk4vR%2BKORoMYtdvR%2BOrU6jJOUEWcXhcRykEg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/620DD456-3EC0-4144-AC14-447FA01F4861%40topquadrant.com.


Re: [topbraid-users] The Manage-Delete and Manage-Clear menu options have disappeared

2021-12-16 Thread David Price
That sounds like a permissions problem where you do not have Editor or Manager 
privileges OR maybe you need to clear browser cache as you have a mix of old 
and new EDG JS code running. 

Manage/Clear and Manage/Delete are still there.

There was never a Settings/Import feature so not sure what you mean with that - 
Settings/Includes perhaps? 

Imports is a tab on its own with Import RDF File, etc.

Cheers,
David

> On 16 Dec 2021, at 19:05, Steve Ray  wrote:
> 
> Admittedly, it was July that I last updated one of our EDG Collections, but 
> when I went to update it today (now using EDG 7.0.3) I no longer find the 
> Manage-Clear menu option, which I used to use before, followed by 
> Settings-Import to upload the latest version (also no longer present).
> 
> I have looked through the 7.0 documentation but clearly not in the right 
> place, because I can't find how I'm supposed to do this now. Could you point 
> me to the right document?
> 
> Thanks,
> 
> Steve
> 
> 
> 
> -- 
> 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/CAGUep87oTST1i2v3vb1zejXHECHqK7kD-e3dZTw2BS7MQtrd2g%40mail.gmail.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/992E5A34-8923-47F2-91FC-7C787828160C%40topquadrant.com.


Re: [topbraid-users] Data Graph Customization Documentation

2021-11-30 Thread David Price
I think you’re probably looking for this:

https://doc.topquadrant.com/7.0/teamwork/#VocabularyAsset_Collection_Project_Types

Cheers,
David

> On 30 Nov 2021, at 15:04, Nicolas Fouqué  wrote:
> 
> Hi, I am trying to use the Data Graph add-on to create custom collection 
> types, but the only documentation I can find is for really small changes in 
> existing collection types.
> Is there a specific documentation for creating custom collection types from 
> Data Graph clones ?
> 
> -- 
> 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/9bd0b9b0-444e-44f9-8bf1-30012845d7c2n%40googlegroups.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/D399E7F0-BA0E-4B95-920E-371DD58CC72B%40topquadrant.com.


Re: [topbraid-users] Adding images to EDG

2021-11-05 Thread David Price
Attachments Panel

After configuring the S3 Attachments bucket and selecting the appropriate 
bucket from the Manage tab, the attachments panel will be accessible. Files can 
be added as an attachment to individual assets or the entire collection. 
Attachments will stored in the configured S3 bucket. These can be downloaded 
from the attachments panel as well. Removing them only removes them from the 
panel, not from S3. 


That’s from the EDG User Guide. 

Also, if an image is available as a URI from anywhere that is dereferenceable, 
set that URI as a property value and EDG can show the image.

Cheers,
David

> On 5 Nov 2021, at 17:44, Tim Smith  wrote:
> 
> Hi,
> 
> Is there an out of the box way to add an image or screenshot to an instance 
> in EDG?  i.e. a user wants to add a :relatedImage to an instance, sometimes 
> by uploading a file, sometimes by pasting in a screenshot. 
> 
> Thanks,
> 
> Tim
> 
> -- 
> 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/CAF0Wbn%2BpraLdgS7SKXPxd764KqmwO9ukeX-aGdb%2B06BZe0hs_Q%40mail.gmail.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/88A76265-64CC-46DB-9D77-7BF17E65CF58%40topquadrant.com.


Re: [topbraid-users] Create assets to display my mappings

2021-11-04 Thread David Price
To have any “data” in EDG there must be an ontology/shapes providing the data 
model. The EDG UI is model-driven.

In your example, there is clearly a class called “Alignment” and one called 
“Cell”, each with properties. Searching for EDOAL finds a page 

http://ns.inria.org/edoal/1.0/

that says there is a dereferencable vocabulary available from which it seems 
you could start. Maybe someone else has already made “OWL” of this? If not, 
then I imagine you’ll just have to spend the time doing it yourself.

Cheers,
David

> On 4 Nov 2021, at 10:22, tayeb merabti  wrote:
> 
> But how I can customize or create a new asset for this kind of mapping file 
> (EDOAL), it's a know format used to express mapping (exact, broader, 
> narrower) between ontologies, but since it not include owl class I can't 
> displayed it on my edge?
> 
> 
> 
> ---
> Tayeb Merabti,
> Project manager,
> Agence du numérique de santé
> About me <http://tmerabti.me/>
> 
> 
> 
> 
> Le jeu. 4 nov. 2021 à 11:07, David Price  <mailto:dpr...@topquadrant.com>> a écrit :
> There’s a link to an old getting started guide and a few videos on this page:
> 
> https://www.topquadrant.com/products/topbraid-composer/ 
> <https://www.topquadrant.com/products/topbraid-composer/>
> 
> Cheers,
> David
> 
>> On 4 Nov 2021, at 10:01, bostoM > <mailto:tayeb.mera...@gmail.com>> wrote:
>> 
>> Hi all,
>> 
>>   I need to import my mapping file to topBraid. Nevertheless, there is no 
>> "owl:class" in my rdf mapping file but only "rdf:resources" :
>> 
>> 
>> http://knowledgeweb.semanticweb.org/heterogeneity/alignment 
>> <http://knowledgeweb.semanticweb.org/heterogeneity/alignment>"
>>  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns# 
>> <http://www.w3.org/1999/02/22-rdf-syntax-ns#>"
>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema 
>> <http://www.w3.org/2001/XMLSchema>#">
>> 
>> 
>> yes
>> 0
>> ??
>> http://ontologies#onto1# 
>> <http://ontologies/#onto1%23%3C/onto1%3E>
>> http://ontologies#onto2 <http://ontologies/#onto2%3C/onto2%3E>
>> 
>>  
>>  http://ontologies/onto1/e1 
>> <http://ontologies/onto1/e1>"/>
>>  http://ontologies/onto1/e2/ 
>> <http://ontologies/onto1/e2/>>
>>  0.5
>>  =
>>  
>> 
>> 
>> ...
>> 
>> What I want is when I load this ontology into tbc/edg, I can have an 
>> interface (asset) such as we have in crosswalk : 
>> 
>> e1 | e2 | measure | relation
>> e1 | e3 | measure | relation
>> e1 | e4 | measure | relation
>> ...
>> 
>> How I can create or customize ontology asset to have such visualizations 
>> whithin edg please.
>> 
>> I know, that we can use tbc composer to create new asset/theme but is there 
>> any documentation or tutorial to do this please ?
>> 
>> Thanks for your help.
>> 
>> -- 
>> 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 
>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/3ae467d5-e2a2-4e08-a71c-4435084e9759n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/3ae467d5-e2a2-4e08-a71c-4435084e9759n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808‬
> 
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/865DAE3C-E2A4-4F55-9455-FF6F787FBE36%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/865DAE3C-E2A4-4F55-9455-FF6F787FBE36%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> 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] Create assets to display my mappings

2021-11-04 Thread David Price
There’s a link to an old getting started guide and a few videos on this page:

https://www.topquadrant.com/products/topbraid-composer/ 


Cheers,
David

> On 4 Nov 2021, at 10:01, bostoM  wrote:
> 
> Hi all,
> 
>   I need to import my mapping file to topBraid. Nevertheless, there is no 
> "owl:class" in my rdf mapping file but only "rdf:resources" :
> 
> 
> http://knowledgeweb.semanticweb.org/heterogeneity/alignment";
>   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema#";>
> 
> 
> yes
> 0
> ??
> http://ontologies#onto1#
> http://ontologies#onto2
> 
>   
>   http://ontologies/onto1/e1"/>
>   http://ontologies/onto1/e2/>
>   0.5
>   =
>   
> 
> 
> ...
> 
> What I want is when I load this ontology into tbc/edg, I can have an 
> interface (asset) such as we have in crosswalk : 
> 
> e1 | e2 | measure | relation
> e1 | e3 | measure | relation
> e1 | e4 | measure | relation
> ...
> 
> How I can create or customize ontology asset to have such visualizations 
> whithin edg please.
> 
> I know, that we can use tbc composer to create new asset/theme but is there 
> any documentation or tutorial to do this please ?
> 
> Thanks for your help.
> 
> -- 
> 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/3ae467d5-e2a2-4e08-a71c-4435084e9759n%40googlegroups.com
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/865DAE3C-E2A4-4F55-9455-FF6F787FBE36%40topquadrant.com.


Re: [topbraid-users] error for shaclgeneration

2021-11-03 Thread David Price
Hi Michel,

Seems you did exactly what I did and it’s bad for you. Probably a workspace 
issue where Eclipse is confused somehow. Suggest trying in a new workspace as 
if that’s the problem things will just get worse.

Cheers,
David

> On 3 Nov 2021, at 15:10, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Ok, I thought the shacl generation was for the current file only, not its 
> imports.
>  
> When I delete the import, ie having the file attached, I still get an error:
> Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
>  
> But now the shacl code seems generated…
>  
> Using latest window version.
>  
> Gr michel
>  
>  
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: Wednesday, November 3, 2021 11:56 AM
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] error for shaclgeneration
>  
> Hi Michel,
>  
> I removed the import of sml 
>  
>   owl:imports <https://w3id.org/sml/rdfs/def <https://w3id.org/sml/rdfs/def>> 
> ;
>  
> did a bit of cleanup and ran the rest of the attached TTL in OWL2SHACL 
> Composer 6.4 (old one I had opened) and it worked fine.
>  
> Suggestion clearing your workspace, etc to see if it’s from that or figure 
> out what’s “odd” in the imported graph.
>  
> Also, when reporting this kind of thing please be specific about version of 
> TBC being used.
>  
> FWIW I agree that the error reporting in Java apps is just terrible - it’s 
> NullPointerException all the way down :-(
>  
> Cheers,
> David
> 
> 
> On 3 Nov 2021, at 10:15, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Dear TQ
>  
> When I convert my fairly simple RDFS ontology (attached) to shacl (in TBC-ME) 
> I get:
>  
> 
> Resulting in an near-empty shacl file (only prefixes and ontology header).
>  
> Any idea? rdfs ontology loads fine in TBC.
>  
> Ps error stack:
>  
> java.lang.NullPointerException
>   at 
> org.topbraidcomposer.core.session.TBCSession.updateDeletableGraphs(TBCSession.java:432)
>   at 
> org.topbraidcomposer.core.session.TBCSession.isDeletable(TBCSession.java:250)
>   at 
> org.topbraidcomposer.core.session.TBCSession.isDeletable(TBCSession.java:245)
>   at 
> org.topbraid.core.model.Statements.isDeletable(Statements.java:325)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractEditorText.updateState(AbstractEditorText.java:637)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractEditorText.(AbstractEditorText.java:154)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractLiteralEditorText.(AbstractLiteralEditorText.java:26)
>   at 
> org.topbraidcomposer.widgets.row.editors.LiteralEditorText.(LiteralEditorText.java:28)
>   at 
> org.topbraidcomposer.widgets.row.editors.LiteralEditor.createEditorText(LiteralEditor.java:27)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractTextRowEditor.(AbstractTextRowEditor.java:28)
>   at 
> org.topbraidcomposer.widgets.row.editors.LiteralEditor.(LiteralEditor.java:21)
>   at 
> org.topbraidcomposer.widgets.row.RowEditorFactory.createRowEditor(RowEditorFactory.java:85)
>   at 
> org.topbraidcomposer.widgets.row.RowWidgetRow.(RowWidgetRow.java:163)
>   at 
> org.topbraidcomposer.widgets.row.ObjectRowWidgetRow.(ObjectRowWidgetRow.java:26)
>   at 
> org.topbraidcomposer.widgets.row.ObjectRowWidget.createRowWidgetRow(ObjectRowWidget.java:226)
>   at 
> org.topbraidcomposer.widgets.row.RowWidget.addRow(RowWidget.java:212)
&

Re: [topbraid-users] error for shaclgeneration

2021-11-03 Thread David Price
Hi Michel,

I removed the import of sml 

  owl:imports  ;

did a bit of cleanup and ran the rest of the attached TTL in OWL2SHACL Composer 
6.4 (old one I had opened) and it worked fine.

Suggestion clearing your workspace, etc to see if it’s from that or figure out 
what’s “odd” in the imported graph.

Also, when reporting this kind of thing please be specific about version of TBC 
being used.

FWIW I agree that the error reporting in Java apps is just terrible - it’s 
NullPointerException all the way down :-(

Cheers,
David

> On 3 Nov 2021, at 10:15, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Dear TQ
>  
> When I convert my fairly simple RDFS ontology (attached) to shacl (in TBC-ME) 
> I get:
>  
> 
> Resulting in an near-empty shacl file (only prefixes and ontology header).
>  
> Any idea? rdfs ontology loads fine in TBC.
>  
> Ps error stack:
>  
> java.lang.NullPointerException
>   at 
> org.topbraidcomposer.core.session.TBCSession.updateDeletableGraphs(TBCSession.java:432)
>   at 
> org.topbraidcomposer.core.session.TBCSession.isDeletable(TBCSession.java:250)
>   at 
> org.topbraidcomposer.core.session.TBCSession.isDeletable(TBCSession.java:245)
>   at 
> org.topbraid.core.model.Statements.isDeletable(Statements.java:325)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractEditorText.updateState(AbstractEditorText.java:637)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractEditorText.(AbstractEditorText.java:154)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractLiteralEditorText.(AbstractLiteralEditorText.java:26)
>   at 
> org.topbraidcomposer.widgets.row.editors.LiteralEditorText.(LiteralEditorText.java:28)
>   at 
> org.topbraidcomposer.widgets.row.editors.LiteralEditor.createEditorText(LiteralEditor.java:27)
>   at 
> org.topbraidcomposer.widgets.row.editors.AbstractTextRowEditor.(AbstractTextRowEditor.java:28)
>   at 
> org.topbraidcomposer.widgets.row.editors.LiteralEditor.(LiteralEditor.java:21)
>   at 
> org.topbraidcomposer.widgets.row.RowEditorFactory.createRowEditor(RowEditorFactory.java:85)
>   at 
> org.topbraidcomposer.widgets.row.RowWidgetRow.(RowWidgetRow.java:163)
>   at 
> org.topbraidcomposer.widgets.row.ObjectRowWidgetRow.(ObjectRowWidgetRow.java:26)
>   at 
> org.topbraidcomposer.widgets.row.ObjectRowWidget.createRowWidgetRow(ObjectRowWidget.java:226)
>   at 
> org.topbraidcomposer.widgets.row.RowWidget.addRow(RowWidget.java:212)
>   at 
> org.topbraidcomposer.widgets.row.RowWidget.initialize(RowWidget.java:378)
>   at org.eclipse.ui.forms.ManagedForm.addPart(ManagedForm.java:83)
>   at 
> org.topbraidcomposer.editors.forms.page.ResourceFormPage.createWidget(ResourceFormPage.java:659)
>   at 
> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll(ResourceFormPage.java:273)
>   at 
> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll(ResourceFormPage.java:339)
>   at 
> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll(ResourceFormPage.java:339)
>   at 
> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll(ResourceFormPage.java:207)
>   at 
> org.topbraidcomposer.editors.forms.page.ResourceFormPage.createFormContent(ResourceFormPage.java:618)
>   at 
> org.eclipse.ui.forms.editor.FormPage.lambda$0(FormPage.java:166)
>   at 
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
>   at 
> org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:166)
>   at 
> org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:480)
>   at 
> org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1032)
>   at 
> org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:612)
>   at 
> org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:518)
>   at 
> org.topbraidcomposer.editors.ResourceEditor.updateAllPages(ResourceEditor.java:1383)
>   at 
> org.topbraidcomposer.editors.ResourceEditor$2.partActivated(ResourceEditor.java:232)
>   at 
> org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:4894)
>   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4891)
>   at 
> org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:219)
>   at 
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl$2.run(PartServiceImpl.java:249)
>   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
>  

Re: [topbraid-users] Validating owl:Classes or sh:NodeShapes

2021-10-28 Thread David Price
Hi Steve


Rdfs subclass is between RDFS Class as a set theory relation (all Sub are 
Super) and type is from RDF to define set membership (Ind is a member of Sub)

Cheers,
David

> On 28 Oct 2021, at 19:33, Steve Ray  wrote:
> 
> 
> One last(?) guidance request.
> Previously, I had been declaring classes as:
> 
>   ex:MyRandomClass 
>   rdf:type owl:Class ;
>   rdf:type sh:NodeShape ;
>   rdfs:subClassOf owl:Thing ;
> ...
> 
> Normally, I define a root class in my ontologies, and all my other classes 
> are subclasses of that:
> 
> myNamespace:MyRootClass  
>   rdf:type owl:Class ;
>   rdf:type sh:NodeShape ;
>   rdfs:subClassOf owl:Thing ;
> 
> So in my no-OWL migration, I have defined my own non-OWL version of owl:Class:
> 
> myNamespace:Class
>   rdf:type rdfs:Class ;
>   rdf:type sh:NodeShape ;
>   rdfs:subClassOf rdfs:Class ;
> 
> so my random classes would be:
> 
>   ex:MyRandomClass 
>   rdf:type myNamespace:Class ;
>   rdf:type sh:NodeShape ;
>   rdfs:subClassOf myNamespace:MyRootClass ;
> 
> so should my new root class be:
> 
> myNamespace:MyRootClass  
>   rdf:type myNamespace:Class ;
>   rdf:type sh:NodeShape ;
>   rdfs:subClassOf rdfs:Class ;
> 
> or should it be:
> 
> myNamespace:MyRootClass  
>   rdf:type myNamespace:Class ;
>   rdf:type sh:NodeShape ;
>   rdfs:subClassOf rdfs:Resource ;
> 
> 
> ...I'm starting to confuse myself about things being a subClassOf something 
> and being an rdf:type of something else. (I think I was absent during that 
> session of semantic web 101!)
> I'm thinking the first one, but does the SHACL/rdf world even need both a 
> type and a subClass?
> I realize that SHACL will just ignore the OWL stuff, but I'd like to go ahead 
> and not have it there to avoid confusion.
> 
> Steve
> 
> 
> 
> 
>> On Tue, Oct 26, 2021 at 6:52 PM Holger Knublauch  
>> wrote:
>> 
>> On 2021-10-27 10:40 am, Steve Ray wrote:
>>> Thanks Holger and Irene for this perspective. 
>>> 
>>> Regarding properties, are you saying I should just declare all my 
>>> properties to be of type rdf:Property? I'm reluctant to just have them all 
>>> embedded inside property shapes, just for clarity.
>> This is your choice. SHACL or TopBraid doesn't require global rdf:Property 
>> triples (except in some older code places which are now considered bugs). If 
>> however you want to produce a generic ontology that is also useful for 
>> external RDFS/OWL tools, then rdf:type rdf:Property is not harmful. But 
>> you'd need to make sure they don't get out of synch, e.g. after renaming the 
>> property.
>>> 
>>> Also, I have written SHACL rules to infer reverse triples for 
>>> owl:SymmetricProperty and owl:InverseProperty declarations, but I suppose I 
>>> could declare them as myNamespace:SymmetricProperty and 
>>> myNamespace:InverseProperty which could be subClassOf rdf:Property. Would 
>>> that be best practice?
>> I assume you mean owl:inverseOf?
>> 
>> It is perfectly fine to use SHACL rules that react on the OWL vocabulary, 
>> e.g. owl:SymmetricProperty.
>> 
>> FYI there is also a SHACL constraint in the dash: namespace that serves not 
>> as inference but as a constraint
>> 
>> https://datashapes.org/constraints.html#SymmetricConstraintComponent
>> 
>> I don't like using owl:inverseOf and strongly discourage its use. 
>> sh:inversePath is sufficient and doesn't require the use of an (OWL) 
>> inference engine.
>> 
>> Holger
>> 
>> 
>> 
>>> 
>>> Steve
>>> 
>>> 
>>> 
>>> 
>>> On Fri, Oct 22, 2021 at 5:32 PM Irene Polikoff  
>>> wrote:
 Please see below.
 
> On Oct 22, 2021, at 7:54 PM, Steve Ray  wrote:
> 
> I now understand.
> 
> On a related point, is it true that the only owl uses that persist in 
> SHACL implementations are the two relating to managing graphs:
> 
> owl:imports (if you want to import other graphs), and
 
 Yes, explicitly supported in SHACL e.g., 
 https://www.w3.org/TR/shacl/#shapes-graph
 
> X a owl:Ontology (if you want to name a graph so that you can do things 
> like imports)?
 
 Not really supported/required, but you can use it if you want.
> 
> Do you endorse the use of owl property declarations, e.g. Y a 
> owl:ObjectProperty, etc., or do you recommend enforcing the implications 
> of those with SHACL shapes? If the latter, are there SHACL definitions 
> for those?
 
 In general, we do not recommend the use of property declarations. SHACL 
 will ignore them. However, if you wanted to, you could use them - as long 
 as you understand that they have no meaning to SHACL.
 
 If you say:
 
 :PS a sh:PropertyShape;
 sh:path :p;
 sh:nodeKind sh:BlankNodeOrIRI ( sh:IRI or sh:BlankNode)
 
 You have effectively said that :p is used to connect two resources. If you 
 know what class values of :p belong to, you could also say:
 
 :PS a sh:PropertyShape;
 sh:path :p;
 sh:class :C .
 
 This would al

Re: [topbraid-users] include question

2021-10-20 Thread David Price
Hi Michel,

I can only repeat what I said - the EDG app does not do this. I’ve made 
hundreds of ontologies, and other staff and customers have made thousands, 
without seeing this behaviour.

I occasionally see odd behaviour running EDG from TBC (i.e. eclipse) where 
cleanup/restart is needed though. Maybe there’s something leftover in TBC cache 
or workspace - suggest re-starting TBC. Maybe the TBC workspace is somehow 
corrupted and you should create a new one.

Cheers,
David

> On 20 Oct 2021, at 09:38, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Hmmm, not circular…
>  
> What i do:
>  
> Create new ontology in edg called sma (https://w3id.org/sma/def 
> <https://w3id.org/sma/def>)
>  
> Import my sainput ontology (this one is only importing sh) for the excel 
> inport
>  
> Next I import the sa target ontology (this one imports sainput, and also 
> nen2660 but this cannot cause issue I think, there is no link to sma)
>  
> After this action I see the sma selfinclude…..
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: Wednesday, October 20, 2021 10:20 AM
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] include question
>  
> EDG ontologies do not include themselves.  I expect there is a circular 
> import in your ontologies set.
> 
> Cheers,
> David
> 
> 
> On 20 Oct 2021, at 09:08, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
> 
>  
> Everytime I cretae an ontology in EDG it seems somehow it is included in 
> itself: example ontology ‘sma’:
>  
> 
>  
> So everytime I have to delete it I first have to delete this include first.
> At what point in time is this selfinclude added?
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
>  <http://www.tno.nl/>
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/b9cdafbf28c846b89824f2f9200bb482%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/b9cdafbf28c846b89824f2f9200bb482%40tno.nl?utm_medium=email&utm_source=footer>.
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/B754DE7D-AAF0-42CB-8AB3-1F52B721D490%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/B754DE7D-AAF0-42CB-8AB3-1F52B721D490%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> You received this me

Re: [topbraid-users] include question

2021-10-20 Thread David Price
EDG ontologies do not include themselves.  I expect there is a circular import 
in your ontologies set.

Cheers,
David

> On 20 Oct 2021, at 09:08, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> 
> Everytime I cretae an ontology in EDG it seems somehow it is included in 
> itself: example ontology ‘sma’:
>  
> 
>  
> So everytime I have to delete it I first have to delete this include first.
> At what point in time is this selfinclude added?
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl
> Location
> 
>  
> 
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> -- 
> 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/b9cdafbf28c846b89824f2f9200bb482%40tno.nl.

-- 
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/B754DE7D-AAF0-42CB-8AB3-1F52B721D490%40topquadrant.com.


Re: [topbraid-users] spreadsheet import by pattern, no-domain target props issue

2021-10-19 Thread David Price
As I said, go look at the Class/Nodeshape in a Data Graph and see if the 
properties are there for you to fill into an instance. If not, then you may 
need to look a SHACL source code to understand.

Also, after adding relevant domains did you go to Transforms and run the 
OWL2SHACL again?

Cheers,
David

> On 19 Oct 2021, at 11:14, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> That would be good news….
>  
> I added union domains for the relevant columns (5x).
>  
> However ‘spreadsheet import by pattern’ does not provide the mapping, nor 
> does it allow me to select myself.
>  
> (for the five union-based domains):
>  
> 
>  
> Using EDG started from Windows TBC ME 7.0.3.
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: Tuesday, October 19, 2021 12:01 PM
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] spreadsheet import by pattern, no-domain target 
> props issue
>  
> Actually, OWL2SHACL handles that case (just tested in Composer 6.4). 
> Something else must be “wrong”.
>  
> On 19 Oct 2021, at 10:44, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Hi David
>  
> That is what I suspected (getting lost in shacl-mapping).
>  
> I also tried:
>  
> sainput:bpsWeg
>   rdf:type owl:DatatypeProperty ;
>   rdfs:domain [
>   rdf:type owl:Class ;
>   owl:unionOf (
>   sainput:OntwerpSpecificatie
>   sainput:MonsterLaag
>   sainput:MonitoringMeting
> ) ;
> ] ;
>   rdfs:label "bpsWeg" ;
>   rdfs:range xsd:integer ;
> .
>  
>  I just did this:
>  
> # baseURI: http://example.org/unnamed <http://example.org/unnamed>
> # prefix: unnamed
>  
> @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 unnamed: <http://example.org/unnamed# <http://example.org/unnamed>> .
> @prefix xsd: <http://www.w3.org/2001/XMLSchema# 
> <http://www.w3.org/2001/XMLSchema>> .
>  
> <http://example.org/unnamed <http://example.org/unnamed>>
>   a owl:Ontology ;
>   owl:versionInfo "Created with TopBraid Composer" ;
> .
> unnamed:DatatypeProperty_1
>   a owl:DatatypeProperty ;
>   rdfs:domain [
>   a owl:Class ;
>   owl:unionOf (
>   unnamed:Thing_1
>   unnamed:Thing_2
> ) ;
> ] ;
>   rdfs:label "Datatype property 1" ;
>   rdfs:range xsd:integer ;
> .
> unnamed:Thing_1
>   a owl:Class ;
>   rdfs:label "Thing 1" ;
>   rdfs:subClassOf owl:Thing ;
> .
> unnamed:Thing_2
>   a owl:Class ;
>   rdfs:label "Thing 2" ;
>   rdfs:subClassOf owl:Thing ;
> .
>  
> and get this:
>  
> # baseURI: http://example.org/unnamed.shapes 
> <http://example.org/unnamed.shapes>
> # imports: http://datashapes.org/dash <http://datashapes.org/dash>
> # imports: http://example.org/unnamed <http://example.org/unnamed>
>  
> @prefix dash: <http://datashapes.org/dash# <http://datashapes.org/dash>> .
> @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 sh: <http://www.w3.org/ns/shacl# <http://www.w3.org/ns/shacl>> .
> @prefix unn

Re: [topbraid-users] spreadsheet import by pattern, no-domain target props issue

2021-10-19 Thread David Price
Actually, OWL2SHACL handles that case (just tested in Composer 6.4). Something 
else must be “wrong”.

> On 19 Oct 2021, at 10:44, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Hi David
>  
> That is what I suspected (getting lost in shacl-mapping).
>  
> I also tried:
>  
> sainput:bpsWeg
>   rdf:type owl:DatatypeProperty ;
>   rdfs:domain [
>   rdf:type owl:Class ;
>   owl:unionOf (
>   sainput:OntwerpSpecificatie
>   sainput:MonsterLaag
>   sainput:MonitoringMeting
> ) ;
> ] ;
>   rdfs:label "bpsWeg" ;
>   rdfs:range xsd:integer ;
> .

 I just did this:

# baseURI: http://example.org/unnamed
# prefix: unnamed

@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 unnamed: <http://example.org/unnamed#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/unnamed>
  a owl:Ontology ;
  owl:versionInfo "Created with TopBraid Composer" ;
.
unnamed:DatatypeProperty_1
  a owl:DatatypeProperty ;
  rdfs:domain [
  a owl:Class ;
  owl:unionOf (
  unnamed:Thing_1
  unnamed:Thing_2
) ;
] ;
  rdfs:label "Datatype property 1" ;
  rdfs:range xsd:integer ;
.
unnamed:Thing_1
  a owl:Class ;
  rdfs:label "Thing 1" ;
  rdfs:subClassOf owl:Thing ;
.
unnamed:Thing_2
  a owl:Class ;
  rdfs:label "Thing 2" ;
  rdfs:subClassOf owl:Thing ;
.

and get this:

# baseURI: http://example.org/unnamed.shapes
# imports: http://datashapes.org/dash
# imports: http://example.org/unnamed

@prefix dash: <http://datashapes.org/dash#> .
@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 sh: <http://www.w3.org/ns/shacl#> .
@prefix unnamed: <http://example.org/unnamed#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

unnamed:Thing_1
  a sh:NodeShape ;
  sh:property unnamed:Thing_1-DatatypeProperty_1 ;
.
unnamed:Thing_1-DatatypeProperty_1
  a sh:PropertyShape ;
  sh:path unnamed:DatatypeProperty_1 ;
  sh:datatype xsd:integer ;
.
unnamed:Thing_2
  a sh:NodeShape ;
  sh:property unnamed:Thing_2-DatatypeProperty_1 ;
.
unnamed:Thing_2-DatatypeProperty_1
  a sh:PropertyShape ;
  sh:path unnamed:DatatypeProperty_1 ;
  sh:datatype xsd:integer ;
.
<http://example.org/unnamed.shapes>
  a owl:Ontology ;
  owl:imports <http://datashapes.org/dash> ;
  owl:imports <http://example.org/unnamed> ;
.


Cheers,
David

>  
> But I guess not treated by shacl-mapping since not
>  
> Guess I will differentiate them in the inputontology (per sheet).
> I can have them one time in the target ontologie.
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: Tuesday, October 19, 2021 11:26 AM
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] spreadsheet import by pattern, no-domain target 
> props issue
>  
>  
> 
> 
> On 19 Oct 2021, at 09:58, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Properties in the input ontology not having a domain cannot be chosen as 
> target:
>  
> 
> (where the dashes are)
>  
> Is this intended?
>  
>  
> Yes.
>  
> See if you can create an instance of the thing in the EDG UI, and if so see 
> what property shapes are visible. That’s what you have to work with. The 
> importer, like all of EDG, is based on the SHACL Shapes, not the initial OWL. 
> So, if a property does not appear in the SHACL as being relevant for the 
> selected Class/Nodeshape then you cannot pattern map into it. I cannot 
> remember what OWL2SH

Re: [topbraid-users] spreadsheet import by pattern, no-domain target props issue

2021-10-19 Thread David Price


> On 19 Oct 2021, at 09:58, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Properties in the input ontology not having a domain cannot be chosen as 
> target:
>  
> 
> (where the dashes are)
>  
> Is this intended?
>  

Yes.

See if you can create an instance of the thing in the EDG UI, and if so see 
what property shapes are visible. That’s what you have to work with. The 
importer, like all of EDG, is based on the SHACL Shapes, not the initial OWL. 
So, if a property does not appear in the SHACL as being relevant for the 
selected Class/Nodeshape then you cannot pattern map into it. I cannot remember 
what OWL2SHACL does in this case, but as always you can extend it to do 
whatever you want. I *think* the property shapes may be there, just not 
connected to a NodeShape.


> (these properties are valid for multiple sheets so they have multiple domains)
>  
> I can understand they are not automatically proposed but why can I not choose 
> them manually from the list?
>  
> Should I indicate union of relevant domains?
>  
> Thx Michel
>  
> Ps
> Missing target props are defined as:
>  
> sainput:bpsWeg
>   a owl:DatatypeProperty ;
>   rdfs:label "bpsWeg" ;
>   rdfs:range xsd:integer ;
> .
> sainput:bpsStartKilometrering
>   a owl:DatatypeProperty ;
>   rdfs:label "bpsStartKilometrering" ;
>   rdfs:range xsd:integer ;
> .
> sainput:bpsEindKilometrering
>   a owl:DatatypeProperty ;
>   rdfs:label "bpsEindKilometrering" ;
>   rdfs:range xsd:integer ;
> .
> sainput:bpsBaan
>   a owl:DatatypeProperty ;
>   rdfs:label "bpsBaan" ;
>   rdfs:range xsd:integer ;
> .
> sainput:bpsStrook
>   a owl:DatatypeProperty ;
>   rdfs:label "bpsStrook" ;
>   rdfs:range xsd:integer ;
> .


As you say, these specific properties cleary DO have some reasonable but 
unstated domain in the ontology.  I imagine what would happen if you ran a DL 
reasoner on this is that it would infer owl:Thing as the domain of the property 
which is clearly wrong. bpsStartKilometrering is clearly not a property of 
Person, for example.

As far as SHACL/EDG is concerned, this is an under specificed (i.e. incomplete) 
ontology wrt doing any kind of sensible data validation/UI generation/etc. EDG 
Data Graphs are based on SHACL Shapes Graphs (i.e. not trying to be a generic, 
OWL-based collection type). 

Probably better to make an abstract superclass and tie these with a domain to 
that class. If you make a complex OWL structure, you may have to do an 
extension to OWL2SHACL to get what you want.

Cheers,
David


>  
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/9f044c442f7f4a9591b29cb8b421f974%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/5B0F1709-C447-4FD9-AA46-BA7E4C373BCE%40topquadrant.com.


Re: [topbraid-users] owl restrictions for individuals?

2021-10-13 Thread David Price
Hi Michel,

A final question … Have you run any OWL reasoner over this and produced any 
inconsistency e.g. in the case of 301 members of your Container saying only 300 
are allowed? 

I’m not sure the “semantics” you think exist in this setup are actually there. 
Maybe I’m wrong as I’ve not tried it, but it looks questionable to me and 
actually using a tool such as a DL reasoner is the only way to be sure.  Does 
it at least not complain about these structures as it’s possible the customers 
of your ontology might use these tools.  FWIW I’ve not used any OWL Full 
reasoners so not sure how you’d test what you propose otherwise.

Also, as always note that OWL is OWA so missing data such as min card = 1 
cannot not be reported as an error.

Anyway, in answer to your “Would that be possible within TBC/EDG?":

TBC will probably let you view that structure but not 100% sure the form-based 
editing supports it. I did not try it myself.

EDG = not out-of-the-box but perhaps with some configuration. The EDG UI is 
driven by SHACL and the out-of-the-box OWL2SHACL feature does not cover the 
restriction structures you sent. It’s not hard to extend the OWL2SHACL within 
EDG so you could add whatever SHACL generation you wanted to see appear taking 
that OWL structure as input.  EDG 7.1 will support the SHACL qualified value 
shapes and it does report violations … I’ve actually tested that and the CWA 
helps make that so.

Cheers,
David

> On 13 Oct 2021, at 13:00, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Hi David
>  
> Thx for your view.
>  
> Personally I think the rdfs containers captures at least some generic 
> “grouping” semantics.
> I would not like to redefine that myself (own group classes, member relations 
> etc.).
>  
> On the other hand we might misuse this way a mechanism meant for explicit 
> grouping for implicit grouping.
>  
> In any case the practical need is really there in asset mngt. People do not 
> want to model (in their view) all the details from others.
> In the example: they want to be able to model the groups of things having 
> typical properties and the group having properties like an amount of members, 
> total cost, etc. without the need to be able to explicitly point to the 
> members.
>  
> In that sense our pattern could fulfil those needs: we have a group 
> (container), we do not model explicit members, but add other properties to 
> the group (like total cost) and are able to put restrictions on their members 
> (like ‘all should be yellow’). So we capture the typical member data in a 
> restriction without having the (explicit) members themselves….that might be 
> special too….
>  
> Anyway, we’ll consider, thx
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: Monday, October 11, 2021 5:34 PM
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] owl restrictions for individuals?
>  
> The following is just my opinion:
>  
> RDFS collections have zero semantics, so using them for a purpose like this 
> sounds like a bad idea. I have never used them in any ontology for any 
> customer.
>  
> Calling something an “implicit group” and then trying to use semantics to 
> define it does not make any sense to me. So, it’s hard to really understand 
> your requirements, but if there is a need to “group” things then :
>  
> - perhaps make a class called Groups and make instances of that class be 
> your groups. Then a simple object property member ofGroup can relate any 
> instance to that group. 
> - a second approach is to define a datatype property but give it anyURI as 
> its datatype. This is often how models relate to external reference data 
> libraries not actually imported into the current graph - i.e. they have a 
> property called something like “external classification” with a URI value 
> that usually dereferences to something in a giant o

Re: [topbraid-users] owl restrictions for individuals?

2021-10-11 Thread David Price
The following is just my opinion:

RDFS collections have zero semantics, so using them for a purpose like this 
sounds like a bad idea. I have never used them in any ontology for any customer.

Calling something an “implicit group” and then trying to use semantics to 
define it does not make any sense to me. So, it’s hard to really understand 
your requirements, but if there is a need to “group” things then :

- perhaps make a class called Groups and make instances of that class be 
your groups. Then a simple object property member ofGroup can relate any 
instance to that group. 
- a second approach is to define a datatype property but give it anyURI as its 
datatype. This is often how models relate to external reference data libraries 
not actually imported into the current graph - i.e. they have a property called 
something like “external classification” with a URI value that usually 
dereferences to something in a giant online RDL.

Both of are easy in OWL and SHACL. 

Cheers,
David

> On 11 Oct 2021, at 15:46, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Hereby also the actual code example for modelling implicit groups of assets.
> (via a nested constraint for an individual)
>  
> Example: a road  crash barrier having associated an implicit group of 300 
> yellow km-signs.
>  
> No complaints from TBC.
> Still special way of modelling, comments welcome.
>  
> # baseURI: https://w3id.org/igtest/owl/def 
> # imports: https://w3id.org/nen2660/owl/def 
>  
> @prefix nen2660: https://w3id.org/nen2660/def# 
>  .
> @prefix owl: http://www.w3.org/2002/07/owl#  .
> @prefix quantitykind: http://qudt.org/vocab/quantitykind/ 
>  .
> @prefix qudt: http://qudt.org/schema/qudt/  .
> @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# 
>  .
> @prefix rdfs: http://www.w3.org/2000/01/rdf-schema# 
>  .
> @prefix skos: http://www.w3.org/2004/02/skos/core# 
>  .
> @prefix unit: http://qudt.org/vocab/unit/  .
> @prefix wn: https://w3id.org/wegennetwerk/def# 
>  .
> @prefix xsd: http://www.w3.org/2001/XMLSchema# 
>  .
> @prefix ig: https://w3id.org/igtest/def#  .
>  
> https://w3id.org/igtest/owl/def 
>   a owl:Ontology ;
>   owl:imports https://w3id.org/nen2660/owl/def 
>  ;
> .
> ig:GeleideConstructie a owl:Class ;
> .
> ig:HectometerPaal a owl:Class ;
> .
> ig:GCnoorderZijberm-hm15dot-hm25dot3 a ig:GeleideConstructie ;
>   ig:hasGroupedParts ig:HMPgroup_1 ;
> .
> ig:HMPgroup_1 a rdfs:Container ;
>   a [a owl:Restriction ;
>  owl:onProperty rdfs:member;
>  owl:qualifiedCardinality 300 ;
>  owl:onClass [ rdfs:subClassOf ig:HectometerPaal;
>rdfs:subClassOf [
>  a owl:Restriction;
>  owl:hasvalue "Geel";
>  owl:onProperty ig:kleur] ] ] ;
> .
> ig:hasGroupedParts a owl:ObjectProperty ;
>   rdfs:range rdfs:Container ;
> .
> ig:kleur a owl:DatatypeProperty ;
>   rdfs:range xsd:string ;
> .
>  
>  
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> From: 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> Sent: Friday, October 8, 2021 12:52 PM
> To: topbraid-users@googlegroups.com 
> Subject: [topbraid-users] owl restrictions for individuals?
>  
> In asset management/modelling we often see the need  to define groups of 
> (many) things that are not (yet) fully explicitly modelled.
> Ie a rdfs:Bag instance where not all rdfs:member’ s are known explicitly.
>  
> Such ‘implicit groups’ as we call them, we would like to represent using OWL 
> restriction classes in owl (and later also shacl shapes) that are used to 
> classify such group instances.
> Typically all examples we see is using such restriction classes for 
> subclassing on class-level.
> So now the idea is to use them for classifying inst

Re: [topbraid-users] multi-sheet import by pattern

2021-10-07 Thread David Price


> On 7 Oct 2021, at 10:21, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Is it possible to do a multi-sheet import?
>  
> 
> Leaving index open delivers a java-level error…..(which is strange since its 
> says ‘ optional’ )
>  
> Maybe something like “1-2”?

Multi-sheet import is not supported by the "as pattern/as template” EDG 
importer.

If that is your requirement, then I’d suggest using an external tool that 
generates RDF and then import that into EDG.

Cheers,
David

>  
> Thx michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/398bb3ac997d4f988467b89b049d9344%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/A68B0FBF-F4A7-4328-9749-AEBCBF5FE2DD%40topquadrant.com.


Re: [topbraid-users] edg class tree

2021-09-30 Thread David Price
Import RDF has a streaming option if you look under Imports.

Cheers,
David

> On 30 Sep 2021, at 11:52, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Ahhh
> I now see, the owl:Thing seems automatically added when importing to edg?
> Can that be switched of?
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages.
>  
> From: topbraid-users@googlegroups.com 
> <mailto:topbraid-users@googlegroups.com>  <mailto:topbraid-users@googlegroups.com>> On Behalf Of David Price
> Sent: Thursday, September 30, 2021 12:47 PM
> To: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>
> Subject: Re: [topbraid-users] edg class tree
>  
> The tree is showing exactly what the source code says:
>  
> 
>  
>  
> Activity is a subclass of Thing too, so the EDG UI shows that - it’s case of 
> multiple superclasses. Remove subClassOf Thing if that’s not desired,
>  
> Cheers,
> David
> 
> 
> On 30 Sep 2021, at 10:36, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> mailto:topbraid-users@googlegroups.com>> 
> wrote:
>  
> Why are classes shown in tree AND in the list:
> 
> Activity as subclass of Entity is also shown in the list.
>  
> Same in TBC only shows tree:
> 
>  
> Is that an edg setting?
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>
> Location <http://www.tno.nl/locations/DTS>
> 
>  
>  <http://www.tno.nl/>
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/ad24c9e1defc40ecb58e599e0f206c68%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/ad24c9e1defc40ecb58e599e0f206c68%40tno.nl?utm_medium=email&utm_source=footer>.
>  
> UK +44 (0) 7788 561308
> US +1 (336) 283-0808
>  
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/6E42A573-4721-4C3F-8A5C-9B400A456E75%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/6E42A573-4721-4C3F-8A5C-9B400A456E75%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> 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 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/c19e4f6713ae43efb67bd4c208a6a228%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/c19e4f6713ae43efb67bd4c208a6a228%40tno.nl?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/3E9C6F5D-9F72-4B59-A99E-707794D2F62F%40topquadrant.com.


Re: [topbraid-users] edg undo transform?

2021-09-30 Thread David Price
Try the Inferences panel.

Cheers,
David

> On 30 Sep 2021, at 10:57, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Is there any option in EDG to undo a Transform?
> When experimenting in TBC you can just infer without actual assertion.
> In EDG directly asserted.
>  
> Thx michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/384c3f80515b462baf457bbd44c732ad%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/03F7CF6D-8A28-4A3D-8F40-D1CB16BD52AB%40topquadrant.com.


Re: [topbraid-users] edg class tree

2021-09-30 Thread David Price
The tree is showing exactly what the source code says:




Activity is a subclass of Thing too, so the EDG UI shows that - it’s case of 
multiple superclasses. Remove subClassOf Thing if that’s not desired,

Cheers,
David

> On 30 Sep 2021, at 10:36, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Why are classes shown in tree AND in the list:
> 
> Activity as subclass of Entity is also shown in the list.
>  
> Same in TBC only shows tree:
> 
>  
> Is that an edg setting?
>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/ad24c9e1defc40ecb58e599e0f206c68%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/6E42A573-4721-4C3F-8A5C-9B400A456E75%40topquadrant.com.


Re: [topbraid-users] Better formulated potential sh:declare issues

2021-09-28 Thread David Price
Hi Michel,

I did the following from your example but following the W3C spec and it works 
fine in Composer:

<https://w3id.org/sainput/owl/def>
  sh:declare [
  sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ;
  sh:prefix "rdf" ;
] ;
  sh:declare [
  sh:namespace "https://w3id.org/sa/def#"^^xsd:anyURI ;
  sh:prefix "sa" ;
] ;
  sh:declare [
  sh:namespace "https://w3id.org/sainput/def#"^^xsd:anyURI ;
  sh:prefix "sainput" ;
] ;
.
sainput:MonsterLaag
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:label "MonsterLaag" ;
  sh:rule [
  a sh:SPARQLRule ;
  sh:construct """
   CONSTRUCT {
 ?project rdf:type sa:Project .
   }
   WHERE {
 ?this sainput:projectOmschrijving ?omschrijving .
 BIND (IRI (CONCAT (\"https://w3id.org/sa/def#\";, encode_for_uri 
(?omschrijving))) AS ?project) .
   }
   """ ;
  sh:prefixes <https://w3id.org/sainput/owl/def> ;
] ;
.


Please see SHACL spec 

5.1 An Example SPARQL-based Constraint - see 
https://www.w3.org/TR/shacl/#sparql-constraints 
<https://www.w3.org/TR/shacl/#sparql-constraints>

and

5.2.1  https://www.w3.org/TR/shacl/#sparql-prefixes 
<https://www.w3.org/TR/shacl/#sparql-prefixes>

Cheers,
David


> On 28 Sep 2021, at 19:54, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Wrt your ps
> 
> I think it is quite obvious that I mention this issue 1 here since it is so 
> much related to the actual tbc issue being issue 2.
> 
> Op 28 sep. 2021 19:38 schreef David Price :
> Hi Michel,
> 
> I did not test anything but it looks to me like you’re having problems 
> reading the W3C spec. I see this in your file:
> 
> rdf:
>   sh:declare [
>   sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns>#"^^xsd:anyURI ;
>   sh:prefix "rdf" ;
> ] ;
> .
> 
> when the spec clearly says “The recommended subject for values of sh:declare 
> is the IRI of the named graph containing the shapes that use the prefixes."
> 
> rdf: graph does not contain any shapes.
> 
> I expoect rdf: above should instead be 
> 
> <https://w3id.org/sainput/owl/def <https://w3id.org/sainput/owl/def>>
>   sh:declare [
>   sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns>#"^^xsd:anyURI ;
>   sh:prefix "rdf" ;
> ] ;
> .
> 
> Cheers,
> David
> 
> P.S. If you have an issue with a W3C spec, please report it to the W3C rather 
> than the TB user forum.
> 
> 
>> On 28 Sep 2021, at 16:12, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>> mailto:topbraid-users@googlegroups.com>> 
>> wrote:
>> 
>> Together with our partner, BIM-Connected, Miltos Gatzios, we tried to better 
>> formulate the actual issue we see with sh:declare.
>>  
>> Issue 1 (not tbc issue, but general shacl issue)
>>  
>> Metalanguage (https://www.w3.org/ns/shacl.ttl 
>> <https://www.w3.org/ns/shacl.ttl>):
>>  
>> sh:declare
>> a rdf:Property ;
>> rdfs:label "declare"@en ;
>> rdfs:comment "Links a resource with its namespace prefix 
>> declarations."@en 
>> <mailto:%22Links%20a%20resource%20with%20its%20namespace%20prefix%20declarations.%22@en>
>>  ;
>> rdfs:domain owl:Ontology ;
>> rdfs:range sh:PrefixDeclaration ;
>> rdfs:isDefinedBy sh: .
>>  
>> Specification (Shapes Constraint Language (SHACL) (w3.org) 
>> <https://www.w3.org/TR/shacl/#sparql-prefixes>):
>>  
>> “ The recommended subject <https://www.w3.org/TR/shacl/#dfn-subject> for 
>> values of sh:declare is the IRI of the named graph containing the shapes 
>> that use the prefixes. These IRIs are often declared as an instance of 
>> owl:Ontology, but this is not required.”
>>  
>>  
>> So the spec is flexible but the metalanguage makes a choice that it actually 
>> IS the named graph using the prefixes AND that it IS at an instance of 
>> owl:Ontology.
>>  
>> Issue 2 (the actual tbc/edg issue)
>>  
>> The implementation in tbc/edg seems to use the more strict way as 
>> recommended (we assume since that sh name space is used).
>> But that one seems not to work while the flexible way DOES seem to work …
>>  
>> Greetings, Michel
>>  
>> Ps
>> Attached the file where the shacl-rule does work (but we think now all 
>> pref

Re: [topbraid-users] Better formulated potential sh:declare issues

2021-09-28 Thread David Price
Hi Michel,

I did not test anything but it looks to me like you’re having problems reading 
the W3C spec. I see this in your file:

rdf:
  sh:declare [
  sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ;
  sh:prefix "rdf" ;
] ;
.

when the spec clearly says “The recommended subject for values of sh:declare is 
the IRI of the named graph containing the shapes that use the prefixes."

rdf: graph does not contain any shapes.

I expoect rdf: above should instead be 


  sh:declare [
  sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ;
  sh:prefix "rdf" ;
] ;
.

Cheers,
David

P.S. If you have an issue with a W3C spec, please report it to the W3C rather 
than the TB user forum.


> On 28 Sep 2021, at 16:12, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> Together with our partner, BIM-Connected, Miltos Gatzios, we tried to better 
> formulate the actual issue we see with sh:declare.
>  
> Issue 1 (not tbc issue, but general shacl issue)
>  
> Metalanguage (https://www.w3.org/ns/shacl.ttl 
> ):
>  
> sh:declare
> a rdf:Property ;
> rdfs:label "declare"@en ;
> rdfs:comment "Links a resource with its namespace prefix 
> declarations."@en 
> 
>  ;
> rdfs:domain owl:Ontology ;
> rdfs:range sh:PrefixDeclaration ;
> rdfs:isDefinedBy sh: .
>  
> Specification (Shapes Constraint Language (SHACL) (w3.org) 
> ):
>  
> “ The recommended subject  for 
> values of sh:declare is the IRI of the named graph containing the shapes that 
> use the prefixes. These IRIs are often declared as an instance of 
> owl:Ontology, but this is not required.”
>  
>  
> So the spec is flexible but the metalanguage makes a choice that it actually 
> IS the named graph using the prefixes AND that it IS at an instance of 
> owl:Ontology.
>  
> Issue 2 (the actual tbc/edg issue)
>  
> The implementation in tbc/edg seems to use the more strict way as recommended 
> (we assume since that sh name space is used).
> But that one seems not to work while the flexible way DOES seem to work …
>  
> Greetings, Michel
>  
> Ps
> Attached the file where the shacl-rule does work (but we think now all 
> prefixes become of type owl:Ontology…)
> In case the declare’s are all attached to sainput: (the 
> graph/ontology-prefix), the rule does not result in results.
>  
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/fd20239d403743a8a9aa80d4e96828ef%40tno.nl
>  
> .
> 

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/B62F7DC9-15DC-4F01-B91D-2D569505A82C%40topquadrant.com.


Re: [topbraid-users] prefix use in edg

2021-09-23 Thread David Price
Sounds like duplicate prefix is consuing EDG. Choose one or the other and 
delete the duplicate and see if that fixed things.

Cheers,
David

> On 23 Sep 2021, at 10:33, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
>  wrote:
> 
> When importing an ontology in EDG (in an existing ontology)
> I see the prefix is not used.
>  
> In the imported file it says:
> @prefix sa: https://w3id.org/sa/def#  .
>  
> In the edg/settings tab taken over:
> PREFIX sa: https://w3id.org/sa/def# 
>  
> But I see in the ontology:
>  
> 
>  
> So no prefixes for the 4 subclasses…
>  
> Thx for help, Michel
>  
>  
>  
>  
> Dr. ir. H.M. (Michel) Bohms
> Scientist Specialist
> Structural Reliability
> T +31 (0)88 866 31 07
> M +31 (0)63 038 12 20
> E michel.bo...@tno.nl 
> Location 
> 
>  
>  
> This message may contain information that is not intended for you. If you are 
> not the addressee or if this message was sent to you by mistake, you are 
> requested to inform the sender and delete the message. TNO accepts no 
> liability for the content of this e-mail, for the manner in which you use it 
> and for damage of any kind resulting from the risks inherent to the 
> electronic transmission of messages. 
>  
> 
> -- 
> 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/17e5f04bbda34910ad94ea87b746f0e4%40tno.nl
>  
> .

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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/20441DDF-FE43-424E-9478-72A8229ED0E2%40topquadrant.com.


  1   2   3   >