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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/eca2320e-9089-491a-8774-1c7348a72434n%40googlegroups.com.

Reply via email to