NIHVIVO-3457 update rich export sparql queries for 1.4 ontology role property changes

This commit is contained in:
stellamit 2011-12-08 19:41:26 +00:00
parent 1aa4d82c5a
commit 43bed0719c
8 changed files with 22 additions and 8 deletions

View file

@ -10,7 +10,7 @@ CONSTRUCT {
{PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole }
}
?investigatorRole core:roleIn ?grant .
?investigatorRole core:roleContributesTo ?grant .
?grant a core:Grant .
?grant core:grantAwardedBy ?awardingOrganization .
?awardingOrganization ?p ?o

View file

@ -10,7 +10,7 @@ CONSTRUCT {
{PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole }
}
?investigatorRole core:roleIn ?grant .
?investigatorRole core:roleContributesTo ?grant .
?grant a core:Grant .
?grant ?property ?object
}

View file

@ -4,6 +4,12 @@ CONSTRUCT {
?endeavor ?property ?object .
} WHERE {
PERSON_URI core:hasMemberRole ?memberRole .
?memberRole core:roleIn ?endeavor .
{
{?memberRole core:roleRealizedIn ?endeavor }
union
{?memberRole core:roleContributesTo ?endeavor }
}
?endeavor ?property ?object .
}

View file

@ -4,6 +4,12 @@ CONSTRUCT {
?endeavor ?property ?object .
} WHERE {
PERSON_URI core:hasOutreachProviderRole ?outreachRole .
?outreachRole core:roleIn ?endeavor .
{
{ ?memberRole core:roleRealizedIn ?endeavor }
union
{ ?memberRole core:roleContributesTo ?endeavor }
}
?endeavor ?property ?object .
}

View file

@ -5,7 +5,7 @@ CONSTRUCT {
?location rdfs:label ?locationName .
} WHERE {
PERSON_URI core:hasPresenterRole ?presenterRole .
?presenterRole core:roleIn ?presentation .
?presenterRole core:roleRealizedIn ?presentation .
?presentation core:eventWithin ?containingEvent .
?containingEvent core:hasGeographicLocation ?location .
?location rdfs:label ?locationName .

View file

@ -5,7 +5,7 @@ CONSTRUCT {
?containingEvent rdfs:label ?containingEventName
} WHERE {
PERSON_URI core:hasPresenterRole ?presenterRole .
?presenterRole core:roleIn ?presentation .
?presenterRole core:roleRealizedIn ?presentation .
?presentation core:eventWithin ?containingEvent .
?containingEvent rdfs:label ?containingEventName
}

View file

@ -4,6 +4,8 @@ CONSTRUCT {
?presentation ?property ?object .
} WHERE {
PERSON_URI core:hasPresenterRole ?presenterRole .
?presenterRole core:roleIn ?presentation .
?presenterRole core:roleRealizedIn ?presentation .
?presentation ?property ?object .
}

View file

@ -4,6 +4,6 @@ CONSTRUCT {
?course ?property ?object .
} WHERE {
PERSON_URI core:hasTeacherRole ?teacherRole .
?teacherRole core:roleIn ?course .
?teacherRole core:roleRealizedIn ?course .
?course ?property ?object .
}