Teester / entityshape

An api to compare a wikidata item with an entityschema
GNU General Public License v3.0
5 stars 3 forks source link

E297 #6

Closed Teester closed 3 years ago

Teester commented 3 years ago

Currently, if a schema has multiple lines with the same property, their combined cardinality is not taken into account. i.e.

{ wdt:P31 [wd:Q1]. wdt:P31 [wd:Q2]. } Currently this shape evaluates as requiring a single P31 with values of both Q1 and Q2, which will always fail. It should evaluate as 2 P31s, one with Q1 and the other with Q2. This pull request corrects that.
sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication