The SPIN engine basically infers triples. You can write SPARQL CONSTRUCT 
keyword statements as SPIN rules and so can create a new class and add whatever 
properties to it that you want to the class and/or create a new instance of a 
class and add whatever property values you want to that instance.

You can mix SPINMap and SPIN rules in the same transform.  See links to a lot 
of material and explanation here:

https://www.topquadrant.com/technology/sparql-rules-spin/

If possible, you should also consider using SHACL rules to develop your 
transform. SHACL Rules is basically SPIN 2.0 as far as TopQuadrant is 
concerned. See:

https://spinrdf.org/spin-shacl.html <https://spinrdf.org/spin-shacl.html>

Cheers,
David


> On 25 Aug 2020, at 06:19, mnk.ya...@gmail.com <mnk.yadav...@gmail.com> wrote:
> 
> Hello every one,
> I am using top braid maestro edition 6.3.1 for my work. I want to do mapping 
> between the two classes. what I exactly want to do is I want to compare 
> properties of two different classes anf if there is a match then relates the 
> others properties too.
> e.g. lets say we have two classes A and B. Lat say A has properties a1, a2 
> ,a3 and B has properties b1,b2,b3,b4. Instances of all the properties are 
> already imported. if there is match between values of a1 and b2. Then based 
> on that match join between two classes takes place or we construct a third 
> class which will contain values from both A and B based on match. 
>  Any SPINMap function for mapping between two classes in which we join two 
> classes based on match between their properties.
> 
> IF I used Sparql query then I am able to find the match between two propeties 
> and output of that. But how to merge two classes based on query result.
>  i am new to SPARQL anf Top Braid . Please help!!!
> Thanks & Regards
> 
> 
> 
> -- 
> 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/b5a2713d-805d-4f85-bed7-eece92d25818n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/b5a2713d-805d-4f85-bed7-eece92d25818n%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/1921DEDB-1811-40EF-8DF8-421D3B0ACC51%40topquadrant.com.

Reply via email to