VIVO-473 Fix "short views" test case to work with ISF
This commit is contained in:
parent
aeb89a9adf
commit
b435a487bf
1 changed files with 6 additions and 4 deletions
|
@ -52,9 +52,10 @@ mydomain:facultyDepartmentDG
|
||||||
display:query """
|
display:query """
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||||
SELECT ?deptName
|
SELECT ?deptName
|
||||||
WHERE {
|
WHERE {
|
||||||
?individualUri vivo:hasMemberRole ?membership .
|
?individualUri obo:RO_0000053 ?membership .
|
||||||
?membership vivo:roleContributesTo ?deptUri .
|
?membership vivo:roleContributesTo ?deptUri .
|
||||||
?deptUri
|
?deptUri
|
||||||
a vivo:AcademicDepartment ;
|
a vivo:AcademicDepartment ;
|
||||||
|
@ -98,11 +99,11 @@ mydomain:departmentLocationDG
|
||||||
display:saveToVar "locations" ;
|
display:saveToVar "locations" ;
|
||||||
display:query """
|
display:query """
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||||
SELECT ?label
|
SELECT ?label
|
||||||
WHERE
|
WHERE
|
||||||
{
|
{
|
||||||
?location vivo:geographicLocationOf ?individualUri ;
|
?location obo:RO_0001015 ?individualUri ;
|
||||||
rdfs:label ?label .
|
rdfs:label ?label .
|
||||||
}
|
}
|
||||||
LIMIT 20
|
LIMIT 20
|
||||||
|
@ -113,12 +114,13 @@ mydomain:departmentHeadDG
|
||||||
display:saveToVar "deptHead" ;
|
display:saveToVar "deptHead" ;
|
||||||
display:query """
|
display:query """
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||||
SELECT ?label
|
SELECT ?label
|
||||||
WHERE
|
WHERE
|
||||||
{
|
{
|
||||||
?individualUri vivo:contributingRole ?role .
|
?individualUri vivo:contributingRole ?role .
|
||||||
?role vivo:leaderRoleOf ?head .
|
?role obo:RO_0000052 ?head .
|
||||||
?head rdfs:label ?label .
|
?head rdfs:label ?label .
|
||||||
}
|
}
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue