Skip to content

Commit

Permalink
Merge pull request #58 from casework/add_dataset_directory_links
Browse files Browse the repository at this point in the history
Add dataset directory links
  • Loading branch information
ajnelson-nist authored Jul 19, 2023
2 parents 435750b + d71f92d commit fa0b171
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
14 changes: 7 additions & 7 deletions catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Other reports are provided in [`../reports/`](../reports/).

## Datasets

| ?lDatasetDirectory | ?lDatasetTitle | ?lAccessLevel | ?nLandingPage |
|---------------------------|---------------------|-------------------|-----------------------------------------------------------------|
| crossover | Crossover CASE | public | https://caseontology.org/examples/crossover/ |
| dfrws2017-challenge | dfrws2017-challenge | public | https://github.com/dfrws/dfrws2017-challenge |
| digitalcorpora-android-10 | Android 10 | public | https://digitalcorpora.org/corpora/cell-phones/android-10/ |
| digitalcorpora-android-7 | Android 7 | public | https://digitalcorpora.org/corpora/cell-phones/android-7/ |
| real-data-corpus | Real Data Corpus | restricted public | https://digitalcorpora.org/corpora/disk-images/real-data-corpus |
| ?lLinkedDatasetDirectory | ?lDatasetTitle | ?lAccessLevel | ?nLandingPage |
|------------------------------------------------------------------|---------------------|-------------------|-----------------------------------------------------------------|
| [crossover](datasets/crossover/) | Crossover CASE | public | https://caseontology.org/examples/crossover/ |
| [dfrws2017-challenge](datasets/dfrws2017-challenge/) | dfrws2017-challenge | public | https://github.com/dfrws/dfrws2017-challenge |
| [digitalcorpora-android-10](datasets/digitalcorpora-android-10/) | Android 10 | public | https://digitalcorpora.org/corpora/cell-phones/android-10/ |
| [digitalcorpora-android-7](datasets/digitalcorpora-android-7/) | Android 7 | public | https://digitalcorpora.org/corpora/cell-phones/android-7/ |
| [real-data-corpus](datasets/real-data-corpus/) | Real Data Corpus | restricted public | https://digitalcorpora.org/corpora/disk-images/real-data-corpus |
12 changes: 11 additions & 1 deletion catalog/datasets.sparql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SELECT ?lDatasetDirectory ?lDatasetTitle ?lAccessLevel ?nLandingPage
SELECT ?lLinkedDatasetDirectory ?lDatasetTitle ?lAccessLevel ?nLandingPage
WHERE {
?nDataset
a/rdfs:subClassOf* dcat:Dataset ;
Expand All @@ -7,5 +7,15 @@ WHERE {
dcterms:title ?lDatasetTitle ;
pod:accessLevel ?lAccessLevel ;
.
BIND(
CONCAT(
"[",
?lDatasetDirectory,
"](datasets/",
?lDatasetDirectory,
"/)"
)
AS ?lLinkedDatasetDirectory
)
}
ORDER BY ?lDatasetDirectory ?lDatasetTitle ?nLandingPage

0 comments on commit fa0b171

Please sign in to comment.