VIVO-112: another round of updates to support the ISF changes
This commit is contained in:
parent
978c9ccd5f
commit
59431742e1
10 changed files with 1901 additions and 1848 deletions
|
@ -196,7 +196,7 @@ local:hasResearcherRoleConfig a :ObjectPropertyDisplayConfig ;
|
|||
vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ;
|
||||
vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddResearcherRoleToPersonGenerator"^^<http://www.w3.org/2001/XMLSchema#string> ;
|
||||
:propertyGroup <http://vivoweb.org/ontology#vitroPropertyGroupresearch> .
|
||||
m
|
||||
|
||||
local:hasInvestigatorRoleContext a :ConfigContext ;
|
||||
:hasConfiguration local:hasInvestigatorRoleConfig ;
|
||||
:configContextFor <http://purl.obolibrary.org/obo/RO_0000053> ;
|
||||
|
@ -226,7 +226,7 @@ local:hasPrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ;
|
|||
local:hasCo-PrincipalInvestigatorRoleContext a :ConfigContext ;
|
||||
:hasConfiguration local:hasCo-PrincipalInvestigatorRoleConfig ;
|
||||
:configContextFor <http://purl.obolibrary.org/obo/RO_0000053> ;
|
||||
:qualifiedBy <http://vivoweb.org/ontology/core#Co-PrincipalInvestigatorRole> .
|
||||
:qualifiedBy <http://vivoweb.org/ontology/core#CoPrincipalInvestigatorRole> .
|
||||
|
||||
local:hasCo-PrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||
:listViewConfigFile "listViewConfig-hasInvestigatorRole.xml"^^xsd:string ;
|
||||
|
@ -278,7 +278,7 @@ local:educationalTrainingConfig a :ObjectPropertyDisplayConfig ;
|
|||
local:informationResourceInAuthorshipContext a :ConfigContext ;
|
||||
:hasConfiguration local:informationResourceInAuthorshipConfig ;
|
||||
:configContextFor <http://vivoweb.org/ontology/core#relatedBy> ;
|
||||
:qualifiedByDomain <http://purl.org/ontology/bibo/Document> .
|
||||
:qualifiedByDomain <http://purl.org/ontology/bibo/Document> ;
|
||||
:qualifiedBy <http://vivoweb.org/ontology/core#Authorship> .
|
||||
|
||||
local:informationResourceInAuthorshipConfig a :ObjectPropertyDisplayConfig ;
|
||||
|
|
|
@ -23,13 +23,15 @@
|
|||
?hideThis
|
||||
WHERE {
|
||||
|
||||
?subject ?property ?role
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role vitro:mostSpecificType ?subclass
|
||||
|
||||
OPTIONAL { ?role core:roleRealizedIn ?activity
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity
|
||||
LET (?activityName := afn:localname(?activity))
|
||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||
}
|
||||
OPTIONAL { ?role core:roleContributesTo ?activity
|
||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity
|
||||
LET (?activityName := afn:localname(?activity))
|
||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||
}
|
||||
|
@ -47,7 +49,7 @@
|
|||
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||
}
|
||||
}
|
||||
OPTIONAL { ?role core:roleContributesTo ?grant .
|
||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant
|
||||
OPTIONAL { ?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||
|
@ -57,10 +59,7 @@
|
|||
}
|
||||
}
|
||||
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||
# NOT EXISTS { ?role core:hideFromDisplay ?hideThis }
|
||||
<critical-data-required>
|
||||
FILTER ( bound(?activity) )
|
||||
</critical-data-required>
|
||||
FILTER ( bound(?activity) && ?subclass = ?objectType)
|
||||
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
|
||||
</query-select>
|
||||
|
||||
|
@ -71,16 +70,19 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role core:roleRealizedIn ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||
?activity rdfs:label ?activityLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity
|
||||
} UNION
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role core:roleRealizedIn ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054>n ?activity .
|
||||
?activity rdfs:label ?activityLabel
|
||||
}
|
||||
}
|
||||
|
@ -93,16 +95,19 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity rdfs:label ?activityLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity
|
||||
} UNION
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity rdfs:label ?activityLabel
|
||||
}
|
||||
}
|
||||
|
@ -113,6 +118,7 @@
|
|||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role ?roleProperty ?roleValue .
|
||||
?activity rdfs:label ?activityName .
|
||||
?activity core:grantAwardedBy ?awardedBy .
|
||||
|
@ -124,31 +130,38 @@
|
|||
?subject ?property ?role
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role ?roleProperty ?roleValue
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleRealizedIn ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity core:grantAwardedBy ?awardedBy
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity core:grantAwardedBy ?awardedBy .
|
||||
?awardedBy rdfs:label ?awardedByLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity core:administeredBy ?adminedBy
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||
?activity core:administeredBy ?adminedBy .
|
||||
?adminedBy rdfs:label ?adminedByLabel
|
||||
}
|
||||
|
@ -159,11 +172,13 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||
|
@ -174,11 +189,13 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||
|
@ -188,13 +205,15 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?grant .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?grant .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||
|
@ -205,13 +224,15 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?grant .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?grant .
|
||||
?role a ?objectType .
|
||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||
|
|
|
@ -25,11 +25,12 @@
|
|||
|
||||
WHERE {
|
||||
|
||||
?subject ?property ?role
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole
|
||||
|
||||
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||
|
||||
OPTIONAL { ?role vivo:roleRealizedIn ?presentation
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation
|
||||
LET (?presentationName := afn:localname(?presentation))
|
||||
|
||||
OPTIONAL { ?presentation rdfs:label ?presentationLabel }
|
||||
|
@ -38,18 +39,18 @@
|
|||
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
||||
|
||||
{
|
||||
?presentation vivo:eventWithin ?conference
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
||||
} UNION {
|
||||
?conference vivo:includesEvent ?presentation
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
||||
}
|
||||
}
|
||||
OPTIONAL {
|
||||
{
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?workshop vivo:eventWithin ?conference
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
||||
} UNION {
|
||||
?workshop vivo:includesEvent ?presentation .
|
||||
?conference vivo:includesEvent ?workshop
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop
|
||||
}
|
||||
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
||||
}
|
||||
|
@ -66,10 +67,10 @@
|
|||
}
|
||||
OPTIONAL {
|
||||
{
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop vivo:inEventSeries ?series
|
||||
} UNION {
|
||||
?workshop vivo:includesEvent ?presentation .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?series vivo:seriesForEvent ?workshop
|
||||
}
|
||||
OPTIONAL { ?series rdfs:label ?seriesLabel }
|
||||
|
@ -108,19 +109,22 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?presentation vitro:mostSpecificType ?subclass .
|
||||
?subclass rdfs:subClassOf vivo:Presentation .
|
||||
?subclass owl:equivalentClass vivo:Presentation .
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?presentation vitro:mostSpecificType ?subclass .
|
||||
?subclass rdfs:subClassOf vivo:Presentation
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?presentation vitro:mostSpecificType ?subclass .
|
||||
?subclass owl:equivalentClass vivo:Presentation
|
||||
}
|
||||
|
@ -132,17 +136,21 @@
|
|||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?role ?roleProperty ?roleValue .
|
||||
?presentation rdfs:label ?presentationLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?role ?roleProperty ?roleValue
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?presentation rdfs:label ?presentationLabel
|
||||
}
|
||||
}
|
||||
|
@ -155,33 +163,38 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?conference a bibo:Conference .
|
||||
?presentation vivo:eventWithin ?conference .
|
||||
?conference vivo:includesEvent ?presentation .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
} WHERE {
|
||||
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?presentation vivo:eventWithin ?conference
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?presentation vivo:eventWithin ?conference .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?conference vivo:includesEvent ?presentation
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?conference vivo:includesEvent ?presentation .
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
}
|
||||
}
|
||||
|
@ -194,38 +207,43 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?workshop vivo:eventWithin ?conference .
|
||||
?conference vivo:includesEvent ?workshop .
|
||||
?role a vivo:PresenterRole .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
||||
?conference a bibo:Conference .
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?workshop vivo:includesEvent ?presentation .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?workshop vivo:eventWithin ?conference
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?workshop vivo:eventWithin ?conference .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?conference vivo:includesEvent ?workshop .
|
||||
?workshop vivo:includesEvent ?presentation
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?conference vivo:includesEvent ?workshop .
|
||||
?workshop vivo:includesEvent ?presentation .
|
||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
}
|
||||
}
|
||||
|
@ -238,6 +256,7 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?series a vivo:EventSeries .
|
||||
?presentation vivo:inEventSeries ?series .
|
||||
?series vivo:seriesForEvent ?presentation .
|
||||
|
@ -246,23 +265,27 @@
|
|||
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?presentation vivo:inEventSeries ?series
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?presentation vivo:inEventSeries ?series .
|
||||
?series rdfs:label ?seriesLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?series vivo:seriesForEvent ?presentation
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?series vivo:seriesForEvent ?presentation .
|
||||
?series rdfs:label ?seriesLabel
|
||||
|
@ -277,38 +300,43 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?workshop vivo:inEventSeries ?series .
|
||||
?series vivo:seriesForEvent ?workshop .
|
||||
?series a vivo:EventSeries .
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?workshop vivo:includesEvent ?presentation .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?series rdfs:label ?seriesLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop vivo:inEventSeries ?series
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?presentation vivo:eventWithin ?workshop .
|
||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||
?workshop vivo:inEventSeries ?series .
|
||||
?series rdfs:label ?seriesLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?series vivo:seriesForEvent ?workshop .
|
||||
?workshop vivo:includesEvent ?presentation
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role vivo:roleRealizedIn ?presentation .
|
||||
?role a vivo:PresenterRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||
?series a vivo:EventSeries .
|
||||
?series vivo:seriesForEvent ?workshop .
|
||||
?workshop vivo:includesEvent ?presentation .
|
||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||
?series rdfs:label ?seriesLabel
|
||||
}
|
||||
}
|
||||
|
@ -318,11 +346,13 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?role vivo:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval vivo:start ?dateTimeStartValue .
|
||||
?dateTimeStartValue vivo:dateTime ?dateTimeStart
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role a vivo:PresenterRole .
|
||||
?role vivo:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval vivo:start ?dateTimeStartValue .
|
||||
?dateTimeStartValue vivo:dateTime ?dateTimeStart
|
||||
|
|
|
@ -19,11 +19,12 @@
|
|||
?activityLabel
|
||||
?dateTimeStart ?dateTimeEnd
|
||||
?hideThis
|
||||
?objectType
|
||||
WHERE {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType
|
||||
|
||||
OPTIONAL { ?role core:roleRealizedIn ?activity
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity
|
||||
LET (?activityName := afn:localname(?activity))
|
||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||
|
||||
|
@ -32,7 +33,7 @@
|
|||
</collated>
|
||||
}
|
||||
|
||||
OPTIONAL { ?role core:roleContributesTo ?activity
|
||||
OPTIONAL { ?role core:relatedBy ?activity
|
||||
LET (?activityName := afn:localname(?activity))
|
||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||
|
||||
|
@ -65,11 +66,11 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role core:relatedBy ?activity .
|
||||
?activity vitro:mostSpecificType ?subclass .
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role core:relatedBy ?activity .
|
||||
?activity vitro:mostSpecificType ?subclass
|
||||
}
|
||||
</query-construct>
|
||||
|
@ -81,11 +82,11 @@
|
|||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?role core:roleRealizedIn ?activity .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||
?activity vitro:mostSpecificType ?subclass .
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role core:roleRealizedIn ?activity .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||
?activity vitro:mostSpecificType ?subclass
|
||||
}
|
||||
</query-construct>
|
||||
|
@ -105,11 +106,11 @@
|
|||
?role ?roleProperty ?roleValue
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?role core:relatedBy ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleRealizedIn ?activity .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,9 +14,10 @@
|
|||
SELECT DISTINCT <collated> ?subclass </collated>
|
||||
?authorship
|
||||
?person ?personName WHERE {
|
||||
?subject ?property ?authorship
|
||||
?subject ?property ?authorship .
|
||||
?subject a core:Authorship
|
||||
OPTIONAL { ?authorship core:authorRank ?rank }
|
||||
OPTIONAL { ?authorship core:linkedAuthor ?person .
|
||||
OPTIONAL { ?authorship core:relates ?person .
|
||||
?person rdfs:label ?personName
|
||||
<collated>
|
||||
OPTIONAL { ?person vitro:mostSpecificType ?subclass .
|
||||
|
@ -57,11 +58,11 @@
|
|||
?authorship ?authorshipProperty ?authorshipValue
|
||||
} UNION {
|
||||
?subject ?property ?authorship .
|
||||
?authorship core:linkedAuthor ?person .
|
||||
?authorship core:relates ?person .
|
||||
?person rdfs:label ?personName
|
||||
} UNION {
|
||||
?subject ?property ?authorship .
|
||||
?authorship core:linkedAuthor ?person .
|
||||
?authorship core:relates ?person .
|
||||
?person rdfs:label ?personName .
|
||||
?person vitro:mostSpecificType ?subclass
|
||||
}
|
||||
|
|
|
@ -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!statement.localName!}</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!statement.localName!}</a>
|
||||
</#if>
|
||||
</#local>
|
||||
|
||||
|
|
|
@ -47,6 +47,6 @@
|
|||
</#if>
|
||||
</#local>
|
||||
|
||||
${linkedIndividual} ${awardOrAdminBy} ${dateTime!} ${statement.subclass!}
|
||||
${linkedIndividual} ${awardOrAdminBy} ${dateTime!}
|
||||
</#if>
|
||||
</#macro>
|
|
@ -101,8 +101,8 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
private String getN3NewAuthorship() {
|
||||
return getN3PrefixString() +
|
||||
"?authorshipUri a core:Authorship ;\n" +
|
||||
" core:linkedInformationResource ?infoResource .\n" +
|
||||
"?infoResource core:informationResourceInAuthorship ?authorshipUri .";
|
||||
" core:relates ?infoResource .\n" +
|
||||
"?infoResource core:relatedBy ?authorshipUri .";
|
||||
}
|
||||
|
||||
private String getN3AuthorshipRank() {
|
||||
|
|
|
@ -604,19 +604,19 @@ public class AddGrantRoleToPersonGenerator implements EditConfigurationGenerator
|
|||
**/
|
||||
//role type will always be set based on particular form
|
||||
public String getRoleType(VitroRequest vreq) {
|
||||
String predicateUri = EditConfigurationUtils.getPredicateUri(vreq);
|
||||
if(predicateUri.equals(getHasPrincipalInvestigatorURI())) {
|
||||
String rangeUri = EditConfigurationUtils.getRangeUri(vreq);
|
||||
if(rangeUri.equals(getPrincipalInvestigatorURI())) {
|
||||
return getVivoOntologyCoreNamespace() + "PrincipalInvestigatorRole";
|
||||
}
|
||||
else if(predicateUri.equals(getHasCoPrincipalInvestigatorURI())) {
|
||||
else if(predicateUri.equals(getCoPrincipalInvestigatorURI())) {
|
||||
return getVivoOntologyCoreNamespace() + "CoPrincipalInvestigatorRole";
|
||||
} else {
|
||||
return getVivoOntologyCoreNamespace() + "InvestigatorRole";
|
||||
}
|
||||
}
|
||||
|
||||
private Object getHasCoPrincipalInvestigatorURI() {
|
||||
return getVivoOntologyCoreNamespace() + "hasCo-PrincipalInvestigatorRole";
|
||||
private Object getCoPrincipalInvestigatorURI() {
|
||||
return getVivoOntologyCoreNamespace() + "CoPrincipalInvestigatorRole";
|
||||
}
|
||||
|
||||
|
||||
|
@ -625,8 +625,8 @@ public class AddGrantRoleToPersonGenerator implements EditConfigurationGenerator
|
|||
return "http://vivoweb.org/ontology/core#";
|
||||
}
|
||||
|
||||
private Object getHasPrincipalInvestigatorURI() {
|
||||
return getVivoOntologyCoreNamespace() + "hasPrincipalInvestigatorRole";
|
||||
private Object getPrincipalInvestigatorURI() {
|
||||
return getVivoOntologyCoreNamespace() + "PrincipalInvestigatorRole";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -26,12 +26,12 @@ public class AddPresenterRoleToPersonGenerator extends VivoBaseGenerator impleme
|
|||
final static String presentationClass = vivoCore + "Presentation";
|
||||
final static String roleClass = vivoCore + "PresenterRole";
|
||||
final static String conferenceClass = bibo + "Conference";
|
||||
final static String hasRolePred = vivoCore + "hasPresenterRole";
|
||||
final static String roleOfPred = vivoCore + "presenterRoleOf";
|
||||
final static String roleRealizedInPred = vivoCore + "roleRealizedIn";
|
||||
final static String realizedRolePred = vivoCore + "realizedRole";
|
||||
final static String includesEventPred = vivoCore + "includesEvent";
|
||||
final static String eventWithinPred = vivoCore + "eventWithin";
|
||||
final static String hasRolePred = "http://purl.obolibrary.org/obo/RO_0000053";
|
||||
final static String roleOfPred = "http://purl.obolibrary.org/obo/RO_0000052";
|
||||
final static String roleRealizedInPred = "http://purl.obolibrary.org/obo/BFO_0000054";
|
||||
final static String realizedRolePred = "http://purl.obolibrary.org/obo/BFO_0000055";
|
||||
final static String includesEventPred = "http://purl.obolibrary.org/obo/BFO_0000051";
|
||||
final static String eventWithinPred = "http://purl.obolibrary.org/obo/BFO_0000050";
|
||||
final static String roleToInterval = vivoCore + "dateTimeInterval";
|
||||
final static String intervalType = vivoCore + "DateTimeInterval";
|
||||
final static String intervalToStart = vivoCore + "start";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue