data getter sparql queries in the n3 files were using a technique that apparently is no longer supported; updated those and corresponding templates.

This commit is contained in:
tworrall 2013-12-19 10:36:42 -05:00
parent f5a8c5a7e6
commit 97095eeaba
2 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<section id="pageList">
<#list affiliatedResearchAreas as firstRow>
<#assign firstOrgLabel = firstRow["orgLabel"]?upper_case />
<#assign deptLink = "${urls.base}/individual?uri=${firstRow['orgURI']}" />
<#assign deptLink = "${urls.base}/individual?uri=${firstRow['org']}" />
<#assign i18TextString1 = "" />
<#if ( firstOrgLabel?index_of("THE") == 0 ) >
<#assign i18TextString1 = "${i18n().individuals_with_researh_area_one(firstRow['orgLabel'],deptLink)}" />

View file

@ -72,8 +72,8 @@ display:getResearchAreaDataGetter
?person
(str(?researchAreaLabel) AS ?raLabel)
(str(?organizationLabel) AS ?orgLabel)
?raURI
?orgURI
?ra
?org
WHERE {
?orgURI vivo:relatedBy ?posn .
?posn a vivo:Position .
@ -83,6 +83,8 @@ display:getResearchAreaDataGetter
?person rdfs:label ?prsnLabel .
?person vivo:hasResearchArea ?raURI .
?raURI rdfs:label ?researchAreaLabel
BIND(?raURI AS ?ra)
BIND(?orgURI AS ?org)
}
ORDER BY ?personLabel
""" ;