updates to list view queries and constructs; includes fix for VIVO-399
This commit is contained in:
parent
55670d67dd
commit
48cf67e98a
20 changed files with 77 additions and 323 deletions
|
@ -109,6 +109,7 @@ websites = Websites
|
|||
advisee_label = etiqueta aconsejado
|
||||
advisor_label = etiqueta asesor
|
||||
candidate = candidato
|
||||
candidate = candidatura
|
||||
advisingRel_label = Etiqueta de advertencia
|
||||
|
||||
editor_abbreviated = Ed.
|
||||
|
|
|
@ -7,13 +7,14 @@
|
|||
<query-select>
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
|
||||
SELECT DISTINCT ?vcard ?email
|
||||
SELECT DISTINCT ?vcard
|
||||
?email
|
||||
?emailAddress
|
||||
WHERE {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasEmail ?email
|
||||
OPTIONAL { ?email vcard:email ?emailAddress }
|
||||
MINUS {?email a vcard:Work}
|
||||
?vcard vcard:hasEmail ?email .
|
||||
?email vcard:email ?emailAddress
|
||||
MINUS {?email a vcard:Work}
|
||||
}
|
||||
</query-select>
|
||||
|
||||
|
@ -24,16 +25,9 @@
|
|||
?vcard vcard:hasEmail ?email .
|
||||
?email ?emailProperty ?emailValue
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?vcard
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasEmail ?email
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasEmail ?email .
|
||||
?email ?emailProperty ?emailValue
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
|
|
@ -33,14 +33,11 @@
|
|||
OPTIONAL { ?advisingRel rdfs:label ?advisingRelLabel }
|
||||
OPTIONAL { ?advisingRel core:relates ?advisor .
|
||||
?advisor a foaf:Person .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
OPTIONAL { ?advisor rdfs:label ?advisorLabel }
|
||||
}
|
||||
OPTIONAL { ?advisingRel core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
OPTIONAL { ?degree rdfs:label ?degreeLabel }
|
||||
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
|
||||
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
?degree core:abbreviation ?degreeAbbr
|
||||
}
|
||||
<collated>
|
||||
OPTIONAL { ?advisingRel vitro:mostSpecificType ?subclass .
|
||||
|
@ -76,31 +73,18 @@
|
|||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel ?advisingRelProperty ?advisingRelValue .
|
||||
?advisingRel rdfs:label ?advisingRelLabel .
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel ?advisingRelProperty ?advisingRelValue
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel ?advisingRelProperty ?advisingRelValue .
|
||||
?advisingRel rdfs:label ?advisingRelLabel
|
||||
|
@ -118,15 +102,13 @@
|
|||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?advisor .
|
||||
?advisor a foaf:Person .
|
||||
?advisor rdfs:label ?advisorLabel .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
?advisor rdfs:label ?advisorLabel .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisingRel core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?advisingRel core:degreeCandidacy ?degree .
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
?degree core:abbreviation ?degreeAbbr
|
||||
} WHERE {
|
||||
|
@ -134,54 +116,23 @@
|
|||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?advisor .
|
||||
?advisor a foaf:Person .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?advisor .
|
||||
?advisor a foaf:Person .
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisor rdfs:label ?advisorLabel
|
||||
} UNION {
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?degree rdfs:label ?degreeLabel
|
||||
} UNION {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?advisingRel core:degreeCandidacy ?degree .
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
?degree core:abbreviation ?degreeAbbr
|
||||
}
|
||||
|
@ -192,20 +143,20 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?award core:dateTimeInterval ?dateTimeInterval .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||
} WHERE {
|
||||
?subject ?property ?advisingRel .
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?award core:dateTimeInterval ?dateTimeInterval .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||
}
|
||||
|
@ -215,11 +166,10 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?award core:dateTimeInterval ?dateTimeInterval .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||
} WHERE {
|
||||
|
@ -228,7 +178,7 @@
|
|||
?adviseeRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?award core:dateTimeInterval ?dateTimeInterval .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||
}
|
||||
|
|
|
@ -32,13 +32,11 @@
|
|||
LET ( ?localName := afn:localname(?advisingRel) )
|
||||
OPTIONAL { ?advisingRel rdfs:label ?advisingRelLabel }
|
||||
OPTIONAL { ?advisingRel core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?advisee a foaf:Person .
|
||||
OPTIONAL { ?advisee rdfs:label ?adviseeLabel }
|
||||
}
|
||||
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
||||
OPTIONAL { ?degree rdfs:label ?degreeLabel }
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
|
||||
}
|
||||
<collated>
|
||||
|
@ -75,33 +73,19 @@
|
|||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel ?advisingRelProperty ?advisingRelValue .
|
||||
?advisingRel rdfs:label ?advisingRelLabel .
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship
|
||||
} UNION {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel ?advisingRelProperty ?advisingRelValue
|
||||
} UNION {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel ?advisingRelProperty ?advisingRelValue .
|
||||
?advisingRel rdfs:label ?advisingRelLabel
|
||||
}
|
||||
}
|
||||
|
@ -117,39 +101,25 @@
|
|||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee rdfs:label ?adviseeLabel .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole .
|
||||
?advisingRel core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?advisee rdfs:label ?adviseeLabel .
|
||||
?advisingRel core:degreeCandidacy ?degree .
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
?degree core:abbreviation ?degreeAbbr
|
||||
} WHERE {
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
} UNION {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
|
||||
?adviseeRole a core:AdviseeRole
|
||||
} UNION {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:relates ?advisee .
|
||||
?advisee a foaf:Person .
|
||||
|
@ -160,11 +130,15 @@
|
|||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:degreeCandidacy ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?degree rdfs:label ?degreeLabel .
|
||||
} UNION {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:degreeCandidacy ?degree .
|
||||
?degree core:abbreviation ?degreeAbbr
|
||||
}
|
||||
}
|
||||
|
@ -174,7 +148,6 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
|
@ -184,8 +157,8 @@
|
|||
} WHERE {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||
|
@ -197,7 +170,6 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
|
@ -207,8 +179,8 @@
|
|||
} WHERE {
|
||||
?subject ?property ?advisorRole .
|
||||
?advisorRole a core:AdvisorRole .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?subject core:relatedBy ?advisingRel .
|
||||
?advisorRole core:relatedBy ?advisingRel .
|
||||
?advisingRel a core:AdvisingRelationship .
|
||||
?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||
|
|
|
@ -131,7 +131,6 @@
|
|||
?infoResource core:hasPublicationVenue ?publishedIn .
|
||||
?publishedIn rdfs:label ?journal
|
||||
}
|
||||
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
|
|
@ -63,10 +63,12 @@
|
|||
?awardReceipt rdfs:label ?receiptLabel .
|
||||
?awardReceipt core:relates ?award .
|
||||
?award a core:Award .
|
||||
?award core:relatedBy ?awardReceipt .
|
||||
?award core:relatedBy ?awardReceipt .
|
||||
?award rdfs:label ?awardLabel .
|
||||
?award core:assignedBy ?assignedBy .
|
||||
?assignedBy rdfs:label ?assignedByLabel
|
||||
?assignedBy rdfs:label ?assignedByLabel .
|
||||
?awardReceipt core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?awardReceipt .
|
||||
|
@ -75,13 +77,6 @@
|
|||
?subject ?property ?awardReceipt .
|
||||
?awardReceipt a core:AwardReceipt .
|
||||
?awardReceipt rdfs:label ?receiptLabel
|
||||
} UNION {
|
||||
?subject ?property ?awardReceipt .
|
||||
?awardReceipt a core:AwardReceipt .
|
||||
?awardReceipt rdfs:label ?receiptLabel .
|
||||
?awardReceipt core:relates ?award .
|
||||
?award a core:Award .
|
||||
?award core:relatedBy ?awardReceipt
|
||||
} UNION {
|
||||
?subject ?property ?awardReceipt .
|
||||
?awardReceipt a core:AwardReceipt .
|
||||
|
@ -96,19 +91,13 @@
|
|||
?awardReceipt rdfs:label ?receiptLabel .
|
||||
?awardReceipt core:relates ?award .
|
||||
?award a core:Award .
|
||||
?award core:relatedBy ?awardReceipt .
|
||||
?award rdfs:label ?awardLabel .
|
||||
?award core:assignedBy ?assignedBy
|
||||
?award core:assignedBy ?assignedBy .
|
||||
?assignedBy rdfs:label ?assignedByLabel
|
||||
} UNION {
|
||||
?subject ?property ?awardReceipt .
|
||||
?awardReceipt a core:AwardReceipt .
|
||||
?awardReceipt rdfs:label ?receiptLabel .
|
||||
?awardReceipt core:relates ?award .
|
||||
?award a core:Award .
|
||||
?award core:relatedBy ?awardReceipt .
|
||||
?award rdfs:label ?awardLabel .
|
||||
?award core:assignedBy ?assignedBy .
|
||||
?assignedBy rdfs:label ?assignedByLabel
|
||||
?awardReceipt core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
@ -146,22 +135,5 @@
|
|||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?awardReceipt .
|
||||
?awardReceipt a core:AwardReceipt .
|
||||
?awardReceipt core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
} WHERE {
|
||||
?subject ?property ?awardReceipt .
|
||||
?awardReceipt a core:AwardReceipt .
|
||||
?awardReceipt core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<template>propStatement-awardOrHonor.ftl</template>
|
||||
</list-view-config>
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
?infoResource ?infoResourceName
|
||||
?dateTime
|
||||
WHERE {
|
||||
?subject ?property ?editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
?subject ?property ?editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
|
||||
OPTIONAL { ?infoResource vitro:mostSpecificType ?subclass }
|
||||
OPTIONAL { ?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
|
@ -60,47 +60,30 @@
|
|||
?subject ?property ?editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName
|
||||
?infoResource rdfs:label ?infoResourceName .
|
||||
?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?editorship .
|
||||
?editorship a core:Editorship
|
||||
}
|
||||
UNION {
|
||||
?subject ?property ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030>
|
||||
} UNION {
|
||||
?subject ?property ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource rdfs:label ?infoResourceName
|
||||
}
|
||||
} UNION {
|
||||
?subject ?property ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
} WHERE {
|
||||
?subject ?property ?editorship .
|
||||
?editorship a core:Editorship .
|
||||
?editorship core:relates ?infoResource .
|
||||
?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> .
|
||||
?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
||||
<template>propStatement-editorship.ftl</template>
|
||||
</list-view-config>
|
||||
|
|
|
@ -11,9 +11,8 @@
|
|||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
|
||||
SELECT DISTINCT <collated> ?subclass </collated>
|
||||
SELECT DISTINCT ?subclass
|
||||
?edTraining
|
||||
?typeName
|
||||
?org ?orgName
|
||||
?degreeName ?degreeAbbr
|
||||
?majorField ?deptOrSchool ?info
|
||||
|
@ -21,10 +20,7 @@
|
|||
WHERE {
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess
|
||||
OPTIONAL {?edTraining vitro:mostSpecificType ?subclass .
|
||||
?trainingType rdfs:subClassOf core:EducationalProcess .
|
||||
?trainingType rdfs:label ?typeName
|
||||
}
|
||||
OPTIONAL { ?edTraining vitro:mostSpecificType ?subclass . }
|
||||
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
||||
?awardedDegree core:relates ?degree .
|
||||
?degree a core:AcademicDegree
|
||||
|
@ -54,9 +50,11 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?subclass rdfs:subClassOf core:EducationalProcess .
|
||||
?edTraining vitro:mostSpecificType ?subclass
|
||||
} WHERE {
|
||||
?subclass rdfs:subClassOf core:EducationalProcess .
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess .
|
||||
?edTraining vitro:mostSpecificType ?subclass .
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
@ -81,11 +79,6 @@
|
|||
?edTraining a core:EducationalProcess .
|
||||
?edTraining ?edTrainingProp ?edTrainingValue
|
||||
}
|
||||
UNION {
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess .
|
||||
?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
||||
}
|
||||
UNION {
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess .
|
||||
|
@ -143,33 +136,6 @@
|
|||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess .
|
||||
?edTraining vitro:mostSpecificType ?trainingType .
|
||||
?trainingType rdfs:subClassOf core:EducationalTraining .
|
||||
?trainingType rdfs:label ?typeName
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess .
|
||||
?edTraining vitro:mostSpecificType ?trainingType .
|
||||
?trainingType rdfs:subClassOf core:EducationalTraining
|
||||
} UNION
|
||||
{
|
||||
?subject ?property ?edTraining .
|
||||
?edTraining a core:EducationalProcess .
|
||||
?edTraining vitro:mostSpecificType ?trainingType .
|
||||
?trainingType rdfs:subClassOf core:EducationalTraining .
|
||||
?trainingType rdfs:label ?typeName
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
|
|
@ -12,9 +12,8 @@
|
|||
WHERE {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasTelephone ?phone .
|
||||
?phone a vcard:Fax
|
||||
OPTIONAL { ?phone vcard:telephone ?number }
|
||||
|
||||
?phone a vcard:Fax .
|
||||
?phone vcard:telephone ?number
|
||||
}
|
||||
</query-select>
|
||||
|
||||
|
@ -26,18 +25,10 @@
|
|||
?phone a vcard:Fax .
|
||||
?phone ?phoneProperty ?phoneValue
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?vcard
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasTelephone ?phone .
|
||||
?phone a vcard:Fax
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasTelephone ?phone .
|
||||
?phone a vcard:Fax .
|
||||
?phone ?phoneProperty ?phoneValue
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
} WHERE {
|
||||
{
|
||||
?subject ?property ?vcard
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasName ?fullName
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasName ?fullName .
|
||||
|
|
|
@ -175,24 +175,12 @@
|
|||
} WHERE {
|
||||
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?event2 a event:Event .
|
||||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?event2
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?event2 a event:Event .
|
||||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?event2 .
|
||||
?event2 rdfs:label ?event2Label
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?event2 a event:Event .
|
||||
?event2 <http://purl.obolibrary.org/obo/BFO_0000051> ?event1
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
|
@ -221,13 +209,6 @@
|
|||
?event2 rdfs:label ?event2Label
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?event2 a event:Event .
|
||||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?event3 .
|
||||
?event3 <http://purl.obolibrary.org/obo/BFO_0000050> ?event2
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
|
@ -235,13 +216,6 @@
|
|||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?event3 .
|
||||
?event3 <http://purl.obolibrary.org/obo/BFO_0000050> ?event2 .
|
||||
?event2 rdfs:label ?event2Label
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?event2 a event:Event .
|
||||
?event2 <http://purl.obolibrary.org/obo/BFO_0000051> ?event3 .
|
||||
?event3 <http://purl.obolibrary.org/obo/BFO_0000051> ?event1
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
|
@ -270,24 +244,12 @@
|
|||
} WHERE {
|
||||
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?series a vivo:EventSeries .
|
||||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?series
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?series a vivo:EventSeries .
|
||||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
||||
?series rdfs:label ?seriesLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?series a vivo:EventSeries .
|
||||
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?event1
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
|
@ -315,13 +277,6 @@
|
|||
?series rdfs:label ?seriesLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?series a vivo:EventSeries .
|
||||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?event3 .
|
||||
?event3 <http://purl.obolibrary.org/obo/BFO_0000050> ?series
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
|
@ -329,13 +284,6 @@
|
|||
?event1 <http://purl.obolibrary.org/obo/BFO_0000050> ?event3 .
|
||||
?event3 <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
||||
?series rdfs:label ?seriesLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?event1 .
|
||||
?series a vivo:EventSeries .
|
||||
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?event3 .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?event1
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:AttendeeRole .
|
||||
|
|
|
@ -69,11 +69,6 @@
|
|||
?role a core:EditorRole .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?activity rdfs:label ?activityName .
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a core:EditorRole .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?activity vitro:mostSpecificType ?subclass
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a core:EditorRole .
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
WHERE {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasEmail ?email .
|
||||
?email a vcard:Work
|
||||
OPTIONAL { ?email vcard:email ?emailAddress }
|
||||
?email a vcard:Work .
|
||||
?email vcard:email ?emailAddress
|
||||
|
||||
}
|
||||
</query-select>
|
||||
|
@ -26,18 +26,10 @@
|
|||
?email a vcard:Work .
|
||||
?email ?emailProperty ?emailValue
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?vcard
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasEmail ?email .
|
||||
?email a vcard:Work
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasEmail ?email .
|
||||
?email a vcard:Work .
|
||||
?email ?emailProperty ?emailValue
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
?number
|
||||
WHERE {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasTelephone ?phone
|
||||
OPTIONAL { ?phone vcard:telephone ?number }
|
||||
MINUS {?phone a vcard:Fax}
|
||||
?vcard vcard:hasTelephone ?phone .
|
||||
?phone vcard:telephone ?number
|
||||
MINUS {?phone a vcard:Fax}
|
||||
}
|
||||
</query-select>
|
||||
|
||||
|
@ -24,16 +24,9 @@
|
|||
?vcard vcard:hasTelephone ?phone .
|
||||
?phone ?phoneProperty ?phoneValue
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?vcard
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasTelephone ?phone
|
||||
} UNION {
|
||||
?subject ?property ?vcard .
|
||||
?vcard vcard:hasTelephone ?phone .
|
||||
?phone ?phoneProperty ?phoneValue
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</#if>
|
||||
<#if statement.degreeLabel??>
|
||||
${statement.degreeAbbr!statement.degreeLabel!}
|
||||
<#if statement.dateTimeStart?? || statement.dateTimeEnd?? > ${i18n().candidate},<#else> ${i18n().candidate}</#if>
|
||||
<#if statement.dateTimeStart?? || statement.dateTimeEnd?? > ${i18n().candidacy},<#else> ${i18n().candidacy}</#if>
|
||||
</#if>
|
||||
<#elseif statement.advisingRelLabel??>
|
||||
<a href="${profileUrl(statement.uri("advisingRel"))}" title="${i18n().advisingRel_label}">${statement.advisingRelLabel!statement.localName}</a>
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
</#if>
|
||||
</#local>
|
||||
|
||||
${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||
${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||
</#macro>
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<#local linkedIndividual>
|
||||
<#if statement.award??>
|
||||
<a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!statement.localName!}</a>
|
||||
<a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!}</a>
|
||||
<#else>
|
||||
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!statement.localName!}</a>
|
||||
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!}</a>
|
||||
</#if>
|
||||
</#local>
|
||||
|
||||
|
|
|
@ -33,6 +33,6 @@
|
|||
</#if>
|
||||
</#local>
|
||||
|
||||
<@s.join [ degree, linkedIndividual!, statement.deptOrSchool!, statement.info! ] /> <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" false/>
|
||||
<@s.join [ degree, linkedIndividual!, statement.deptOrSchool!, statement.info! ] /> <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" false/>
|
||||
|
||||
</#macro>
|
||||
</#macro>
|
||||
|
|
|
@ -24,5 +24,5 @@
|
|||
</#local>
|
||||
|
||||
<#-- If property is collated, then subclass label is redundant information -->
|
||||
${linkedIndividual} <#if ! property.collatedBySubclass> (${statement.subclassLabel!})</#if> ${dateTime!}
|
||||
${linkedIndividual} <#if (! property.collatedBySubclass) && statement.subclassLabel?has_content> (${statement.subclassLabel!})</#if> ${dateTime!}
|
||||
</#macro>
|
|
@ -109,6 +109,7 @@ websites = Websites
|
|||
advisee_label = advisee label
|
||||
advisor_label = advisor label
|
||||
candidate = candidate
|
||||
candidacy = candidacy
|
||||
advisingRel_label = advisory label
|
||||
|
||||
editor_abbreviated = Ed.
|
||||
|
|
Loading…
Add table
Reference in a new issue