diff --git a/languages/example/themes/wilma/i18n/all_es.properties b/languages/example/themes/wilma/i18n/all_es.properties
index de7ddaab..c779a684 100644
--- a/languages/example/themes/wilma/i18n/all_es.properties
+++ b/languages/example/themes/wilma/i18n/all_es.properties
@@ -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.
diff --git a/productMods/config/listViewConfig-additionalEmail.xml b/productMods/config/listViewConfig-additionalEmail.xml
index 50dc4188..70d90167 100644
--- a/productMods/config/listViewConfig-additionalEmail.xml
+++ b/productMods/config/listViewConfig-additionalEmail.xml
@@ -7,13 +7,14 @@
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}
}
@@ -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
- }
}
diff --git a/productMods/config/listViewConfig-adviseeIn.xml b/productMods/config/listViewConfig-adviseeIn.xml
index 293bca38..b7d6e261 100644
--- a/productMods/config/listViewConfig-adviseeIn.xml
+++ b/productMods/config/listViewConfig-adviseeIn.xml
@@ -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
}
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
}
diff --git a/productMods/config/listViewConfig-advisorIn.xml b/productMods/config/listViewConfig-advisorIn.xml
index e1254bda..e2cf9500 100644
--- a/productMods/config/listViewConfig-advisorIn.xml
+++ b/productMods/config/listViewConfig-advisorIn.xml
@@ -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 }
}
@@ -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 .
diff --git a/productMods/config/listViewConfig-authorInAuthorship.xml b/productMods/config/listViewConfig-authorInAuthorship.xml
index 401eaad6..755ceff4 100644
--- a/productMods/config/listViewConfig-authorInAuthorship.xml
+++ b/productMods/config/listViewConfig-authorInAuthorship.xml
@@ -131,7 +131,6 @@
?infoResource core:hasPublicationVenue ?publishedIn .
?publishedIn rdfs:label ?journal
}
-
}
diff --git a/productMods/config/listViewConfig-awardOrHonor.xml b/productMods/config/listViewConfig-awardOrHonor.xml
index 14e49603..b4f07be7 100644
--- a/productMods/config/listViewConfig-awardOrHonor.xml
+++ b/productMods/config/listViewConfig-awardOrHonor.xml
@@ -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
}
}
@@ -146,22 +135,5 @@
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
-
-
- 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
- }
-
-
propStatement-awardOrHonor.ftl
diff --git a/productMods/config/listViewConfig-editorship.xml b/productMods/config/listViewConfig-editorship.xml
index 35491465..cda8e845 100644
--- a/productMods/config/listViewConfig-editorship.xml
+++ b/productMods/config/listViewConfig-editorship.xml
@@ -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
+ }
}
-
-
- 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
- }
-
-
+
propStatement-editorship.ftl
diff --git a/productMods/config/listViewConfig-educationalTraining.xml b/productMods/config/listViewConfig-educationalTraining.xml
index 20d78be3..f3f1109c 100644
--- a/productMods/config/listViewConfig-educationalTraining.xml
+++ b/productMods/config/listViewConfig-educationalTraining.xml
@@ -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 ?subclass
+ 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 .
}
@@ -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 @@
}
-
- 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
- }
- }
-
-
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX core: <http://vivoweb.org/ontology/core#>
diff --git a/productMods/config/listViewConfig-faxNumber.xml b/productMods/config/listViewConfig-faxNumber.xml
index af509c32..fa3addcb 100644
--- a/productMods/config/listViewConfig-faxNumber.xml
+++ b/productMods/config/listViewConfig-faxNumber.xml
@@ -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
}
@@ -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
- }
}
diff --git a/productMods/config/listViewConfig-fullName.xml b/productMods/config/listViewConfig-fullName.xml
index 98953c4e..9e8adc65 100644
--- a/productMods/config/listViewConfig-fullName.xml
+++ b/productMods/config/listViewConfig-fullName.xml
@@ -34,9 +34,6 @@
} WHERE {
{
?subject ?property ?vcard
- } UNION {
- ?subject ?property ?vcard .
- ?vcard vcard:hasName ?fullName
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasName ?fullName .
diff --git a/productMods/config/listViewConfig-hasAttendeeRole.xml b/productMods/config/listViewConfig-hasAttendeeRole.xml
index a09eeba6..1bd7bc9c 100644
--- a/productMods/config/listViewConfig-hasAttendeeRole.xml
+++ b/productMods/config/listViewConfig-hasAttendeeRole.xml
@@ -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 .
diff --git a/productMods/config/listViewConfig-hasEditorRole.xml b/productMods/config/listViewConfig-hasEditorRole.xml
index fbae2795..0d2b7854 100644
--- a/productMods/config/listViewConfig-hasEditorRole.xml
+++ b/productMods/config/listViewConfig-hasEditorRole.xml
@@ -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 .
diff --git a/productMods/config/listViewConfig-primaryEmail.xml b/productMods/config/listViewConfig-primaryEmail.xml
index 7f749dd4..e2562593 100644
--- a/productMods/config/listViewConfig-primaryEmail.xml
+++ b/productMods/config/listViewConfig-primaryEmail.xml
@@ -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
}
@@ -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
- }
}
diff --git a/productMods/config/listViewConfig-telephoneNumber.xml b/productMods/config/listViewConfig-telephoneNumber.xml
index b1ac2c0c..c6edb497 100644
--- a/productMods/config/listViewConfig-telephoneNumber.xml
+++ b/productMods/config/listViewConfig-telephoneNumber.xml
@@ -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}
}
@@ -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
- }
}
diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-adviseeIn.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-adviseeIn.ftl
index 745da733..780765d4 100644
--- a/productMods/templates/freemarker/body/partials/individual/propStatement-adviseeIn.ftl
+++ b/productMods/templates/freemarker/body/partials/individual/propStatement-adviseeIn.ftl
@@ -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??>
${statement.advisingRelLabel!statement.localName}
diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-advisorIn.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-advisorIn.ftl
index 00814e57..341c3299 100644
--- a/productMods/templates/freemarker/body/partials/individual/propStatement-advisorIn.ftl
+++ b/productMods/templates/freemarker/body/partials/individual/propStatement-advisorIn.ftl
@@ -29,5 +29,5 @@
#if>
#local>
- ${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
+ ${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
#macro>
\ No newline at end of file
diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-awardOrHonor.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-awardOrHonor.ftl
index 937c930b..9c61e94a 100644
--- a/productMods/templates/freemarker/body/partials/individual/propStatement-awardOrHonor.ftl
+++ b/productMods/templates/freemarker/body/partials/individual/propStatement-awardOrHonor.ftl
@@ -15,9 +15,9 @@
<#local linkedIndividual>
<#if statement.award??>
- ${statement.awardLabel!statement.localName!}
+ ${statement.awardLabel!}
<#else>
- ${statement.receiptLabel!statement.localName!}
+ ${statement.receiptLabel!}
#if>
#local>
diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl
index 5d4fc91b..3521a717 100644
--- a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl
+++ b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl
@@ -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>
\ No newline at end of file
+#macro>
diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-hasEditReviewRole.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-hasEditReviewRole.ftl
index b7210b9f..6ead71df 100644
--- a/productMods/templates/freemarker/body/partials/individual/propStatement-hasEditReviewRole.ftl
+++ b/productMods/templates/freemarker/body/partials/individual/propStatement-hasEditReviewRole.ftl
@@ -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>
\ No newline at end of file
diff --git a/themes/wilma/i18n/all.properties b/themes/wilma/i18n/all.properties
index c01b1dbb..1f90bda2 100644
--- a/themes/wilma/i18n/all.properties
+++ b/themes/wilma/i18n/all.properties
@@ -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.