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

Key of K/V Pair as Predicate? #7

Open
joshmoore opened this issue Mar 12, 2024 · 1 comment
Open

Key of K/V Pair as Predicate? #7

joshmoore opened this issue Mar 12, 2024 · 1 comment

Comments

@joshmoore
Copy link
Member

From @CFGrote's presentation (https://zenodo.org/records/10808486), it might be useful to have the keys as predicates:

image

@CFGrote
Copy link
Member

CFGrote commented Mar 12, 2024

To provide some context, the key-value pair MPB,15447 appears in another graph, too. Hence being able to get the
value (15447) from a query like

?ann a ome_core:map ;
           ns1:mpb ?mpb_val .
...

would then allow join-like queries against that other graph.

In the current implementation, I first have to filter all keys returned from the query by, e.g.

filter(contains(?key, "MPB"))

That's not such a big deal but becomes more of a problem if the omero-rdf graph is second in a join scenario like above.

I'll be happy to share more context if needed (or contribute code).

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