# Get resources by IRI in GraphQL API

**URL:** https://community.stardog.com/t/get-resources-by-iri-in-graphql-api/3156
**Category:** Support
**Created:** [July 21, 2021, 11:52am UTC](https://community.stardog.com/t/get-resources-by-iri-in-graphql-api/3156 "2021-07-21T11:52:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![omare](https://avatars.discourse-cdn.com/v4/letter/o/a88e4f/32.png) [@omare](https://community.stardog.com/u/omare)
#### Post date: [July 21, 2021, 11:52am UTC](https://community.stardog.com/t/get-resources-by-iri-in-graphql-api/3156/1 "2021-07-21T11:52:55Z")

</div>

Hi,

I have not been able to query my RDF resources using the GraphQL API after including the right sevices in QueryType part of the schema. If I search for uri I am getting the following message:

Invalid value type for 'iri' argument: StringValue{value='[http://my.exampe.uri/data/some-resource](http://my.exampe.uri/data/some-resource)'}

If i try to fetch a resource using its label, which includes a language tag in the RDF, I am not getting any result so it seems string matching is not well performed for a string that only contains ASCII characters.

Are these two outcomes expected when using GraphQL API?  
Thank you.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)
#### Post date: [August 4, 2021, 11:53am UTC](https://community.stardog.com/t/get-resources-by-iri-in-graphql-api/3156/2 "2021-08-04T11:53:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
