swrlapi-drools-engine icon indicating copy to clipboard operation
swrlapi-drools-engine copied to clipboard

symetric and reflexive property

Open croussey opened this issue 4 years ago • 1 comments

I am developping a rdf dataset using skos vocabulary. I use lots of mapping relation skos:exactMatch and skos:closeMatch and other skos:broadMatch, skos:broader and so on... I try to infer some of the link between individuals. for example when A skos:broader B I used SWRL tab to infer that B skos:narrower A. It works well. I specify in SWRL tab that I want to use only the prop_inv2 an,d prop_inv1 rules in table 5.

when I parameterize tab5 with prp_trp and I specify that A skos:exactMatch B and B skos:exactMatch A, SWRL Tab inferred that A skos:exactMatch A. Unfortunattely skos:exactMatch is not a reflexive property. Another issue is when I parameterize tab5 with prp_symp and I specify that A skos:closeMatch B, closeMatch is a symetric property then SWRL Tab does not infer that B skos:closeMatch A.

croussey avatar Nov 12 '20 16:11 croussey

it seems that I made a mistake the closeMatch property can be inferred by SWRL tabs. SWRL does not infer it because the triple already exist.

croussey avatar Nov 12 '20 16:11 croussey