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
> <[email protected]> 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 [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/951392aa-b93e-489d-ad3b-64521efe6979n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/topbraid-users/951392aa-b93e-489d-ad3b-64521efe6979n%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/C61F9216-78AC-4461-AE3F-9D732A78C715%40topquadrant.com.