diff options
author | Munyoki Kilyungi | 2023-08-24 13:08:59 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-08-24 13:09:20 +0300 |
commit | edca04399ae950698a89a64160cd35f6164f4b1c (patch) | |
tree | d9367d9bb35e00e0af2681437c6b53fa06902fc1 /rdf-documentation/tissue-metadata.md | |
parent | 04fccc0b9d0cdee9679a8682f825e605e7368bd3 (diff) | |
download | gn-docs-edca04399ae950698a89a64160cd35f6164f4b1c.tar.gz |
Update autogenerated docs
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'rdf-documentation/tissue-metadata.md')
-rw-r--r-- | rdf-documentation/tissue-metadata.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/rdf-documentation/tissue-metadata.md b/rdf-documentation/tissue-metadata.md new file mode 100644 index 0000000..3c4fae9 --- /dev/null +++ b/rdf-documentation/tissue-metadata.md @@ -0,0 +1,41 @@ +# Tissue Metadata +## 'tissue' + +## Generated Triples: + +The following SQL query was executed: + +```sql +SELECT Tissue.Short_Name, Tissue.Name FROM Tissue +``` + +The above query results to triples that have the form: + +```text +gn:tissue_tissue_short_name -> rdf:type -> gnc:tissue +gn:tissue_tissue_short_name -> rdfs:label -> Tissue(Name) +``` +Here's an example query: + +```sparql +PREFIX gn: <http://genenetwork.org/id/> +PREFIX gnt: <http://genenetwork.org/terms/> +PREFIX skos: <http://www.w3.org/2004/02/skos/core#> +PREFIX gnc: <http://genenetwork.org/category/> +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> +PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> + +SELECT * WHERE { + ?s rdf:type gnc:tissue . + ?s rdfs:label "Brain mRNA" . + ?s ?p ?o . +} +``` + +Expected Result: + +```rdf +gn:tissue_brn rdf:type gnc:tissue . +gn:tissue_brn rdfs:label "Brain mRNA" . +``` + |