diff --git a/productMods/config/listViewConfig-authorInAuthorship.xml b/productMods/config/listViewConfig-authorInAuthorship.xml index 43b356e0..d03ab047 100644 --- a/productMods/config/listViewConfig-authorInAuthorship.xml +++ b/productMods/config/listViewConfig-authorInAuthorship.xml @@ -27,14 +27,14 @@ PREFIX core: <http://vivoweb.org/ontology/core#> SELECT DISTINCT ?subClass ?authorship ?infoResource ?infoResourceName ?dateTime WHERE { - ?subject ?property ?authorship . - ?authorship core:linkedInformationResource ?infoResource . - ?infoResource rdfs:label ?infoResourceName . - ?subClass rdfs:subClassOf core:InformationResource . - OPTIONAL { ?infoResource core:hasDateTimeValue ?dateTimeValue . - ?dateTimeValue core:dateTime ?dateTime . } + GRAPH ?g1 { ?subject ?property ?authorship } + GRAPH ?g2 { ?authorship core:linkedInformationResource ?infoResource } + GRAPH ?g3 { ?infoResource rdfs:label ?infoResourceName } + GRAPH ?g4 { ?subClass rdfs:subClassOf core:InformationResource } + OPTIONAL { GRAPH ?g5 { ?infoResource core:hasDateTimeValue ?dateTimeValue . + ?dateTimeValue core:dateTime ?dateTime . } } } ORDER BY ?subClass DESC(?dateTime) ?infoResourceName --> - \ No newline at end of file + diff --git a/productMods/config/listViewConfig-educationalTraining.xml b/productMods/config/listViewConfig-educationalTraining.xml index 9972e376..e1ea3340 100644 --- a/productMods/config/listViewConfig-educationalTraining.xml +++ b/productMods/config/listViewConfig-educationalTraining.xml @@ -30,19 +30,19 @@ SELECT DISTINCT ?edTraining (afn:localname(?edTraining) AS ?edTrainingName) ?org ?orgName ?degreeName ?degreeAbbr ?majorField ?deptOrSchool ?info ?dateTime WHERE { - ?subject ?property ?edTraining . - OPTIONAL { ?edTraining core:trainingAtOrganization ?org . - ?org rdfs:label ?orgName . } - OPTIONAL { ?edTraining core:degreeEarned ?degree . } - OPTIONAL { ?degree rdfs:label ?degreeName . } - OPTIONAL { ?degree core:abbreviation ?degreeAbbr . } - OPTIONAL { ?edTraining core:majorField ?majorField . } - OPTIONAL { ?edTraining core:departmentOrSchool ?deptOrSchool . } - OPTIONAL { ?edTraining core:supplementalInformation ?info . } - OPTIONAL { ?edTraining core:hasDateTimeValue ?dateTimeValue . - ?dateTimeValue core:dateTime ?dateTime . } + GRAPH ?g1 { ?subject ?property ?edTraining } + OPTIONAL { GRAPH ?g2 { ?edTraining core:trainingAtOrganization ?org . + ?org rdfs:label ?orgName . } } + OPTIONAL { GRAPH ?g3 { ?edTraining core:degreeEarned ?degree } } + OPTIONAL { GRAPH ?g4 { ?degree rdfs:label ?degreeName } } + OPTIONAL { GRAPH ?g5 { ?degree core:abbreviation ?degreeAbbr } } + OPTIONAL { GRAPH ?g6 { ?edTraining core:majorField ?majorField } } + OPTIONAL { GRAPH ?g7 { ?edTraining core:departmentOrSchool ?deptOrSchool } } + OPTIONAL { GRAPH ?g8 { ?edTraining core:supplementalInformation ?info } } + OPTIONAL { GRAPH ?g9 { ?edTraining core:hasDateTimeValue ?dateTimeValue . + ?dateTimeValue core:dateTime ?dateTime } } } ORDER BY DESC(?dateTime) - \ No newline at end of file +