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

Inverse properties #6

Open
iosonopersia opened this issue Apr 17, 2021 · 0 comments
Open

Inverse properties #6

iosonopersia opened this issue Apr 17, 2021 · 0 comments
Labels
missing feature A feature is missing

Comments

@iosonopersia
Copy link
Collaborator

As suggested by @GabrielePisciotta:

It might be interesting to have an inverse property in OCDM (or at least in the oc_ocdm library) to get all the entities that have a certain specified identifier object, starting from the latter (similarly to what we already have for ARs with get_is_held_by ()) . The use case is precisely that of going backwards, perhaps even starting from the literal value, going to take all the identifier objects that have the literal (eg: string doi) and subsequently all the entities connected to this identifier (ex: a journal article).
Right now you can get the information of interest with a simple SPARQL query, but with oc_ocdm we can't do SPARQL queries and doing the reverse is a bit convoluted, something like ar.get_is_held_by ()

@iosonopersia iosonopersia added enhancement New feature or request missing feature A feature is missing and removed enhancement New feature or request labels Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing feature A feature is missing
Projects
None yet
Development

No branches or pull requests

1 participant