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

Fix markdown formatting in vocabularies/README.md #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
14 changes: 8 additions & 6 deletions vocabularies/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#Blazegraph Vocabularies
# Blazegraph Vocabularies

Blazegraph Custom Vocabularies and Inline URI factories are a great way to get the best load and query performance from Blazegraph. This package contains some commonly used vocabularies for public data sets.

##Pubchem
## Pubchem

The [Pubchem](https://pubchem.ncbi.nlm.nih.gov/rdf/) data set is widely used in industry and research.

_PubChemRDF content includes a number of semantic relationships, such as those between compounds and substances, the chemical descriptors associated with compounds and substances, the relationships between compounds, the provenance and attribution metadata of substances, and the concise bioactivity data view of substances._
Expand All @@ -14,11 +16,11 @@ com.bigdata.rdf.store.AbstractTripleStore.inlineURIFactory=com.blazegraph.vocab.
com.bigdata.rdf.store.AbstractTripleStore.vocabularyClass=com.blazegraph.vocab.pubchem.PubChemVocabulary
```

###An example with Pubchem Core
### An example with Pubchem Core

Download the core Pubchem subset based on the [examples](https://pubchem.ncbi.nlm.nih.gov/rdf/#_Toc421254667). For this example, we'll use `/path/to/pubchem-core/`.

```
```sh
#!/bin/sh
wget -r -A ttl.gz -nH --cut-dirs=3 -P compound ftp://ftp.ncbi.nlm.nih.gov/pubchem/RDF/compound/general
wget -r -A ttl.gz -nH --cut-dirs=2 ftp://ftp.ncbi.nlm.nih.gov/pubchem/RDF/substance
Expand All @@ -44,7 +46,7 @@ Use the BulkLoader with the example [pubchem properties](src/main/resources/name

Update the file below `dataloader.xml` with your local configuration for `pubchem.properties` and the `/path/to/pubchem/core` as well as any other configuration for your local machine.

```
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
Expand Down Expand Up @@ -75,7 +77,7 @@ Update the file below `dataloader.xml` with your local configuration for `pubche

Then post it into your running instance.

```
```sh
curl -X POST --data-binary @dataloader.xml --header 'Content-Type:application/xml' http://localhost:9999/blazegraph/dataloader
```

Expand Down