gbv / wikidata-jskos

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

Possible bug in mappings-to #52

Open stefandesu opened 4 years ago

stefandesu commented 4 years ago

I created a mapping from WD Q7884093 to BK 49 with only the BK concept selected on the right side. Cocoda said "Mapping saved", but no mapping showed up in the Navigator. Looking at the network requests, I found that the request returns an empty array:

https://coli-conc.gbv.de/services/wikidata/mappings?to=http:%2F%2Furi.gbv.de%2Fterminology%2Fbk%2F49&direction=both&mode=or

On the other hand, if you select the WD concept, the mapping is returned:

https://coli-conc.gbv.de/services/wikidata/mappings?from=http:%2F%2Fwww.wikidata.org%2Fentity%2FQ7884093&direction=both&mode=or

It would be good if you could take a look at that, @nichtich. Thanks!