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

Add qualifiedRelations #133

Open
nichtich opened this issue Dec 16, 2024 · 3 comments
Open

Add qualifiedRelations #133

nichtich opened this issue Dec 16, 2024 · 3 comments
Milestone

Comments

@nichtich
Copy link
Member

nichtich commented Dec 16, 2024

There is a use case to express connections between entities with qualifiers, e.g.

  • a person had membership in an organization at specific time
  • a person married another person at a specific time at a specific location
  • ...

This can be modeled similar to Wikibase data model in JSON:

{
  "qualifiedRelations": {
    "http://example.org/relations/membership": {
      "prefLabel": { "en": "member of", "de": "Mitgliedschaft" },
      "claims": [
        {
          "resource": { "uri": "http://example.org/org/party1" },
          "startDate": "2021-12-07"
          "endDate": "2021-12-07"
        },
        {
          "resource": { "uri": "http://example.org/org/party2" },
          "startDate": "2021-12-08",
          "rank": "preferred"
        }
      ]
    }
  }
}

A list of qualifiers (here startDate and endDate needs to be defined).

This could be extended to statement with object type other than resource (e.g. number of habitants, geographic coordinates...).

Documentation should explain differences to Wikibase data model as well:

  • JSKOS optionally includes the name of the property (e.g. "member of"). Wikibase only stores the identfier.
  • Wikibase allows arbitrary qualifiers. JSKOS has a fixed list of qualifiers.
  • Wikibase has special encoding for "no value" and "some value"
  • Wikibase further supports references of statements
  • Wikibase JSON uses "claims" with different semantics, better use "values" or another name?
@nichtich nichtich added this to the 0.6.0 milestone Dec 16, 2024
@StiftungAusNachlass
Copy link
Member

I am happy to attach the first scribble (for documentation)
related

@nichtich
Copy link
Member Author

nichtich commented Dec 19, 2024

DANTE fields to also cover (TODO: define/find property URIs for these):

  • profession
  • religion (of a person)
  • member of a party / organization
  • nationality, ethnic affiliation
  • specific type of a place (e.g. fictional, street, church...)

@nichtich
Copy link
Member Author

Better use name qualifiedRelation. TODO: JSON-LD context to map to RDF.

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

2 participants