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

FAQ section #68

Open
pablo-de-andres opened this issue Jan 19, 2021 · 2 comments
Open

FAQ section #68

pablo-de-andres opened this issue Jan 19, 2021 · 2 comments

Comments

@pablo-de-andres
Copy link
Member

Present the most important concepts in a Frequently Asked Questions section to simplify understanding

@pablo-de-andres pablo-de-andres added this to the v2.4.0 milestone Jan 19, 2021
@pablo-de-andres
Copy link
Member Author

@yoavnash and @urbanmatthias provided some initial questions:

Once an ontology is loaded via PICO into the OSP-core, are the CUDS the only way to interact with it?

Once the ontology is loaded, the user can interact with it similar to python classes. There is a rdflib triplestore in the background, but it is not recommended to access that as a user.

Is the ontology only kept in such graph (osp_ontologies) format? Is it your internal, proprietary representation?

~/.osp_ontologies is a directory where OSP-core moves the installed ontologies. In there is a graph.xml file which contains all installed ontologies in OWL format (i.e. non-proproetary)

Wouldn’t it be also possible for the OSP-core to manage an ontology directly from a triplestore?

It kind of does. The ontology is loaded in an rdflib triplestore and OSP core provides an interface to access it similar to python classes.

Let’s say that the system is running and individuals are created in the way we discussed (so some CUDS objects are created). Is there a way to export classes + individuals from the OIE in owl, for example, or other formats?

Yes, there is. See from osp.core.utils import get_rdf_graph, which returns an RDF graph.

@pablo-de-andres pablo-de-andres changed the title FAQ in contribute FAQ section Mar 23, 2021
@pablo-de-andres
Copy link
Member Author

Removed from contribute section as it might be more relevant in the introduction

@kysrpex kysrpex modified the milestones: v2.4.0, Sprint #1 Mar 26, 2021
@kysrpex kysrpex self-assigned this Mar 29, 2021
@kysrpex kysrpex removed their assignment Apr 12, 2021
@kysrpex kysrpex removed this from the Sprint #1 milestone Apr 12, 2021
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