https://github.com/zachcp/sparql-explore
explorations with sparql
https://github.com/zachcp/sparql-explore
chembl pubchem sparql uniprot
Last synced: 11 months ago
JSON representation
explorations with sparql
- Host: GitHub
- URL: https://github.com/zachcp/sparql-explore
- Owner: zachcp
- Created: 2022-08-31T19:47:37.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-17T18:25:52.000Z (over 3 years ago)
- Last Synced: 2025-06-28T12:13:17.350Z (11 months ago)
- Topics: chembl, pubchem, sparql, uniprot
- Language: Clojure
- Homepage: https://zachcp.github.io/sparql-explore/
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sparql-explore/sparql-explore
Exploration of the UNIPROT SPARQL interface by way
of copying/translating the [SPARQL examples](https://sparql.uniprot.org/.well-known/sparql-examples/)
into [flint](https://github.com/yetanalytics/flint), a really nice clojure SPARQL DSL. I
also borrowed a number of functions from [Mundaneum](https://github.com/jackrusher/mundaneum), Jack Rusher's
excellent SPARQL DSL for wikidata.
Queries and data rendered [online](https://zachcp.github.io/sparql-explore/#/notebooks/explore.clj) using [Clerk](https://github.com/nextjournal/clerk).
## The Setup
1. create new clj app with `neil`
2. modify `deps.edn` to copy the Mundaneum repo.
3. open VSCode/calva and start repl.
4. start adding UNIPROT examples
5. git commit / push/ and serve.
```sh
lein new app sparql-explore
```
## Simple Deploy
```
# build in repl with the notebooks/build_notebooks.clj
cp public/build/index.html docs.index.html
# git commit / push
```