aboutsummaryrefslogtreecommitdiff
path: root/rdf-documentation/dump-tissue.md
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-07-20 09:25:18 +0300
committerMunyoki Kilyungi2023-07-20 09:25:18 +0300
commit0e9401165a0c3ad2b891c01efc485431f3229ef8 (patch)
tree1ffcab85eddaecc4ad7cf479da61751a90f93e81 /rdf-documentation/dump-tissue.md
parent6c512931b5b673e76bd57fe3f166e526b383088d (diff)
downloadgn-docs-0e9401165a0c3ad2b891c01efc485431f3229ef8.tar.gz
Update metadata information
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'rdf-documentation/dump-tissue.md')
-rw-r--r--rdf-documentation/dump-tissue.md16
1 files changed, 6 insertions, 10 deletions
diff --git a/rdf-documentation/dump-tissue.md b/rdf-documentation/dump-tissue.md
index dd64f83..12271e8 100644
--- a/rdf-documentation/dump-tissue.md
+++ b/rdf-documentation/dump-tissue.md
@@ -1,11 +1,7 @@
# Tissue Metadata
## 'dump-tissue'
-## Schema Triples:
-```text
-gn-term:name -> rdfs:range -> rdfs:Literal
-```
## Generated Triples:
The following SQL query was executed:
@@ -17,19 +13,19 @@ SELECT Tissue.Short_Name, Tissue.Name FROM Tissue
The above query results to triples that have the form:
```text
-gn-id:tissue_tissue_short_name -> rdf:type -> gn-id:tissue
-gn-id:tissue_tissue_short_name -> gn-term:name -> Tissue(Name)
+gn:tissue_tissue_short_name -> rdf:type -> gn:tissue
+gn:tissue_tissue_short_name -> gn-term:name -> Tissue(Name)
```
Here's an example query:
```sparql
-@prefix gn-id: <http://genenetwork.org/terms/> .
+@prefix gn: <http://genenetwork.org/id/> .
@prefix gn-term: <http://genenetwork.org/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
SELECT ?s ?p ?o WHERE {
- ?s rdf:type gn-id:tissue .
+ ?s rdf:type gn:tissue .
?s gn-term:name "Brain mRNA" .
?s ?p ?o .
}
@@ -38,7 +34,7 @@ SELECT ?s ?p ?o WHERE {
Expected Result:
```rdf
-gn-id:tissue_brn rdf:type gn-id:tissue .
-gn-id:tissue_brn gn-term:name "Brain mRNA" .
+gn:tissue_brn rdf:type gn:tissue .
+gn:tissue_brn gn-term:name "Brain mRNA" .
```