From e42554bb4e86741337b40e6de02ebc883e8d3ed6 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 4 Apr 2023 21:14:20 +0300 Subject: Add a single example of querying SPARQL Signed-off-by: Munyoki Kilyungi --- topics/RDF/generif-sparql-queries.gmi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 topics/RDF/generif-sparql-queries.gmi (limited to 'topics/RDF') diff --git a/topics/RDF/generif-sparql-queries.gmi b/topics/RDF/generif-sparql-queries.gmi new file mode 100644 index 0000000..b54373c --- /dev/null +++ b/topics/RDF/generif-sparql-queries.gmi @@ -0,0 +1,7 @@ +# Querying SPARQL in GeneRIF + + +=> https://sparql.genenetwork.org/sparql?default-graph-uri=http%3A%2F%2Fgenenetwork.org&qtxt=PREFIX%20gn%3A%20%3Chttp%3A%2F%2Fgenenetwork.org%2F%3E%0APREFIX%20dct%3A%20%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0A%0ASELECT%20%3Fgenerif%20%3FgnEntry%20%3FcreatedOn%20%3Fpmid%20WHERE%20%7B%0A%3Fgenerif%20gn%3Asymbol%20%3Fsymbol%20.%0A%3Fgenerif%20gn%3AWikiEntryOfNCBI%20%5B%20gn%3AgeneWikiEntry%20%3FgnEntry%20%3B%20dct%3Acreated%20%3FcreatedOn%3B%20dct%3Asource%20%3Fpmid%5D%20.%0AFILTER(%20lcase(%3Fsymbol)%20%3D%20%22shh%22)%0A%7D%20ORDER%20BY%20ASC(%3FcreatedOn)&format=text%2Fhtml&timeout=0&signal_void=on Get all GN entered GeneWiki metadata for a particular symbol E.g. Shh. + + + -- cgit v1.2.3