-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the additional queries from the manuscript.
- Loading branch information
Sheeba Samuel
committed
Nov 21, 2024
1 parent
0369564
commit 908b5ae
Showing
25 changed files
with
93 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Match articles between FAIR Jupyter and MaRDI via DOI and get co-used software | ||
|
||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX wikibase: <http://wikiba.se/ontology#> | ||
PREFIX mardi_wd: <https://portal.mardi4nfdi.de/entity/> | ||
PREFIX mardi_wdt: <https://portal.mardi4nfdi.de/prop/direct/> | ||
|
||
PREFIX bd: <http://www.bigdata.com/rdf#> | ||
PREFIX wikibase: <http://wikiba.se/ontology#> | ||
|
||
SELECT DISTINCT ?title ?doi ?method ?methodLabel | ||
|
||
WHERE { | ||
?fj_article <https://w3id.org/reproduceme/doi> ?doi . | ||
|
||
service <http://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql> { | ||
?mardi_paper mardi_wdt:P27 ?doi . | ||
?mardi_paper mardi_wdt:P159 ?title . | ||
|
||
?mardi_paper mardi_wdt:P1463 ?method . | ||
?method rdfs:label ?methodLabel . | ||
} | ||
|
||
} | ||
LIMIT 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# GitHub repositories and their Software Heritage snapshot | ||
|
||
# List of GitHub repositories covered by https://doi.org/10.1093/gigascience/giad113 , | ||
# with pointers to their Software Heritage snapshots as per https://doi.org/10.5281/zenodo.12806151 | ||
|
||
SELECT DISTINCT | ||
(URI(?repo_url_base) AS ?GitHub_URL) | ||
(URI (CONCAT("https://archive.softwareheritage.org/browse/origin/directory/?origin_url=", ENCODE_FOR_URI(STR(?repo_url_base)))) AS ?SWH_URL) | ||
WHERE { | ||
?repository <https://w3id.org/reproduceme/url> ?repo_url_base . | ||
} | ||
ORDER BY ASC(?repo_url_base) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Articles and repositories with notebooks in Julia | ||
|
||
SELECT DISTINCT ?title | ||
(URI(CONCAT("https://www.ncbi.nlm.nih.gov/pmc/articles/PMC", STR(?pmcid))) AS ?PMC_URL) | ||
(URI(?repo_url_base) AS ?GitHub_URL) | ||
?Notebook_URL | ||
WHERE { | ||
?notebook a <https://w3id.org/reproduceme/Notebook> ; | ||
<https://w3id.org/reproduceme/language> "julia" . | ||
?notebook <http://purl.org/pav/retrievedFrom> ?repository . | ||
?article ^<http://purl.org/pav/retrievedFrom> ?repository . | ||
?article <https://w3id.org/reproduceme/pmc> ?pmcid . | ||
?article <http://www.w3.org/2000/01/rdf-schema#label> ?title . | ||
?notebook <http://www.w3.org/2000/01/rdf-schema#label> ?notebook_label . | ||
?repository <https://w3id.org/reproduceme/url> ?repo_url_base . | ||
BIND(URI(CONCAT( ?repo_url_base, "/blob/master/", ?notebook_label)) AS ?Notebook_URL) | ||
} | ||
ORDER BY DESC(?Notebook_URL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters