semagrow / semagrow

A SPARQL query federator of heterogeneous data sources

Home Page:https://semagrow.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VoID source selection outputs redundant sources

antru6 opened this issue · comments

Consider the following query

SELECT * WHERE {
  <http://deg.iit.demokritos.gr/lucas/resource/9> geo:hasGeometry ?l_geom_id .
}

given the following metadata.ttl

[] a void:Dataset ;
  void:propertyPartition [
    void:property geo:hasGeometry ;
    svd:subjectRegexPattern "http://deg.iit.demokritos.gr/lucas/resource/"^^xsd:string ;
  ] ;
  void:sparqlEndpoint <http://lucas_complete> .

[] a void:Dataset ;
  void:propertyPartition [
    void:property geo:hasGeometry ;
    svd:subjectRegexPattern "http://deg.iit.demokritos.gr/invekos/resource/"^^xsd:string ;
  ] ;
  void:sparqlEndpoint <http://invekos_complete> .

The VOID Source selection assigns to the (single) given statement pattern both sources, while it should clearly exclude the second source.