# NLP Knowledge Graph Tutorial

**URL:** <https://community.neo4j.com/t/nlp-knowledge-graph-tutorial/60262>\
**Category:** Neo4j Graph Platform\
**Tags:** migrated\
**Created:** [October 26, 2021, 4:46pm UTC](https://community.neo4j.com/t/nlp-knowledge-graph-tutorial/60262 "2021-10-26T16:46:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aduron](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/aduron/32/20620_2.png) [@aduron](https://community.neo4j.com/u/aduron)\
**Post date:** [October 26, 2021, 4:46pm UTC](https://community.neo4j.com/t/nlp-knowledge-graph-tutorial/60262/1 "2021-10-26T16:46:39Z")

</div>

I'm going through the tutorial at [Tutorial: Build a Knowledge Graph using NLP and Ontologies - Developer Guides](https://neo4j.com/developer/graph-data-science/build-knowledge-graph-nlp-ontologies/)

Once I get to slide 15 I'm getting a no changes, no records. Possibly something to do with HAS\_ENTITY? Any help appreciated thanks:

MATCH (c:Category {name: "NoSQL database management system"})  
CALL n10s.inference.nodesInCategory(c, {  
inCatRel: "ABOUT",  
subCatRel: "SUB\_CAT\_OF"  
})  
YIELD node  
MATCH (node)\<-[:HAS\_ENTITY]-(article)  
RETURN article.uri AS uri, article.title AS title, article.datetime AS date,  
collect(n10s.rdf.getIRILocalName(node.uri)) as explicitTopics  
ORDER BY date DESC  
LIMIT 5;

- neo4j desktop version 1.4.8
- which plugins / extensions / procedures do you use: APOC, n10s

---

<div class="post-metadata">

**Author:** ![asalalikhani](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@asalalikhani](https://community.neo4j.com/u/asalalikhani)\
**Post date:** [June 5, 2022, 7:20pm UTC](https://community.neo4j.com/t/nlp-knowledge-graph-tutorial/60262/2 "2022-06-05T19:20:43Z")

</div>

Hi,

I'm going through the tutorial at [Tutorial: Build a Knowledge Graph using NLP and Ontologies - Developer Guides](https://neo4j.com/developer/graph-data-science/build-knowledge-graph-nlp-ontologies/)

once I try to execute this cypher code

MATCH (a:Article {uri: "[https://dev.to/lirantal/securing-a-nodejs--rethinkdb--tls-setup-on-docker-containers](https://dev.to/lirantal/securing-a-nodejs--rethinkdb--tls-setup-on-docker-containers)"})

CALL apoc.nlp.gcp.entities.stream(a, {

nodeProperty: 'body',

key: $key

})

YIELD node, value

SET node.processed = true

WITH node, value

UNWIND value.entities AS entity

RETURN entity

LIMIT 5;

I encounter with this error

Failed to invoke procedure `apoc.nlp.gcp.entities.stream`: Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: [https://language.googleapis.com/v1/documents:analyzeEntities?key=](https://language.googleapis.com/v1/documents:analyzeEntities?key=)

Neo4j desktop 4.4.7  
I couldn't install neosemantics plugin, is that why this error occurs?

Thanks
