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

Allow string as value in relations-slot of class Thing #276

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christian-monch
Copy link

@christian-monch christian-monch commented Feb 14, 2025

Fixes issue #275

The definition seems valid, but OWL-generation issues warnings, and JSON-LD context-generation fails. I will look into it, any help is appreciated.

This PR would allow to represent extracted inlined records in Thing as follows (while still being able to inline records as before):

relations:
  <id of extracted record>: ""
  <id of another extracted record>: ""

This commit adds the type "string" as possible
value for an entry in the `relations`-slot of
`Thing`. This allows to represent pure links
to "related" objects by storing a key-value
pair where the key is the `id` of a related
record and the value is ''.

This allows for a much nicer representation
of extracted records (see issue
<psychoinformatics-de#275>)
@christian-monch
Copy link
Author

Put the PR into draft mode until the problem is solved

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

Successfully merging this pull request may close these issues.

1 participant