forked from vivo-community/scholars-discovery
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring sparql templates for harvest optimization
- Loading branch information
Showing
432 changed files
with
597 additions
and
553 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
4 changes: 2 additions & 2 deletions
4
src/main/resources/templates/sparql/collection/abbreviation.sparql
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX vivo: <http://vivoweb.org/ontology/core#> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> vivo:abbreviation ?abbreviation . | ||
{{subject}} vivo:abbreviation ?abbreviation . | ||
} WHERE { | ||
<{{uri}}> vivo:abbreviation ?abbreviation . | ||
{{subject}} vivo:abbreviation ?abbreviation . | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/resources/templates/sparql/collection/abstract.sparql
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX bibo: <http://purl.org/ontology/bibo/> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> bibo:abstract ?abstract . | ||
{{subject}} bibo:abstract ?abstract . | ||
} WHERE { | ||
<{{uri}}> bibo:abstract ?abstract . | ||
{{subject}} bibo:abstract ?abstract . | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX bibo: <http://purl.org/ontology/bibo/> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> bibo:doi ?doi . | ||
{{subject}} bibo:doi ?doi . | ||
} WHERE { | ||
<{{uri}}> bibo:doi ?doi . | ||
{{subject}} bibo:doi ?doi . | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX bibo: <http://purl.org/ontology/bibo/> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> bibo:eissn ?eissn . | ||
{{subject}} bibo:eissn ?eissn . | ||
} WHERE { | ||
<{{uri}}> bibo:eissn ?eissn . | ||
{{subject}} bibo:eissn ?eissn . | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX bibo: <http://purl.org/ontology/bibo/> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> bibo:issn ?issn . | ||
{{subject}} bibo:issn ?issn . | ||
} WHERE { | ||
<{{uri}}> bibo:issn ?issn . | ||
{{subject}} bibo:issn ?issn . | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/resources/templates/sparql/collection/keyword.sparql
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX vivo: <http://vivoweb.org/ontology/core#> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> vivo:freetextKeyword ?freetextKeyword . | ||
{{subject}} vivo:freetextKeyword ?freetextKeyword . | ||
} WHERE { | ||
<{{uri}}> vivo:freetextKeyword ?freetextKeyword . | ||
{{subject}} vivo:freetextKeyword ?freetextKeyword . | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> rdfs:label ?label . | ||
{{subject}} rdfs:label ?label . | ||
} WHERE { | ||
<{{uri}}> rdfs:label ?label . | ||
{{subject}} rdfs:label ?label . | ||
FILTER (lang(?label) = '') | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/resources/templates/sparql/collection/oclcnum.sparql
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX bibo: <http://purl.org/ontology/bibo/> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> bibo:oclcnum ?oclcnum . | ||
{{subject}} bibo:oclcnum ?oclcnum . | ||
} WHERE { | ||
<{{uri}}> bibo:oclcnum ?oclcnum . | ||
{{subject}} bibo:oclcnum ?oclcnum . | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> vitro:modTime ?modTime . | ||
{{subject}} vitro:modTime ?modTime . | ||
} WHERE { | ||
<{{uri}}> vitro:modTime ?modTime . | ||
{{subject}} vitro:modTime ?modTime . | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> | ||
|
||
CONSTRUCT { | ||
<{{uri}}> vitro:mostSpecificType ?mostSpecificType . | ||
{{subject}} vitro:mostSpecificType ?mostSpecificType . | ||
} WHERE { | ||
<{{uri}}> vitro:mostSpecificType ?mostSpecificType . | ||
{{subject}} vitro:mostSpecificType ?mostSpecificType . | ||
} |
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
Oops, something went wrong.