gbv / wikidata-jskos

Access Wikidata in JSKOS format
https://coli-conc.gbv.de/services/wikidata/
MIT License
6 stars 3 forks source link

Weird bug where the same mapping is returned differently #72

Open stefandesu opened 2 years ago

stefandesu commented 2 years ago

We're looking for mappings from Wikidata Q2419229 to BK 42.10. Depending on how we search for this mapping, we get different results:

  1. From Q2419229 to BK (no target notation): https://coli-conc.gbv.de/services/wikidata/mappings?from=Q2419229&toScheme=http%3A%2F%2Fbartoc.org%2Fen%2Fnode%2F18785

The correct mapping is return (I just created it earlier today).

  1. From Wikidata to BK 42.10 (no source notation): https://coli-conc.gbv.de/services/wikidata/mappings?to=42.10&toScheme=http%3A%2F%2Fbartoc.org%2Fen%2Fnode%2F18785

The same mapping (i.e. same ID) is returned, but the mapping relation is not correct.

  1. From Q2419229 to BK 42.10: https://coli-conc.gbv.de/services/wikidata/mappings?from=Q2419229&to=42.10&toScheme=http%3A%2F%2Fbartoc.org%2Fen%2Fnode%2F18785

No mappings are returned.