@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_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 . } """ .