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

Update taxa_with_state.rq #7

Merged
merged 2 commits into from
Nov 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions taxa_with_state.rq
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX StandardState: <http://purl.obolibrary.org/obo/CDAO_0000045>
PREFIX bd: <http://www.bigdata.com/rdf/search#>
# Replace the prefix value with the state URI of interest
# These URIs are not persistent across KB updates; this example will return no
# results unless you provide a valid state URI.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to just randomly sample (e.g., take the first one) from a list of character state URIs? That's assuming that there is no such thing as a character state URI in the database for which there wouldn't be rows in the result.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an interesting idea—it can probably be done.

PREFIX characterstate: <http://purl.org/phenoscape/uuid/528ce2b2-1710-4ea4-87da-ee7ec4a9bc57>
PREFIX has_state: <http://purl.obolibrary.org/obo/CDAO_0000184>
PREFIX has_tu: <http://purl.obolibrary.org/obo/CDAO_0000208>
Expand Down