In general using the UI isnt an option for data management in the sort of 
systems we need - but as mentioned I do now know how to recreate the 
service functions so i dont need to include it. Should be good to go play 
with that. 



On Thursday, 21 May 2020 14:07:06 UTC+10, Irene Polikoff wrote:
>
>
>
> On May 20, 2020, at 10:40 PM, Rob Atkinson <[email protected] 
> <javascript:>> wrote:
>
>
>> OK - this is based on exporting TTL and inspecting it - its picked up 
>> stuff from imports - if I open the Repository and look at triples without 
>> the imports these node shapes arent there. I didnt expect the TTL export to 
>> include both an owl:imports statement and all the imported statements...
>>
>>
>> This is the Turtle export on the Export tab of the asset collection? That 
>> doesn't include triples from owl:imported graphs. I use that frequently as 
>> a way of finding out what triples are in the asset collection's master 
>> graph.
>>
>>
> Me too - but I have sussed it out - I am including owl2shacl then running 
> apply shacl rules over graph with imports - which I need to do because the 
> asset collection is a wrapper around the original ontology (separate thread 
> about this pattern) - and owl2shacl is including itself and all the 
> teamwork stuff the asset collection needs to include in the processing ..
>
>
>
> You do not need to include owl2shacl.
>
> For example, create a new ontology in EDG.
>
> Include in it some RDFS/OWL file. For example:
>
> <urn:x-evn-master:test_ontology>
>   a <http://teamwork.topbraidlive.org/ontologyprojects#Ontology> ;
>   a teamwork:Vocabulary ;
>   a owl:Ontology ;
>   metadata:status metadata:UnderDevelopmentStatus ;
>   swa:defaultNamespace "http://example.org/ontologies/Test_Ontology#"; ;
>   rdfs:label "Test Ontology" ;
>   owl:imports <http://datashapes.org/graphql> ;
>   owl:imports <http://topbraid.org/teamworkconstraints> ;
> *  owl:imports <http://www.w3.org/2003/01/geo/wgs84_pos 
> <http://www.w3.org/2003/01/geo/wgs84_pos>> ;*
> .
>
> Go to Transform tab.
>
>
> Select the included wgspos84 ontology
>
> Click transform, the following service is executed
>
>
> http://localhost:8083/tbl/swp?_viewClass=ontologyprojects%3AOWL2SHACLPage&projectGraph=urn%3Ax-evn-master%3Atest_ontology&replace=false&graphs=http%3A%2F%2Fwww.w3.org%2F2003%2F01%2Fgeo%2Fwgs84_pos%20
>  
> <http://localhost:8083/tbl/swp?_viewClass=ontologyprojects:OWL2SHACLPage&projectGraph=urn:x-evn-master:test_ontology&replace=false&graphs=http://www.w3.org/2003/01/geo/wgs84_pos>
>
> And you get
>
>
>
> Looks like I need to use the optional shapesGraph argument in ApplySHACL 
> instead of having it in include, and perform extra logic to generate a 
> union of all the shapes I need to apply, or loop if i can work out what 
> order they need to be applied.)
>
>  
>
>> Richard
>>
>
> -- 
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/f891a4fb-15ce-483f-88ba-a0ce310169ec%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/f891a4fb-15ce-483f-88ba-a0ce310169ec%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/027657e1-43d4-46e1-bf23-e3e1be2b4afc%40googlegroups.com.

Reply via email to