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.
Update process participant nested object (#236)
* Update process participant nested object * Update meta templates to not expect trailing forward slash in UI URL * Remove other research activities from person display view
- Loading branch information
William Welling
authored
Jan 11, 2023
1 parent
a983825
commit bcbfbfc
Showing
14 changed files
with
37 additions
and
17 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
2 changes: 1 addition & 1 deletion
2
src/main/resources/defaults/displayViews/collections/meta/url.txt
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/defaults/displayViews/documents/meta/url.txt
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/defaults/displayViews/organizations/meta/url.txt
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/defaults/displayViews/processes/meta/url.txt
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/defaults/displayViews/processes/overview/participants.html
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
2 changes: 1 addition & 1 deletion
2
src/main/resources/defaults/displayViews/relationships/meta/url.txt
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 +1 @@ | ||
{{uiUrl}}display/{{id}} | ||
{{uiUrl}}/display/{{id}} |
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
12 changes: 12 additions & 0 deletions
12
src/main/resources/templates/sparql/process/participantId.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PREFIX obo: <http://purl.obolibrary.org/obo/> | ||
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
|
||
CONSTRUCT { | ||
?participant obo:RO_0000052 ?participantIdWithId . | ||
} WHERE { | ||
<{{uri}}> obo:BFO_0000055 ?participant . | ||
?participant obo:RO_0000052 ?person . | ||
?person a foaf:Person . | ||
BIND( CONCAT( STR(?person), REPLACE(STR(?participant), "(^.*/)", "::") ) AS ?participantIdWithId ) . | ||
} |
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