2011-10-20 16:41:26 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
|
|
|
|
|
|
|
<list-view-config>
|
|
|
|
<query-select>
|
|
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
|
|
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
|
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
|
|
|
|
SELECT DISTINCT <collated>?subclass</collated>
|
|
|
|
?advisory
|
|
|
|
?advisoryLabel
|
|
|
|
?localName
|
|
|
|
?advisee
|
|
|
|
?adviseeLabel
|
|
|
|
?degreeLabel
|
|
|
|
?degreeAbbr
|
|
|
|
?dateTimeStart
|
|
|
|
?dateTimeEnd
|
|
|
|
|
|
|
|
WHERE {
|
|
|
|
?subject ?property ?advisory
|
|
|
|
LET ( ?localName := afn:localname(?advisory) )
|
|
|
|
OPTIONAL { ?advisory rdfs:label ?advisoryLabel }
|
|
|
|
OPTIONAL { ?advisory core:advisee ?advisee
|
|
|
|
OPTIONAL { ?advisee rdfs:label ?adviseeLabel }
|
|
|
|
}
|
|
|
|
OPTIONAL { ?advisory core:degreeCandidacy ?degree
|
|
|
|
OPTIONAL { ?degree rdfs:label ?degreeLabel }
|
|
|
|
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
|
|
|
|
}
|
|
|
|
<collated>
|
2011-10-25 20:45:13 +00:00
|
|
|
OPTIONAL { ?advisory vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf core:AdvisingRelationship
|
|
|
|
}
|
2011-10-20 16:41:26 +00:00
|
|
|
</collated>
|
|
|
|
OPTIONAL { ?advisory core:dateTimeInterval ?dateTimeInterval
|
|
|
|
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
|
|
}
|
|
|
|
}
|
|
|
|
OPTIONAL { ?advisory core:dateTimeInterval ?dateTimeInterval
|
|
|
|
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
|
|
|
|
</query-select>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subclass rdfs:subClassOf core:AdvisingRelationship
|
|
|
|
} WHERE {
|
|
|
|
?subclass rdfs:subClassOf core:AdvisingRelationship
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory ?advisoryProperty ?advisoryValue .
|
|
|
|
?advisory rdfs:label ?advisoryLabel
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?advisory
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory ?advisoryProperty ?advisoryValue
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory ?advisoryProperty ?advisoryValue .
|
|
|
|
?advisory rdfs:label ?advisoryLabel
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
|
|
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory core:advisee ?advisee .
|
|
|
|
?advisee rdfs:label ?adviseeLabel .
|
|
|
|
?advisory core:degreeCandidacy ?degree .
|
|
|
|
?degree rdfs:label ?degreeLabel .
|
|
|
|
?degree core:abbreviation ?degreeAbbr
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?advisory
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory.
|
|
|
|
?advisory core:advisee ?advisee
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory core:advisee ?advisee .
|
|
|
|
?advisee rdfs:label ?adviseeLabel
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory core:degreeCandidacy ?degree
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory core:degreeCandidacy ?degree .
|
|
|
|
?degree rdfs:label ?degreeLabel
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?advisory .
|
|
|
|
?advisory core:degreeCandidacy ?degree .
|
|
|
|
?degree rdfs:label ?degreeLabel .
|
|
|
|
?degree core:abbreviation ?degreeAbbr
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?award .
|
|
|
|
?award core:dateTimeInterval ?dateTimeInterval .
|
|
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?award .
|
|
|
|
?award core:dateTimeInterval ?dateTimeInterval .
|
|
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?award .
|
|
|
|
?award core:dateTimeInterval ?dateTimeInterval .
|
|
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?award .
|
|
|
|
?award core:dateTimeInterval ?dateTimeInterval .
|
|
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<template>propStatement-advisorIn.ftl</template>
|
|
|
|
</list-view-config>
|