Skip to content

Sample GraphQL Queries for Profile Pages

Damaris Murry edited this page Jun 18, 2020 · 7 revisions

Profile Example

https://vivo-scholars-scholars.cloud.duke.edu/entities/person/n5555

query {
  person(id: "n5555") {
    id
    type
    name
    streetAddress
    phone
    overview
    thumbnail
    websites {
      label
      url
    }

    educationAndTraining {
      id
      field
      abbreviation
      organization {
        label
      }
      startDate
      endDate
    }
    positions {
      id
      label
      type
      startDate
      endDate
      organizations {
        id
        label
        parent {
          id
          label
        }
      }
    }
    researchOverview
    researchAreas {
      id
      label
    }
    primaryEmail
    additionalEmails
    scopusId
    preferredTitle
    publications {
      id
      title
      abstractText
      doi
      authors {
        id
        label
      }
      publicationDate
      publisher {
        label
      }
    }

    researcherOn{
     id
     label
     awardedBy{
       label
     }
     startDate
     endDate
   }

   teachingActivities {
      label
      role
    }

  teachingOverview

    # no data
    geographicFocus {
      label
    }
    awardsAndHonors {
      label
    }
    clinicalActivities {
      label
    }
  }
}
Clone this wiki locally