Skip to content

Commit

Permalink
folder rename
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinm2 committed Oct 30, 2024
1 parent b55c51a commit c69c90e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
]
}
1 change: 1 addition & 0 deletions examples/AOPWiki/AOPWikiSNORQL
Submodule AOPWikiSNORQL added at a00445
26 changes: 26 additions & 0 deletions examples/AOPWiki/query1.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

@prefix ex: <https://bigcat-um.github.io/sparql-examples/AOP-Wiki/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

# SPARQL executable metadata
ex:1 a sh:SPARQLExecutable,
sh:SPARQLSelectExecutable ;
rdfs:comment "[fill out comment here]"@en ;
sh:prefixes _:sparql_examples_prefixes ;
sh:select """SELECT ?AO ?AOname ?AOP (CONCAT('"',GROUP_CONCAT(?ChemicalName;SEPARATOR='","'),'"') AS ?ChemicalNames) WHERE {
?AO a aopo:KeyEvent ;
dc:identifier ?AOLookup ;
dc:title ?AOname .
?AOP a aopo:AdverseOutcomePathway ;
aopo:has_adverse_outcome ?AOLookup ;
nci:C54571 ?Stressor .
?Stressor dc:title ?StressorName.
OPTIONAL {?Stressor aopo:has_chemical_entity ?Chemical.
?Chemical dc:title ?ChemicalName.}
FILTER regex (?AOname, "fibrosis", "i")}
ORDER BY DESC (?AO)""" ;
schema:target <https://aopwiki.rdf.bigcat-bioinformatics.org/sparql/> ;
dc:contributor "Marvin Martens" .

0 comments on commit c69c90e

Please sign in to comment.