Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kb-data-extracts

Queries (primarily in SPARQL) for data extracts, summaries, reports, etc from the RDF graph in the Phenoscape Knowledgebase (KB).

Submitting queries

SPARQL queries can be submitted from the command line using curl:

$ curl -X POST --data-binary @search_character_descriptions.rq \
               --header "Content-Type: application/sparql-query" \
               --header "Accept: text/tab-separated-values" \
               http://localhost:8080/bigdata/sparql > result.txt

You will need to replace the endpoint URI (http://localhost:8080/bigdata/sparql in the command line example above) with the correct location of the SPARQL service.

You can also interactively enter the query and modify it iteratively based on results, for example using YASGUI. (You will need to provide the SPARQL endpoint, see below.)

Phenoscape KB SPARQL endpoint

The public SPARQL endpoint for the Phenoscape KB is currently at http://kb-dev.phenoscape.org/bigsparql. Note that dereferencing this URL will download the dataset descriptions (using VoID) in RDF format, the size of which is already significant (>50MB).

About

Queries (primarily in SPARQL) for data extraction from the Phenoscape KB

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages