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

Rhea SPARQL Endpoint #1

Open
DeniseSl22 opened this issue Feb 8, 2018 · 0 comments
Open

Rhea SPARQL Endpoint #1

DeniseSl22 opened this issue Feb 8, 2018 · 0 comments

Comments

@DeniseSl22
Copy link
Contributor

Hi!

Rhea just created their own RDF with a SPARQL endpoint. Query to obtain linkouts to other reaction database IDs:

PREFIX rh:<http://rdf.rhea-db.org/>
SELECT ?reaction ?xref WHERE {
?reaction rdfs:subClassOf rh:Reaction .
?reaction rh:directionalReaction ?directionalReaction .
OPTIONAL { ?directionalReaction rdfs:seeAlso ?xref . }
?reaction rh:bidirectionalReaction ?bidirectionalReaction .
OPTIONAL { ?bidirectionalReaction rdfs:seeAlso ?xref . }

}

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

1 participant