NIHVIVO-3457 update rich export sparql queries for 1.4 ontology role property changes
This commit is contained in:
parent
1aa4d82c5a
commit
43bed0719c
8 changed files with 22 additions and 8 deletions
|
@ -10,7 +10,7 @@ CONSTRUCT {
|
||||||
{PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole }
|
{PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole }
|
||||||
}
|
}
|
||||||
|
|
||||||
?investigatorRole core:roleIn ?grant .
|
?investigatorRole core:roleContributesTo ?grant .
|
||||||
?grant a core:Grant .
|
?grant a core:Grant .
|
||||||
?grant core:grantAwardedBy ?awardingOrganization .
|
?grant core:grantAwardedBy ?awardingOrganization .
|
||||||
?awardingOrganization ?p ?o
|
?awardingOrganization ?p ?o
|
||||||
|
|
|
@ -10,7 +10,7 @@ CONSTRUCT {
|
||||||
{PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole }
|
{PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole }
|
||||||
}
|
}
|
||||||
|
|
||||||
?investigatorRole core:roleIn ?grant .
|
?investigatorRole core:roleContributesTo ?grant .
|
||||||
?grant a core:Grant .
|
?grant a core:Grant .
|
||||||
?grant ?property ?object
|
?grant ?property ?object
|
||||||
}
|
}
|
|
@ -4,6 +4,12 @@ CONSTRUCT {
|
||||||
?endeavor ?property ?object .
|
?endeavor ?property ?object .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasMemberRole ?memberRole .
|
PERSON_URI core:hasMemberRole ?memberRole .
|
||||||
?memberRole core:roleIn ?endeavor .
|
|
||||||
|
{
|
||||||
|
{?memberRole core:roleRealizedIn ?endeavor }
|
||||||
|
union
|
||||||
|
{?memberRole core:roleContributesTo ?endeavor }
|
||||||
|
}
|
||||||
|
|
||||||
?endeavor ?property ?object .
|
?endeavor ?property ?object .
|
||||||
}
|
}
|
|
@ -4,6 +4,12 @@ CONSTRUCT {
|
||||||
?endeavor ?property ?object .
|
?endeavor ?property ?object .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasOutreachProviderRole ?outreachRole .
|
PERSON_URI core:hasOutreachProviderRole ?outreachRole .
|
||||||
?outreachRole core:roleIn ?endeavor .
|
|
||||||
|
{
|
||||||
|
{ ?memberRole core:roleRealizedIn ?endeavor }
|
||||||
|
union
|
||||||
|
{ ?memberRole core:roleContributesTo ?endeavor }
|
||||||
|
}
|
||||||
|
|
||||||
?endeavor ?property ?object .
|
?endeavor ?property ?object .
|
||||||
}
|
}
|
|
@ -5,7 +5,7 @@ CONSTRUCT {
|
||||||
?location rdfs:label ?locationName .
|
?location rdfs:label ?locationName .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
PERSON_URI core:hasPresenterRole ?presenterRole .
|
||||||
?presenterRole core:roleIn ?presentation .
|
?presenterRole core:roleRealizedIn ?presentation .
|
||||||
?presentation core:eventWithin ?containingEvent .
|
?presentation core:eventWithin ?containingEvent .
|
||||||
?containingEvent core:hasGeographicLocation ?location .
|
?containingEvent core:hasGeographicLocation ?location .
|
||||||
?location rdfs:label ?locationName .
|
?location rdfs:label ?locationName .
|
||||||
|
|
|
@ -5,7 +5,7 @@ CONSTRUCT {
|
||||||
?containingEvent rdfs:label ?containingEventName
|
?containingEvent rdfs:label ?containingEventName
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
PERSON_URI core:hasPresenterRole ?presenterRole .
|
||||||
?presenterRole core:roleIn ?presentation .
|
?presenterRole core:roleRealizedIn ?presentation .
|
||||||
?presentation core:eventWithin ?containingEvent .
|
?presentation core:eventWithin ?containingEvent .
|
||||||
?containingEvent rdfs:label ?containingEventName
|
?containingEvent rdfs:label ?containingEventName
|
||||||
}
|
}
|
|
@ -4,6 +4,8 @@ CONSTRUCT {
|
||||||
?presentation ?property ?object .
|
?presentation ?property ?object .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
PERSON_URI core:hasPresenterRole ?presenterRole .
|
||||||
?presenterRole core:roleIn ?presentation .
|
|
||||||
|
?presenterRole core:roleRealizedIn ?presentation .
|
||||||
|
|
||||||
?presentation ?property ?object .
|
?presentation ?property ?object .
|
||||||
}
|
}
|
|
@ -4,6 +4,6 @@ CONSTRUCT {
|
||||||
?course ?property ?object .
|
?course ?property ?object .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasTeacherRole ?teacherRole .
|
PERSON_URI core:hasTeacherRole ?teacherRole .
|
||||||
?teacherRole core:roleIn ?course .
|
?teacherRole core:roleRealizedIn ?course .
|
||||||
?course ?property ?object .
|
?course ?property ?object .
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue