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:05:31 -05:00
parent ef9fd69285
commit f5a8c5a7e6
5 changed files with 88 additions and 86 deletions

View file

@ -65,8 +65,8 @@ display:getDepartmentDataGetter
?person
(Str(?researchAreaLabel) AS ?raLabel)
(str(?departmentLabel) AS ?orgLabel)
?raURI
?orgURI
?ra
?org
WHERE {
?orgURI vivo:relatedBy ?posn .
?posn a vivo:Position .
@ -76,6 +76,8 @@ display:getDepartmentDataGetter
?person rdfs:label ?prsnLabel .
?person vivo:hasResearchArea ?raURI .
?raURI rdfs:label ?researchAreaLabel
BIND(?raURI AS ?ra)
BIND(?orgURI AS ?org)
}
ORDER BY ?personLabel

View file

@ -107,9 +107,8 @@ display:getResearchAreaDataGetter
SELECT DISTINCT (str (?prsnLabel) AS ?personLabel)
?person
(Str(?researchAreaLabel) AS ?raLabel)
(str(?departmentLabel) AS ?orgLabel)
?raURI
?orgURI
(str(?organizationLabel) AS ?orgLabel)
?ra
WHERE {
?orgURI vivo:relatedBy ?posn .
?posn a vivo:Position .
@ -119,6 +118,7 @@ display:getResearchAreaDataGetter
?person rdfs:label ?prsnLabel .
?person vivo:hasResearchArea ?raURI .
?raURI rdfs:label ?researchAreaLabel
BIND(?raURI AS ?ra)
}
ORDER BY ?personLabel