Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Checks for composites #59

Open
pajoma opened this issue Nov 27, 2023 · 0 comments
Open

Duplicate Checks for composites #59

pajoma opened this issue Nov 27, 2023 · 0 comments

Comments

@pajoma
Copy link
Contributor

pajoma commented Nov 27, 2023

Repeated push of new entities will create duplicates for nested objects, example:

[<https://graph.dev-e365.ext-env.av360.org/api/s/vhs-lernportal/entities/v_t5epxx>](https://graph.dev-e365.ext-env.av360.org/nav/node?id=%2Fapi%2Fs%2Fvhs-lernportal%2Fentities%2Fv_t5epxx&)
    [schema:offers](http://schema.org/offers) [<https://graph.dev-e365.ext-env.av360.org/api/s/vhs-lernportal/entities/bz722bp0>](https://graph.dev-e365.ext-env.av360.org/nav/node?id=%2Fapi%2Fs%2Fvhs-lernportal%2Fentities%2Fbz722bp0&)

[<https://graph.dev-e365.ext-env.av360.org/api/s/vhs-lernportal/entities/o72w1x3a>](https://graph.dev-e365.ext-env.av360.org/nav/node?id=%2Fapi%2Fs%2Fvhs-lernportal%2Fentities%2Fo72w1x3a&) 
  a [schema:Offer;](http://schema.org/Offer) 
  [schema:price](http://schema.org/price) 5.26E1; 
  [schema:priceCurrency](http://schema.org/priceCurrency) "EUR"@de . 
[<https://graph.dev-e365.ext-env.av360.org/api/s/vhs-lernportal/entities/msmfpv2a>](https://graph.dev-e365.ext-env.av360.org/nav/node?id=%2Fapi%2Fs%2Fvhs-lernportal%2Fentities%2Fmsmfpv2a&) 
  a [schema:Offer;](http://schema.org/Offer) 
  [schema:price](http://schema.org/price) 5.26E1; 
  [schema:priceCurrency](http://schema.org/priceCurrency) "EUR"@de .

Issue here: random generated identifiers for composites

Proposed solutions:

  • nested objects should be Bnodes. When creating the id, we should use immutable properties (type, ..) for the seed, to have it reproducible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant