diff --git a/productMods/WEB-INF/ontologies/update/diff.tab.txt b/productMods/WEB-INF/ontologies/update/diff.tab.txt index a628fe83..6633e18e 100644 --- a/productMods/WEB-INF/ontologies/update/diff.tab.txt +++ b/productMods/WEB-INF/ontologies/update/diff.tab.txt @@ -1,3 +1,143 @@ + http://vivoweb.org/ontology/core#Process No Add not set + http://vivoweb.org/ontology/core#Project No Add not set http://vivoweb.org/ontology/core#Agreement No Add not set -http://vitro.mannlib.cornell.edu/ns/vitro/0.7#description http://vivoweb.org/ontology/core#description Yes Map Use-instead -http://vitro.mannlib.cornell.edu/ns/vitro/0.7#citation No Delete not set + http://vivoweb.org/ontology/core#Contract No Add not set + http://vivoweb.org/ontology/core#PrimaryURLLink No Add not set + http://vivoweb.org/ontology/core#Meeting No Add not set + http://vivoweb.org/ontology/core#InvitedTalk No Add not set + http://vivoweb.org/ontology/core#PostdocPosition No Add not set + http://vivoweb.org/ontology/core#pmcid No Add not set + http://vivoweb.org/ontology/core#nihmsid No Add not set + http://vivoweb.org/ontology/core#reproduces No Add not set + http://purl.org/ontology/bibo/issue No Add not set + http://vivoweb.org/ontology/core#uspc No Add not set + http://vivoweb.org/ontology/core#wipo-ipc No Add not set + http://vivoweb.org/ontology/core#hasSuccessorOrganization No Add not set + http://vivoweb.org/ontology/core#hasPredecessorOrganization No Add not set + http://vivoweb.org/ontology/core#teachingOverview No Add not set + http://vivoweb.org/ontology/core#researchOverview No Add not set + http://vivoweb.org/ontology/core#outreachOverview No Add not set + http://vivoweb.org/ontology/core#contributingAdvising No Add not set + http://vivoweb.org/ontology/core#http://vivoweb.org/ontology/core#advisingContributionTo No Add not set + http://vivoweb.org/ontology/core#clinicalRoleOf No Add not set + http://vivoweb.org/ontology/core#hasClinicalRole No Add not set + http://vivoweb.org/ontology/core#fundedByAgent No Add not set + http://vivoweb.org/ontology/core#fundingAgentFor No Add not set + http://vivoweb.org/ontology/core#fundingVehicleFor No Add not set + http://vivoweb.org/ontology/core#hasFundingVehicle No Add not set + http://vivoweb.org/ontology/core#hasMemberRole No Add not set + http://vivoweb.org/ontology/core#memberRoleOf No Add not set + http://vivoweb.org/ontology/core#sponsorsAward No Add not set + http://vivoweb.org/ontology/core#awardSponsoredBy No Add not set + http://vivoweb.org/ontology/core#currentlyHeadOf No Add not set + http://vivoweb.org/ontology/core#currentlyHeadedBy No Add not set + http://vivoweb.org/ontology/core#hasLeaderRole No Add not set + http://vivoweb.org/ontology/core#leaderRoleOf No Add not set + http://vivoweb.org/ontology/core#outcome No Add not set + http://vivoweb.org/ontology/core#outcomeOf No Add not set + http://vivoweb.org/ontology/core#associatedRole No Add not set + http://vivoweb.org/ontology/core#associatedWithPosition No Add not set + http://vivoweb.org/ontology/core#Role No Add not set + http://vivoweb.org/ontology/core#MemberRole No Add not set + http://vivoweb.org/ontology/core#LeaderRole No Add not set + http://vivoweb.org/ontology/core#AttendeeRole No Add not set + http://vivoweb.org/ontology/core#ClinicalRole No Add not set + http://vivoweb.org/ontology/core#ClinicalOrganization No Add not set + http://vivoweb.org/ontology/core#ResearchOrganization No Add not set +http://vivoweb.org/ontology/core#URLLinkType No Delete not set +http://purl.org/ontology/bibo/PersonalCommunication No Delete not set +http://purl.org/ontology/bibo/PersonalCommunicationDocument No Delete not set +http://purl.org/ontology/bibo/Email No Delete not set +http://purl.org/ontology/bibo/Letter No Delete not set +http://vivoweb.org/ontology/core#Seminar No Delete not set +http://purl.org/dc/terms/alternative No Delete not set +http://purl.org/ontology/bibo/shortTitle No Delete not set +http://purl.org/ontology/bibo/content No Delete not set +http://vivoweb.org/ontology/core#collaboratorOn No Delete not set +http://vivoweb.org/ontology/core#hasSection No Delete not set +http://vivoweb.org/ontology/core#sectionOf No Delete not set +http://purl.org/NET/c4dm/event.owl#time No Delete not set +http://purl.org/ontology/bibo/argued No Delete not set +http://vivoweb.org/ontology/core#degreeStatus No Delete not set +http://vivoweb.org/ontology/core#type No Delete not set +vitro:citation No Delete not set +http://vivoweb.org/ontology/core#referencedPublicationCityName No Delete not set +http://vivoweb.org/ontology/core#referencedPublisherName No Delete not set +http://vivoweb.org/ontology/core#referencedAuthorOrEditor No Delete not set +http://vivoweb.org/ontology/core#hasCoPrincipalInvestigator No Delete mapped +http://vivoweb.org/ontology/core#coPrincipalInvestigatorOn No Delete mapped +http://vivoweb.org/ontology/core#principalInvestigatorOn No Delete mapped +http://vivoweb.org/ontology/core#hasPrincipalInvestigator No Delete mapped +http://purl.org/ontology/bibo/contributorList No Delete not set +http://purl.org/ontology/bibo/authorList No Delete not set +http://purl.org/ontology/bibo/editorList No Delete not set +http://vivoweb.org/ontology/core#onlineContentFrom No Delete not set +http://vivoweb.org/ontology/core#onlineContent No Delete not set +http://vivoweb.org/ontology/core#invitedStatus No Delete not set +http://vivoweb.org/ontology/core#refereedStatus No Delete not set +http://vivoweb.org/ontology/core#publisherName No Delete not set +http://vivoweb.org/ontology/core#publicationStatus No Delete not set +http://vivoweb.org/ontology/core#publicationMonth No Delete not set +http://vivoweb.org/ontology/core#courseTaughtBy No Delete not set +http://vivoweb.org/ontology/core#recentCourseTaught No Delete not set +http://vivoweb.org/ontology/core#investigatorOn No Delete not set +http://vivoweb.org/ontology/core#hasInvestigator No Delete not set +http://vivoweb.org/ontology/core#PresentationActivity No Delete not set +http://vivoweb.org/ontology/core#presentationActivity No Delete not set +http://vivoweb.org/ontology/core#presentationActivityBy No Delete not set +http://vivoweb.org/ontology/core#ResearchActivity No Delete not set +http://vivoweb.org/ontology/core#researchActivityBy No Delete not set +http://vivoweb.org/ontology/core#hasResearchActivity No Delete not set +http://vivoweb.org/ontology/core#InternationalActivity No Delete not set +http://vivoweb.org/ontology/core#contributingParticipantIn No Delete not set +http://vivoweb.org/ontology/core#hasContributingParticipant No Delete not set +http://vivoweb.org/ontology/core#organizationRelatedActivity No Delete not set +http://vivoweb.org/ontology/core#activityRelatedOrganization No Delete not set +http://vivoweb.org/ontology/core#activityRelatedInformationResource No Delete not set +http://vivoweb.org/ontology/core#informationResourceRelatedActivity No Delete not set +http://vivoweb.org/ontology/core#activityRelatedGrant No Delete not set +http://vivoweb.org/ontology/core#grantRelatedActivity No Delete not set +http://vivoweb.org/ontology/core#activityRelatedEvent No Delete not set +http://vivoweb.org/ontology/core#eventRelatedActivity No Delete not set +http://vivoweb.org/ontology/core#Activity http://vivoweb.org/ontology/core#Role Yes Map Directly-changed +http://vivoweb.org/ontology/core#activityBy http://vivoweb.org/ontology/core#roleOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasActivity http://vivoweb.org/ontology/core#hasRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#PostDoc http://vivoweb.org/ontology/core#Postdoc Yes Map Directly-changed +http://vivoweb.org/ontology/core#OutreachActivity http://vivoweb.org/ontology/core#OutreachProviderRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#outreachActivityBy http://vivoweb.org/ontology/core#outreachProviderRoleOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasOutreachActivity http://vivoweb.org/ontology/core#hasOutreachProviderRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#ServiceActivity http://vivoweb.org/ontology/core#ServiceProviderRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#professionalServiceActivityBy http://vivoweb.org/ontology/core#serviceProviderRoleOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasProfessionalServiceActivity http://vivoweb.org/ontology/core#hasServiceProviderRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#TeachingActivity http://vivoweb.org/ontology/core#TeacherRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#teachingActivityBy http://vivoweb.org/ontology/core#teacherRoleOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasTeachingActivity http://vivoweb.org/ontology/core#hasTeacherRole Yes Map Directly-changed +http://vivoweb.org/ontology/core#AwardOrDistinction http://vivoweb.org/ontology/core#AwardOrHonor Yes Map Directly-changed +http://vivoweb.org/ontology/core#AdvisingActivity http://vivoweb.org/ontology/core#AdvisingRelationship Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasAdvisingActivity http://vivoweb.org/ontology/core#advisorIn Yes Map Directly-changed +http://vivoweb.org/ontology/core#advisingActivityBy http://vivoweb.org/ontology/core#advisor Yes Map Directly-changed +http://vivoweb.org/ontology/core#advisedBy http://vivoweb.org/ontology/core#adviseeIn Yes Map Directly-changed +http://vivoweb.org/ontology/core#ReserachProposal http://vivoweb.org/ontology/core#ResearchProposal Yes Map Directly-changed +http://vivoweb.org/ontology/core#Talk http://vivoweb.org/ontology/core#Presentation Yes Map Directly-changed +http://vivoweb.org/ontology/core#degreeAbbreviation http://vivoweb.org/ontology/core#abbreviation Yes Map Directly-changed +http://vivoweb.org/ontology/core#cityOfPublication http://vivoweb.org/ontology/core#placeOfPublication Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasSubEvent http://vivoweb.org/ontology/core#includesEvent Yes Map Directly-changed +http://vivoweb.org/ontology/core#nearestGeographicLocationFor http://vivoweb.org/ontology/core#geographicLocationOf Yes Map Directly-changed +http://purl.org/ontology/bibo/pages http://purl.org/ontology/bibo/numPages Yes Map Directly-changed +http://vivoweb.org/ontology/core#editor http://purl.org/ontology/bibo/editor Yes Map Directly-changed +http://vivoweb.org/ontology/core#funds http://vivoweb.org/ontology/core#awardsGrant Yes Map Directly-changed +http://vivoweb.org/ontology/core#fundedBy http://vivoweb.org/ontology/core#grantAwardedBy Yes Map Directly-changed +http://vivoweb.org/ontology/core#CourseSection http://vivoweb.org/ontology/core#SemesterClass Yes Map Directly-changed +http://vivoweb.org/ontology/core#courseSectionTaughtBy http://vivoweb.org/ontology/core#taughtBy Yes Map Directly-changed +http://vivoweb.org/ontology/core#teachesCourseSection http://vivoweb.org/ontology/core#teaches Yes Map Directly-changed +http://vivoweb.org/ontology/core#EducationalBackground http://vivoweb.org/ontology/core#EducationalTraining Yes Map Directly-changed +http://vivoweb.org/ontology/core#awardedTo http://vivoweb.org/ontology/core#degreeOutcomeOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#degreeTypeAwarded http://vivoweb.org/ontology/core#degreeEarned Yes Map Directly-changed +http://vivoweb.org/ontology/core#educationalBackground http://vivoweb.org/ontology/core#educationalTraining Yes Map Directly-changed +http://vivoweb.org/ontology/core#educationalBackgroundOf http://vivoweb.org/ontology/core#educationalTrainingOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#memberOf http://vivoweb.org/ontology/core#currentMemberOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#hasMember http://vivoweb.org/ontology/core#hasCurrentMember Yes Map Directly-changed +http://www.vivoweb.org/ontology/v0.9/vivo-on-vivo/hasMember http://vivoweb.org/ontology/core#hasCurrentMember Yes Map Directly-changed +http://www.vivoweb.org/ontology/v0.9/vivo-on-vivo/memberOf http://vivoweb.org/ontology/core#currentMemberOf Yes Map Directly-changed +http://vivoweb.org/ontology/core#role http://vivoweb.org/ontology/core#description Yes Map Directly-changed +http://vitro.mannlib.cornell.edu/ns/vitro/0.7#description http://vivoweb.org/ontology/core#description Yes Map Special mapping for VIVO 1.0 application (not a real ontology change) \ No newline at end of file diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/CoPrincipalInvestigatorRole.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/CoPrincipalInvestigatorRole.sparql new file mode 100644 index 00000000..3053529e --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/CoPrincipalInvestigatorRole.sparql @@ -0,0 +1,24 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + _:role a core:Co-PrincipalInvestigatorRole . + _ :role core:roleIn ?grant . + ?grant core:relatedRole _:role . + ?person core:hasCo-PrincipalInvestigatorRole _:role . + _:role core:co-PrincipalInvestigatorRoleOf ?person . +} where { + ?person core:coPrincipalInvestigatorOn ?grant +} \ No newline at end of file diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/ConferringOrganization.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/ConferringOrganization.sparql new file mode 100644 index 00000000..ef7bf34c --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/ConferringOrganization.sparql @@ -0,0 +1,23 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + ?s core:conferringOrganization ?o . + ?o core:awardConferred ?s . + +} Where { + ?s core:activityRelatedOrganization ?o . + ?s rdf:type core:AwardOrDistinction . +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/InvestigatorRole.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/InvestigatorRole.sparql new file mode 100644 index 00000000..4b58f98d --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/InvestigatorRole.sparql @@ -0,0 +1,24 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + _:role a core:InvestigatorRole . + _ :role core:roleIn ?grant . + ?grant core:relatedRole _:role . + ?person core:hasInvestigatorRole _:role . + _:role core:investigatorRoleOf ?person . +} where { + ?person core:investigatorOn ?grant +} \ No newline at end of file diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/InvitedStatus.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/InvitedStatus.sparql new file mode 100644 index 00000000..c57922ec --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/InvitedStatus.sparql @@ -0,0 +1,20 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + ?s bibo:status bibo:invited . +} Where { + ?s core:invitedStatus "true"^^xsd:boolean . +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/PresenterRole.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/PresenterRole.sparql new file mode 100644 index 00000000..2e721cc5 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/PresenterRole.sparql @@ -0,0 +1,34 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + _:role a core:PresenterRole . + _ :role core:roleIn ?event . + ?event core:relatedRole _:role . + ?person core:hasPresenterRole _:role . + _:role core:presenterRoleOf ?person . + ?event bibo:presents ?infores . + ?infores bibo:presentedAt ?event. +} where { + ?person core:presentationActivity ?pactivity . + + optional { + ?pactivity core:activityRelatedEvent ?event . + } + + optional { + ?pactivity core:activityRelatedInformationResource ?infores . + } +} \ No newline at end of file diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/PrincipalInvestigatorRole.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/PrincipalInvestigatorRole.sparql new file mode 100644 index 00000000..cc349435 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/PrincipalInvestigatorRole.sparql @@ -0,0 +1,24 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + _:role a core:PrincipalInvestigatorRole . + _ :role core:roleIn ?grant . + ?grant core:relatedRole _:role . + ?person core:hasPrincipalInvestigatorRole _:role . + _:role core:principalInvestigatorRoleOf ?person . +} where { + ?person core:principalInvestigatorOn ?grant +} \ No newline at end of file diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/PublisherName.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/PublisherName.sparql new file mode 100644 index 00000000..6ebd65a4 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/PublisherName.sparql @@ -0,0 +1,23 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + ?s core:publisher _:pubOrg . + _:pubOrg rdf:type foaf:Organization . + _:pubOrg rdfs:label ?publName . + +} Where { + ?s core:publisherName ?publName . +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/RefereedStatus.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/RefereedStatus.sparql new file mode 100644 index 00000000..4c67e568 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/RefereedStatus.sparql @@ -0,0 +1,20 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + ?s bibo:status bibo:peerReviewed . +} Where { + ?s core:refereedStatus "true"^^xsd:boolean . +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/TeacherRoleWithCourse.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/TeacherRoleWithCourse.sparql new file mode 100644 index 00000000..6011a6ae --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/TeacherRoleWithCourse.sparql @@ -0,0 +1,24 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +Construct { + _:role a core:TeacherRole . + _ :role core:roleIn ?course . + ?course core:relatedRole _:role . + ?person core:hasTeacherRole _:role . + _:role core:teacherRoleOf ?person . +} where { + ?person core:recentCourseTaught ?course . +} \ No newline at end of file