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 <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>>> 
>>> 
>>>> On 17 Oct 2022, at 17:25, Fan Li <[email protected]> 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 <[email protected]> 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 [email protected].
>>>>>> 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 [email protected].
>>>> 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 Google Groups 
>>> "TopBraid Suite Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/3AA9EED7-17BD-4E57-AE90-6DA35DF78C21%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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/CAC95LqXwG7vniT3%2BwwefQgbYcTheUmHE4PLrKTA%3D-GTFfOmH6w%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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/057197DE-85CE-44DA-A136-57BD094CDB1C%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/6B908B52-4A66-46EF-BBBB-9D39AB1EDE2B%40topquadrant.com.

Reply via email to