-
Notifications
You must be signed in to change notification settings - Fork 1
Sample GraphQL Queries for Entity Pages
Damaris Murry edited this page Jan 29, 2020
·
4 revisions
http://openvivo.org/display/jou.2213-7793
query {
collections(
boosts:[],
facets: [{field: "keywords"}],
filters: [{field:"id", opKey:"EQUALS", value:"jou.2213-7793"}],
paging: { pageSize:100, pageNumber: 0,
sort:{
orders: [{direction: ASC, property:"name"}]
}
},
query: "*",
) {
content {
abbreviation
abstractText
authors{
clazz
id
label
organizations{
clazz
id
label
syncIds
}
rank
syncIds
type
}
clazz
doi
editors{
clazz
id
label
rank
syncIds
type
}
eissn
features{
clazz
id
label
syncIds
type
}
geographicFocus{
clazz
id
label
syncIds
type
}
id
image
isAbout{
clazz
id
label
syncIds
type
}
issn
keywords
mentions{
clazz
id
label
syncIds
type
}
modTime
name
oclcnum
outputOfProcessOrEvent{
clazz
id
label
syncIds
type
}
participatesIn{
clazz
id
label
syncIds
}
publicationDate
publicationVenueFor{
clazz
id
label
syncIds
}
publisher{
clazz
id
label
syncIds
type
}
sameAs{
clazz
id
label
syncIds
}
specifiedOutputOf{
clazz
id
label
syncIds
type
}
subjectAreas{
clazz
id
label
syncIds
}
supportedBy{
clazz
id
label
syncIds
}
syncIds
thumbnail
translators{
clazz
id
label
syncIds
type
}
type
websites{
clazz
id
label
syncIds
url
}
}
page {
totalPages
number
size
totalElements
}
facets {
field
entries {
content {
value
count
}
}
}
}
}
http://openvivo.org/individual?uri=http%3A%2F%2Fid.worldcat.org%2Ffast%2F1112076
query {
conceptsFacetedSearch(
boosts:[],
facets: [{field: "keywords"}],
filters: [{field:"name", opKey:"EQUALS", value:"Semantic Web"}],
paging: { pageSize:100, pageNumber: 0,
sort:{
orders: [{direction: ASC, property:"name"}]
}
},
query: "*",
) {
content {
associatedDepartments{
clazz
id
label
syncIds
}
awardConferredBy{
clazz
id
label
syncIds
type
}
awardConferredByPreferredLabel
awardOrHonorFor{
clazz
id
label
syncIds
type
}
broaderConcepts{
clazz
id
label
syncIds
type
}
clazz
id
image
modTime
name
narrowerConcepts{
clazz
id
label
syncIds
type
}
receipts{
clazz
id
label
recipientName
syncIds
}
relatedConcepts{
clazz
id
label
syncIds
type
}
researchAreaOf{
clazz
id
label
organizations{
clazz
id
label
syncIds
}
syncIds
title
}
sameAs{
clazz
id
label
syncIds
}
syncIds
thumbnail
type
websites{
clazz
id
label
syncIds
url
}
yearAwarded
}
page {
totalPages
number
size
totalElements
}
facets {
field
entries {
content {
value
count
}
}
}
}
}
http://openvivo.org/display/n130559
query {
documentsFacetedSearch(
boosts:[],
facets: [{field: "keywords"}],
filters: [{field:"doi", opKey:"EQUALS", value:"http://doi.org/10.17605/OSF.IO/MRQ8X"}],
paging: { pageSize:100, pageNumber: 0,
sort:{
orders: [{direction: ASC, property:"name"}]
}
},
query: "*",
) {
content {
abbreviation
abstractText
assignees{
clazz
id
label
syncIds
type
}
authorList
authors{
clazz
id
label
organizations{
clazz
id
label
syncIds
}
rank
syncIds
type
}
bookTitle
chapter
citations{
clazz
id
label
syncIds
type
}
citedBy{
clazz
id
label
syncIds
type
}
citesAsDataSource{
clazz
id
label
syncIds
type
}
clazz
dateFiled
dateIssued
documentParts{
clazz
id
label
syncIds
type
}
documentationForProjectOrResource{
clazz
id
label
syncIds
type
}
doi
eanucc13
edition
editorList
editors{
clazz
id
label
rank
syncIds
type
}
eissn
etdChairedBy{
clazz
email
id
label
organization{
clazz
id
label
syncIds
}
syncIds
}
features{
clazz
id
label
syncIds
type
}
geographicFocus{
clazz
id
label
syncIds
type
}
globalCitationFrequency{
clazz
id
label
syncIds
}
hasPublicationVenueFor{
clazz
id
label
syncIds
}
iclCode
id
identifier
image
isAbout{
clazz
id
label
syncIds
type
}
isTemplate
isbn10
isbn13
issn
issue
keywords
lccn
mentions{
clazz
id
label
syncIds
type
}
modTime
nihmsid
numberOfPages
oclcnum
outputOfProcessOrEvent{
clazz
id
label
syncIds
type
}
pageEnd
pageStart
participatesIn{
clazz
id
label
syncIds
}
patentNumber
placeOfPublication
pmcid
pmid
presentedAt{
clazz
id
label
syncIds
type
}
publicationDate
publicationVenue{
clazz
id
label
syncIds
type
}
publisher{
clazz
id
label
syncIds
type
}
receipts{
clazz
id
label
syncIds
}
reproducedIn{
clazz
id
label
syncIds
type
}
reproduces{
clazz
id
label
syncIds
type
}
restrictions
sameAs{
clazz
id
label
syncIds
}
specifiedOutputOf{
clazz
id
label
syncIds
type
}
status
subjectAreas{
clazz
id
label
syncIds
}
supportedBy{
clazz
id
label
syncIds
type
}
syncIds
thumbnail
title
translationOf{
clazz
id
label
syncIds
type
}
translations{
clazz
id
label
syncIds
type
}
translators{
clazz
id
label
syncIds
type
}
type
uri
volume
websites{
clazz
id
label
syncIds
url
}
}
page {
totalPages
number
size
totalElements
}
facets {
field
entries {
content {
value
count
}
}
}
}
}
http://openvivo.org/display/grid.265892.2
query {
organizationsFacetedSearch(
boosts:[],
facets: [{field: "keywords"}],
filters: [{field:"id", opKey:"EQUALS", value:"grid.265892.2"}],
paging: { pageSize:100, pageNumber: 0,
sort:{
orders: [{direction: ASC, property:"name"}]
}
},
query: "*",
) {
content {
abbreviation
administersGrant{
clazz
date
id
label
syncIds
}
affiliatedResearchAreas{
clazz
id
label
syncIds
}
assigneeForPatent{
clazz
date
id
label
syncIds
}
attendedEvents{
clazz
date
id
label
syncIds
}
awardOrHonorGiven{
clazz
date
id
label
syncIds
}
awardOrHonorReceived{
clazz
date
id
label
syncIds
}
awardsGrant{
clazz
date
id
label
syncIds
}
clazz
clinicalActivities{
clazz
id
label
syncIds
}
contractOrProviderForService{
clazz
id
label
syncIds
}
convenerOfEvents{
clazz
date
id
label
syncIds
}
country
courses{
clazz
id
label
syncIds
}
date
degrees{
clazz
id
label
syncIds
}
emailAddress
fax
featuredIn{
clazz
date
id
label
syncIds
type
}
geographicLocation
governingAuthorityFor{
clazz
id
label
syncIds
}
hasAffiliatedOrganizations{
clazz
id
label
syncIds
}
hasCollaboratingOrganizationOrGroup{
clazz
id
label
syncIds}
hasEquipment{
clazz
id
label
syncIds
}
hasSubOrganizations{ #not returning what's in OpenVIVO
clazz
id
label
syncIds
}
id
image
keywords
leadOrganizationOf{
clazz
id
label
syncIds
}
locality
locatedAtFacilities{
clazz
id
label
syncIds
}
memberOf{
clazz
id
label
syncIds
}
modTime
name
orgId
organizationForTraining{
clazz
endDate
id
label
startDate
syncIds
trainee{
clazz
id
label
syncIds
}
}
organizationWithin{#not returning what's in OpenVIVO
clazz
id
label
syncIds
}
outreachAndCommunityServiceActivities{
clazz
id
label
syncIds
}
overview
people {name}
performsHumanStudy{
clazz
id
label
syncIds
}
phone
postalCode
predecessorOrganizations{
clazz
id
label
syncIds
}
presentations{
clazz
date
event
id
label
syncIds
}
publications{
clazz
date
id
label
syncIds
type
}
publisherOf{
clazz
date
id
label
syncIds
type
}
region
sameAs{
clazz
id
label
syncIds
}
sponsorsAwardOrHonor{
clazz
id
label
syncIds
type
}
streetAddress
subcontractsGrant{
clazz
date
id
label
syncIds
}
successorOrganizations{
clazz
id
label
syncIds
}
syncIds
thumbnail
translatorOf{
clazz
date
id
label
syncIds
type
}
type
websites{
clazz
id
label
syncIds
url
}
}
page {
totalPages
number
size
totalElements
}
facets {
field
entries {
content {
value
count
}
}
}
}
}
http://openvivo.org/display/eventVIVO2017
query {
processesFacetedSearch(
boosts:[],
facets: [{field: "keywords"}],
filters: [{field:"id", opKey:"EQUALS", value:"eventVIVO2017"}],
paging: { pageSize:100, pageNumber: 0,
sort:{
orders: [{direction: ASC, property:"name"}]
}
},
query: "*",
) {
content {
clazz
contactInformation
credits
dateTimeIntervalEnd
dateTimeIntervalStart
description
geographicFocus{
clazz
id
label
syncIds
type
}
hasOutput{
clazz
id
label
syncIds
type
}
hasParticipant{
clazz
id
label
syncIds
type
}
hasPrerequisite{
clazz
id
label
syncIds
type
}
heldInFacility{
clazz
id
label
syncIds
}
heldInGeographicLocation{
clazz
id
label
syncIds
}
id
image
inEventSeries{
clazz
id
label
syncIds
}
includesEvent{
clazz
id
label
syncIds
}
modTime
occursWithinEvent{
clazz
id
label
syncIds
}
offeredBy{
clazz
id
label
syncIds
type
}
outputPublicationOrOtherWork{
clazz
id
label
syncIds
type
}
participants{
clazz
id
label
role
syncIds
}
prerequisiteFor{
clazz
id
label
syncIds
type
}
relatedDocuments{
clazz
id
label
syncIds
type
}
sameAs{
clazz
id
label
syncIds
}
subjectAreas{
clazz
id
label
syncIds
}
syncIds
thumbnail
title
type
websites{
clazz
id
label
syncIds
url
}
}
page {
totalPages
number
size
totalElements
}
facets {
field
entries {
content {
value
count
}
}
}
}
}
http://openvivo.org/display/jou.2213-7793
query {
relationshipsFacetedSearch(
boosts:[],
facets: [{field: "keywords"}],
filters: [{field:"id", opKey:"EQUALS", value:"n17107"}],
paging: { pageSize:100, pageNumber: 0,
sort:{
orders: [{direction: ASC, property:"name"}]
}
},
query: "*",
) {
content {
abstractText
administeredBy{
clazz
id
label
syncIds
type
}
awardConferredBy{
abbreviation
clazz
id
label
preferredLabel
syncIds
type
}
awardOrHonorFor{
clazz
id
label
syncIds
type
}
awardedBy{
abbreviation
clazz
id
label
preferredLabel
syncIds
type
}
clazz
coPrincipalInvestigators{
clazz
id
label
syncIds
}
contributors{
clazz
id
label
role
syncIds
type
}
dateTimeIntervalEnd
dateTimeIntervalStart
description
directCosts
geographicFocus{
clazz
id
label
syncIds
type
}
grantSubcontractedThrough{
clazz
id
label
syncIds
type
}
id
image
inheresIn{
clazz
id
label
syncIds
type
}
localAwardId
modTime
organization{
clazz
id
label
syncIds
}
outputOf{
clazz
id
label
syncIds
type
}
participatesIn{
clazz
id
label
syncIds
type
}
principalInvestigators{
clazz
id
label
syncIds
}
providesFundingFor{
clazz
id
label
syncIds
type
}
receiptOf{
clazz
id
label
syncIds
type
}
sameAs{
clazz
id
label
syncIds
}
specifiedOutputOf{
clazz
id
label
syncIds
type
}
sponsorAwardId
subGrant{
clazz
id
label
syncIds
type
}
subGrantOf{
clazz
id
label
syncIds
type
}
subjectAreas{
clazz
id
label
syncIds
type
}
supportedPublicationOrOtherWork{
clazz
id
label
syncIds
type
}
syncIds
thumbnail
title
totalAwardAmount
type
websites{
clazz
id
label
syncIds
url
}
yearAwarded
}
page {
totalPages
number
size
totalElements
}
facets {
field
entries {
content {
value
count
}
}
}
}
}