@prefix : . @prefix rdfs: . # # Specify the SearchIndexExcluders, DocumentModifiers and IndexingUriFinders for VIVO. # These are in addition to the ones specified for VIVO. # :vivoSearchExcluder_namespaceExcluder a , ; :excludes "http://purl.obolibrary.org/obo/" . # ------------------------------------ :uriFinder_forContextNodes a , . :uriFinder_forVCards a , . # ------------------------------------ :vivodocumentModifier_calculateParameters a , . :vivodocumentModifier_PreferredTitle a , ; rdfs:label "Preferred title" ; :hasTargetField "ALLTEXT" ; :hasTargetField "ALLTEXTUNSTEMMED" ; :hasTargetField "PREFERRED_TITLE" ; :hasSparqlQuery """ PREFIX vcard: PREFIX obo: SELECT ?title WHERE { ?uri obo:ARG_2000028 ?card . ?card a vcard:Individual . ?card vcard:hasTitle ?titleHolder . ?titleHolder vcard:title ?title . } """ . :vivodocumentModifier_EmailAddress a , ; rdfs:label "Email address" ; :hasTargetField "ALLTEXT" ; :hasTargetField "ALLTEXTUNSTEMMED" ; :hasSparqlQuery """ PREFIX vcard: PREFIX obo: SELECT ?email WHERE { ?uri obo:ARG_2000028 ?card . ?card a vcard:Individual . ?card vcard:hasEmail ?emailHolder . ?emailHolder vcard:email ?email . } """ . :vivodocumentModifier_NamesAcrossContextNodes a , ; rdfs:label "Names of objects across context nodes" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relatedBy ?rel . ?rel rdf:type ?type . ?rel core:relates ?other . ?other rdfs:label ?rawresult . FILTER ( ?type IN ( core:Position, core:Authorship, core:Collaboration, core:Affiliation ) ) } """ . :vivodocumentModifier_AgentContextNodeFields a , ; rdfs:label "Add many fields to agents." ; :hasTypeRestriction "http://xmlns.com/foaf/0.1/foaf:Agent" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:Position . ?c core:hrJobTitle ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:Position . ?c core:relates ?i . ?i rdf:type foaf:Organization . ?i rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:Position . ?c core:titleOrRole ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: SELECT (str(?HRJobTitle) as ?hrJobTitle) (str(?PositionInOrganization) as ?positionInOrganization) (str(?TitleOrRole) as ?titleOrRole) WHERE { ?uri ?b ?c . ?c rdf:type core:Position . OPTIONAL { ?c core:hrJobTitle ?HRJobTitle . } . OPTIONAL { ?c core:relates ?i . ?i rdf:type foaf:Organization . ?i rdfs:label ?PositionInOrganization . } . OPTIONAL { ?c core:titleOrRole ?TitleOrRole . } . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:AdvisingRelationship . ?c rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:AdvisingRelationship . ?c core:degreeCandidacy ?e . ?e rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?label) as ?adviseeLabel) WHERE { ?c rdf:type core:AdvisingRelationship . ?c core:relates ?uri . ?uri obo:RO_0000053 ?advisorRole . ?advisorRole rdf:type core:AdvisorRole . ?c core:relates ?d . ?d rdf:type foaf:Person . ?d obo:RO_0000053 ?adviseeRole . ?adviseeRole rdf:type core:AdviseeRole . ?d rdfs:label ?label . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?label) as ?advisorLabel) WHERE { ?c rdf:type core:AdvisingRelationship . ?c core:relates ?uri . ?uri obo:RO_0000053 ?adviseeRole . ?adviseeRole rdf:type core:AdviseeRole . ?c core:relates ?d . ?d rdf:type foaf:Person . ?d obo:RO_0000053 ?advisorRole . ?advisorRole rdf:type core:AdvisorRole . ?d rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:Authorship . ?c core:relates ?f . ?f rdf:type foaf:Person . ?f rdfs:label ?ContextNodeProperty . FILTER( ?f != ?uri ) } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri ?b ?c . ?c rdf:type core:Authorship . ?c core:relates ?h . ?h rdf:type obo:IAO_0000030 . ?h rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?AwardLabel) as ?awardLabel) (str(?AwardConferredBy) as ?awardConferredBy) (str(?Description) as ?description) WHERE { ?uri ?b ?c . ?c rdf:type core:AwardReceipt . OPTIONAL { ?c core:relates ?e . ?e rdf:type core:Award . ?e rdfs:label ?AwardLabel . } . OPTIONAL { ?c core:assignedBy ?d . ?d rdf:type foaf:Organization . ?d rdfs:label ?AwardConferredBy . } . OPTIONAL { ?c core:description ?Description . } . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?OrganizationLabel) as ?organizationLabel) WHERE { ?uri ?b ?c . ?c rdf:type obo:BFO_0000023 ; core:roleContributesTo ?Organization . ?Organization rdf:type core:Organization . ?Organization rdfs:label ?OrganizationLabel . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?AcademicDegreeLabel) as ?academicDegreeLabel) (str(?AcademicDegreeAbbreviation) as ?academicDegreeAbbreviation) (str(?MajorField) as ?majorField) (str(?DepartmentOrSchool) as ?departmentOrSchool) (str(?TrainingAtOrganizationLabel) as ?trainingAtOrganizationLabel) WHERE { ?uri ?b ?c . ?c rdf:type core:EducationalProcess . OPTIONAL { ?c core:relates ?d . ?d rdf:type core:AwardedDegree . ?d core:relates ?e . ?e rdf:type core:AcademicDegree . ?e rdfs:label ?AcademicDegreeLabel . } . OPTIONAL { ?c core:majorField ?MajorField .} . OPTIONAL { ?c core:departmentOrSchool ?DepartmentOrSchool . } OPTIONAL { ?c obo:RO_0000057 ?f . ?f rdf:type foaf:organization . ?f rdfs:label ?TrainingAtOrganizationLabel . } . } """ . :vivodocumentModifier_MembershipFields a , ; rdfs:label "Add people to organization and vice versa." ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?uri rdf:type foaf:Organization . ?role core:roleContributesTo ?uri . ?person obo:RO_0000053 ?role . ?person rdfs:label ?rawresult . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?uri rdf:type foaf:Person . ?uri obo:RO_0000053 / core:roleContributesTo / rdfs:label ?rawresult . } """ . :vivodocumentModifier_EducationFields a , ; rdfs:label "Labels for a degree and the granting organization." ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relates ?deg . ?deg rdf:type core:AwardedDegree . ?deg rdfs:label ?rawresult . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relates ?deg . ?deg rdf:type core:AwardedDegree . ?deg core:assignedBy ?org . ?org rdfs:label ?rawresult . } """ . :vivodocumentModifier_AdvisingFields a , ; rdfs:label "Labels for people in an advising relationship." ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relatedBy ?rel . ?rel rdf:type core:AdvisingRelationship . ?rel core:relates ?other . ?other rdfs:label ?rawresult . FILTER( ?other != ?uri ) } """ . :vivodocumentModifier_Grants_Projects_ForPerson a , ; rdfs:label "Grants and projects for person" ; :hasTypeRestriction "http://xmlns.com/foaf/0.1/Person" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: SELECT (str(?rawresult) as ?result) WHERE { ?grant core:relates ?uri . ?grant rdf:type core:Grant . ?grant rdfs:label ?rawresult . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?uri obo:RO_0000053 ?role . ?role obo:BFO_0000054 ?project . ?project rdf:type core:Project . ?project rdfs:label ?rawresult . } """ . :vivodocumentModifier_People_Organizations_Projects_ForGrant a , ; rdfs:label "People, organizations, and projects for grant" ; :hasTypeRestriction "http://vivoweb.org/ontology/core#Grant" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relates ?person . ?person rdf:type foaf:Person . ?person rdfs:label ?rawresult . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relates ?org . ?org rdf:type foaf:Organization . ?org rdfs:label ?rawresult . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?uri core:relates ?role . ?role obo:BFO_0000054 ?project . ?project rdf:type core:Project . ?project rdfs:label ?rawresult . } """ . :vivodocumentModifier_Grants_People_ForProject a , ; rdfs:label "Grants and people for project" ; :hasTypeRestriction "http://vivoweb.org/ontology/core#Project" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?role obo:BFO_0000054 ?uri . ?grant core:relates ?role . ?grant rdf:type core:Grant . ?grant rdfs:label ?rawresult . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX foaf: PREFIX rdfs: PREFIX obo: SELECT (str(?rawresult) as ?result) WHERE { ?role obo:BFO_0000054 ?uri . ?role obo:RO_0000053 ?person . ?person rdf:type foaf:Person . ?person rdfs:label ?rawresult . } """ . :vivodocumentModifier_GrantsForOrganization a , ; rdfs:label "Grants for organization" ; :hasTypeRestriction "http://xmlns.com/foaf/0.1/Organization" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX rdfs: SELECT (str(?rawresult) as ?result) WHERE { ?grant core:relates ?uri . ?grant rdf:type core:Grant . ?grant rdfs:label ?rawresult . } """ . :vivodocumentModifier_InformationResources a , ; rdfs:label "Authors, featured, editors, and subject area for InformationResource" ; :hasTypeRestriction "http://purl.obolibrary.org/IAO_0000030" ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri core:relatedBy ?a . ?a rdf:type core:Authorship . ?a core:relates ?b . ?b rdf:type foaf:Agent . ?b rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX core: PREFIX rdfs: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri core:features ?i . ?i rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX rdfs: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri core:relatedBy ?e . ?e rdf:type core:Editorship . ?e core:relates ?i . ?i rdf:type foaf:Agent . ?i rdfs:label ?ContextNodeProperty . } """ ; :hasSparqlQuery """ PREFIX owl: PREFIX vitroDisplay: PREFIX rdf: PREFIX core: PREFIX foaf: PREFIX obo: PREFIX rdfs: PREFIX localNav: PREFIX bibo: SELECT (str(?ContextNodeProperty) as ?contextNodeProperty) WHERE { ?uri core:hasSubjectArea ?f . ?f rdfs:label ?ContextNodeProperty . } """ .