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

OSLC Link Discovery Management - support reverse link lookup #600

Open
MartinUlrich opened this issue Sep 5, 2023 · 4 comments
Open

OSLC Link Discovery Management - support reverse link lookup #600

MartinUlrich opened this issue Sep 5, 2023 · 4 comments

Comments

@MartinUlrich
Copy link

Links are replicated to LDM in the format: subject, predicate, object. The LDM service shall use the predicate (e.g. satisfies) for filtering and in the triples returned.

An alternative approach could be, that LDM translates the predicate in to the reverse predicate (e.g. satisfied by), in order to consider the reverse predicate for filtering and in the triples returned.

Proposal is not to support reverse link lookup.

Rationale:

  • LDM should not know anything about the semantics of the predicates, to keep the service simple
  • semantics of predicates can easily be managed by the clients
@berezovskyi
Copy link
Member

berezovskyi commented Sep 5, 2023

I think reverse link lookup is raison d'être for LDM. Let's assume there is a link somewhere in the system of the form:

<https://system_a/resource_a> oslc_rm:elaborates <https://system_b/resource_b> .

System B is expected to make a query to LDM of the following type:

?s oslc_rm:elaborates <https://system_b/resource_b> .

or even

?s ?p <https://system_b/resource_b> .

Is this the kind of lookup you wish to skip? Or are you proposing to skip the <https://system_b/resource_b> oslc_rm:elaboratedBy ?s inverse property search when a query for ?s oslc_rm:elaborates <https://system_b/resource_b> . is made? It was not immediately clear to me from your issue description.

@jamsden
Copy link
Member

jamsden commented Sep 5, 2023 via email

@MartinUlrich
Copy link
Author

?s oslc_rm:elaborates <https://system_b/resource_b> .
and
?s ?p <https://system_b/resource_b> .
shall be supported.

Searching for the inverse property shall be skipped.

@DavidJohnHoney
Copy link

I agree with Jim - it is up to clients to specify the link types and target URIs, and LDM should only do what the client asks.
We do need support for owl:sameAs as it's a common pattern - see https://jazz.net/wiki/bin/view/LinkedData/BestPractices

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

4 participants