diff options
author | Munyoki Kilyungi | 2023-12-07 16:14:45 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-12-07 16:15:27 +0300 |
commit | 9d2fd59a7b4c7a6a269c33b16e956b4b5a975267 (patch) | |
tree | ac160a368f59f42def44b19e2e26d407c8095df5 /rdf-documentation/genotype-metadata.md | |
parent | bcbd7d5f4376edc552298d16801b2401710fff8b (diff) | |
download | gn-docs-9d2fd59a7b4c7a6a269c33b16e956b4b5a975267.tar.gz |
Update documentation.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'rdf-documentation/genotype-metadata.md')
-rw-r--r-- | rdf-documentation/genotype-metadata.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rdf-documentation/genotype-metadata.md b/rdf-documentation/genotype-metadata.md index 4ca1bd2..e64be09 100644 --- a/rdf-documentation/genotype-metadata.md +++ b/rdf-documentation/genotype-metadata.md @@ -13,7 +13,7 @@ The above query results to triples that have the form: ```text gn:Geno_name_ -> rdf:type -> gnc:Genotype -gn:Geno_name_ -> skos:prefLabel -> GenoName +gn:Geno_name_ -> rdfs:label -> GenoName gn:Geno_name_ -> gnt:chr -> Geno(Chr) gn:Geno_name_ -> gnt:mb -> "Mb"^^xsd:double gn:Geno_name_ -> gnt:mbMm8 -> "Mb_mm8"^^xsd:double @@ -36,11 +36,12 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> +PREFIX xkos: <http://rdf-vocabulary.ddialliance.org/xkos#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT * WHERE { ?s rdf:type gnc:Genotype . - ?s skos:prefLabel "D1Mit296" . + ?s rdfs:label "D1Mit296" . ?s gnt:chr "1" . ?s gnt:mb #{"9.749729"^^xsd:double}# . ?s ?p ?o . @@ -51,7 +52,7 @@ Expected Result: ```rdf gn:D1mit296 rdf:type gnc:Genotype . -gn:D1mit296 skos:prefLabel "D1Mit296" . +gn:D1mit296 rdfs:label "D1Mit296" . gn:D1mit296 gnt:chr "1" . gn:D1mit296 gnt:mb "9.749729"^^xsd:double . gn:D1mit296 gnt:mbMm8 "9.734943"^^xsd:double . |