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 redundancy stripping functions for UberGraph queries #29

Closed
Tracked by #28
dosumis opened this issue Aug 4, 2023 · 0 comments · Fixed by #35
Closed
Tracked by #28

Add redundancy stripping functions for UberGraph queries #29

dosumis opened this issue Aug 4, 2023 · 0 comments · Fixed by #35

Comments

@dosumis
Copy link
Contributor

dosumis commented Aug 4, 2023

We need a pair of functions for querying ubergaph that include stripping redundancy (see #28 for rationale, discussion and example use cases).

  1. Given a set of subjects and a property and a target ontology return all triples from the redundant graph with specified subject and property and most specific subject class in the target ontology. Return should be a pandas dataframe of triples following standards established for all other pandasaurus queries.

  2. As 1, but given set set of objects, returning the most specific subject.

See https://api.triplydb.com/s/C3Nf1qnYu for example of SPARQL query logic (Needs modification to fit the above specs.

@dosumis dosumis mentioned this issue Aug 4, 2023
1 task
@dosumis dosumis changed the title Add redundancy stripping function that finds most specific object terms for any query of the redundant graph. Add redundancy stripping functions for UberGraph queries Aug 6, 2023
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 a pull request may close this issue.

1 participant