You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, for this to work, the JSON+LD going in needs to be normalized (and we need to transform RDFa and Microdata to this normalized form as much as possible when we handle those).
@innovationchef I think you looked at this before in the older scraper, using the pyld library. I remember it wasn't possible to use where it wasn't completely happy about the jsonld format. But perhaps we could use it in the short term with biosamples at least. What do you think?
The text was updated successfully, but these errors were encountered:
So, now that the JSON is going into MongoDB, we can do some nice stuff like find the total count of entries which are about samples
db.samples.find({ 'mainEntity.@type': 'Sample'}).count()
However, for this to work, the JSON+LD going in needs to be normalized (and we need to transform RDFa and Microdata to this normalized form as much as possible when we handle those).
@innovationchef I think you looked at this before in the older scraper, using the pyld library. I remember it wasn't possible to use where it wasn't completely happy about the jsonld format. But perhaps we could use it in the short term with biosamples at least. What do you think?
The text was updated successfully, but these errors were encountered: