Skip to content
Snippets Groups Projects
Commit 554902dc authored by lcalisto's avatar lcalisto
Browse files

query MyQuery

parent fb3367e9
Branches
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ Its now time to start exploring WoSIS data using queries.
- Get all WoSIS Latest Attributes
```graphql
{
query MyQuery {
wosisLatestAttributes {
layers
profiles
......@@ -181,7 +181,7 @@ The correct way to write our query is:
- Get the first 100 records of WoSIS Latest Attributes
```graphql
{
query MyQuery {
wosisLatestAttributes(first: 100) {
attribute
description
......@@ -197,7 +197,7 @@ In practice this query will return all WoSIS Latest Attributes because currently
- Get the first 10 __*wosisLatestProfiles*__ profiles without any classification record.
```graphql
{
query MyQuery {
wosisLatestProfiles(first: 10) {
continent
region
......@@ -214,7 +214,7 @@ In practice this query will return all WoSIS Latest Attributes because currently
- Get the __last 10 *wosisLatestProfiles* profiles__ with all available classification records (FAO, USDA, WRB).
```graphql
{
query MyQuery {
wosisLatestProfiles(last: 10) {
continent
region
......@@ -250,7 +250,7 @@ Please note that you can use graphiQL IDE interface to easily create your querie
- Get __first 10 profiles__ and for each profile get also the __first 10 layers__:
```graphql
{
query MyQuery {
wosisLatestProfiles(first: 10) {
profileId
continent
......@@ -276,7 +276,7 @@ Please note that you can use graphiQL IDE interface to easily create your querie
- Get __first 10 profiles__ and for each profile get also the __first 10 layers__ and also the __first 10 values of silt__:
```graphql
{
query MyQuery {
wosisLatestProfiles(first: 10) {
profileId
continent
......@@ -308,7 +308,7 @@ Please note that you can use graphiQL IDE interface to easily create your querie
```graphql
{
query MyQuery {
wosisLatestProfiles(first: 10) {
profileId
continent
......@@ -375,7 +375,7 @@ import json
# GraphQL query
query = """
{
query MyQuery {
wosisLatestProfiles(first: 10) {
continent
region
......
......@@ -3,7 +3,7 @@ import json
# GraphQL query
query = """
{
query MyQuery {
wosisLatestProfiles(first: 2) {
continent
region
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment