dice-group / LIMES

Link Discovery Framework for Metric Spaces.
https://limes.demos.dice-research.org/
GNU Affero General Public License v3.0
129 stars 54 forks source link

The last version of LIMES generates bad sameAs predicates #249

Closed pskLana closed 2 years ago

pskLana commented 2 years ago

The last version of LIMES https://github.com/dice-group/LIMES/releases/tag/1.7.5 generates bad sameAs predicates:

http://www.w3.org/2011/http#//www.w3.org/2002/07/owl#sameAs.

Happens with the following predicates:


<PREFIX>
    <NAMESPACE>http://www.w3.org/2002/07/owl#</NAMESPACE>
    <LABEL>owl</LABEL>
</PREFIX>
<PREFIX>
    <NAMESPACE>http://www.w3.org/2011/http#</NAMESPACE>
    <LABEL>http</LABEL>
</PREFIX>
MSherif commented 2 years ago

Do you really need to define a prefix for http?

abdullahfathi commented 2 years ago

The reason is that you defined a prefix for HTTP so you got this because the HTTP of SameAs will be substituted by the HTTP label you defined.


<PREFIX>
    <NAMESPACE>http://www.w3.org/2011/http#</NAMESPACE>
    <LABEL>http</LABEL>
</PREFIX>