weso / sparkwdsub

Spark processing of wikidata subsets
MIT License
0 stars 3 forks source link

Some nodes validate when they should not #15

Open labra opened 2 years ago

labra commented 2 years ago

The following shape:

PREFIX :    <http://www.wikidata.org/entity/>

start=@<publication>

<publication> {
 :P50 @<author> +;
}

<author> EXTRA :P31 {
  :P31 @<elf> ;
  :P27 @<country_value> 
}

<elf> [ :Q174396 ] 
<country_value> [ :Q183 ]

Shouldn't validate any node because it is asking for publications made by elfs...however, it returns all authors ignoring the values.

We have reproduced with this simple test case

It seems to detect all the failing nodes but it ignores their values and asserts that the node conforms...