VIVO-285: visualization updates for ISF
This commit is contained in:
parent
d71c995e0e
commit
83b3f755d5
27 changed files with 2743 additions and 2524 deletions
|
@ -25,11 +25,14 @@
|
|||
?dateTimeEnd
|
||||
|
||||
WHERE {
|
||||
?subject ?property ?advisory
|
||||
?subject ?property ?advisory .
|
||||
?advisory core:relates ?advisor .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
LET ( ?localName := afn:localname(?advisory) )
|
||||
OPTIONAL { ?advisory rdfs:label ?advisoryLabel }
|
||||
OPTIONAL { ?advisory core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole
|
||||
OPTIONAL { ?advisee rdfs:label ?adviseeLabel }
|
||||
}
|
||||
OPTIONAL { ?advisory core:relates ?degree .
|
||||
|
@ -74,7 +77,10 @@
|
|||
?subject ?property ?advisory .
|
||||
?advisory a core:AdvisingRelationship .
|
||||
?advisory ?advisoryProperty ?advisoryValue .
|
||||
?advisory rdfs:label ?advisoryLabel
|
||||
?advisory rdfs:label ?advisoryLabel .
|
||||
?advisory core:relates ?advisor .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?advisory .
|
||||
|
@ -88,10 +94,23 @@
|
|||
?advisory a core:AdvisingRelationship .
|
||||
?advisory ?advisoryProperty ?advisoryValue .
|
||||
?advisory rdfs:label ?advisoryLabel
|
||||
} UNION {
|
||||
?subject ?property ?advisory .
|
||||
?advisory a core:AdvisingRelationship .
|
||||
?advisory ?advisoryProperty ?advisoryValue .
|
||||
?advisory core:relates ?advisor .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
OPTIONAL { ?advisory core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole
|
||||
|
||||
|
||||
|
||||
<query-construct>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
@ -104,6 +123,8 @@
|
|||
?advisory core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee rdfs:label ?adviseeLabel .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?advisory core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
|
@ -117,11 +138,15 @@
|
|||
?advisory a core:AdvisingRelationship .
|
||||
?advisory core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole
|
||||
} UNION {
|
||||
?subject ?property ?advisory .
|
||||
?advisory a core:AdvisingRelationship .
|
||||
?advisory core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?advisee rdfs:label ?adviseeLabel
|
||||
} UNION {
|
||||
?subject ?property ?advisory .
|
||||
|
|
|
@ -3,12 +3,14 @@
|
|||
<#-- Template for sparkline visualization on individual profile page -->
|
||||
|
||||
<#-- Determine whether this person is an author -->
|
||||
<#assign isAuthor = p.hasStatements(propertyGroups, "${core}authorInAuthorship") />
|
||||
<#assign isAuthor = p.hasVisualizationStatements(propertyGroups, "${core}relatedBy", "${core}Authorship") />
|
||||
|
||||
<#-- Determine whether this person is involved in any grants -->
|
||||
<#assign isInvestigator = ( p.hasStatements(propertyGroups, "${core}hasInvestigatorRole") ||
|
||||
p.hasStatements(propertyGroups, "${core}hasPrincipalInvestigatorRole") ||
|
||||
p.hasStatements(propertyGroups, "${core}hasCo-PrincipalInvestigatorRole") ) >
|
||||
<#assign obo_RO53 = "http://purl.obolibrary.org/obo/RO_0000053">
|
||||
|
||||
<#assign isInvestigator = ( p.hasVisualizationStatements(propertyGroups, "${obo_RO53}", "${core}InvestigatorRole") ||
|
||||
p.hasVisualizationStatements(propertyGroups, "${obo_RO53}", "${core}PrincipalInvestigatorRole") ||
|
||||
p.hasVisualizationStatements(propertyGroups, "${obo_RO53}", "${core}CoPrincipalInvestigatorRole") ) >
|
||||
|
||||
<#if (isAuthor || isInvestigator)>
|
||||
|
||||
|
@ -70,4 +72,4 @@
|
|||
<div class="collaboratorship-link"><a href="${coInvestigatorVisUrl}" title="${i18n().co_investigator_network}">${i18n().co_investigator_network_capitalized}</a></div>
|
||||
</div>
|
||||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<h1 id="noPubsOrGrants-header">${organizationLabel}</h1>
|
||||
|
||||
<h3 id="alternative-vis-info">${textForCurrentEntityComparisonType?capitalize} ${i18n().temporal_graph_capitalized}
|
||||
<span id="noPubsOrGrants-span">| <a href="${temporalGraphURL}" title="${i18n().view}">${i18n().view} ${textForOtherEntityComparisonType} ${i18n().temporal_graph}</a></span>
|
||||
<span id="noPubsOrGrants-span">| <a href="${temporalGraphURL}" title="${i18n().view}">${i18n().view} ${textForOtherEntityComparisonType} ${i18n().temporal_graph}</a></span>
|
||||
</h3>
|
||||
<div id="error-body">
|
||||
<p>${i18n().entity_comp_error_text1}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<h2>${i18n().visualization_tools}</h2>
|
||||
|
||||
<a href="${refreshCacheURL}">${i18n().refresh_cached_vis_model}</a>
|
||||
<a href="${refreshCacheURL}">${i18n().refresh_cached_vis_models}</a>
|
||||
<section class="visualizationTools">
|
||||
<h3>${i18n().why_needed}</h3>
|
||||
<p>${i18n().vis_tools_note_one}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue