# A PATH query problem

**URL:** <https://community.stardog.com/t/a-path-query-problem/941>\
**Category:** Support\
**Created:** [April 24, 2018, 12:38pm UTC](https://community.stardog.com/t/a-path-query-problem/941 "2018-04-24T12:38:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arsham](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@arsham](https://community.stardog.com/u/arsham)\
**Post date:** [April 24, 2018, 12:38pm UTC](https://community.stardog.com/t/a-path-query-problem/941/1 "2018-04-24T12:38:15Z")

</div>

Hello All,

I was trying the PATH query and by running a simple query like the one in the manual:  
PATH START ?x = :N1 ?y VIA ?p  
I got the following error:  
"Not a valid query string or a file: Encountered " \<FUNCTION\_NAME\> "PATH “” at line 1, column 75. Was expecting one of: “;” … “base” … “prefix” … “load” … “clear” … “drop” … “add” … “move” … “copy” … “create” … “insert” … “delete” … “with” …  
"  
I am using the Stardog 5.2.3.

Thanks for your help.  
,Arsham

---

<div class="post-metadata">

**Author:** ![pavel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/pavel/32/18_2.png) [@pavel](https://community.stardog.com/u/pavel)\
**Post date:** [April 24, 2018, 12:47pm UTC](https://community.stardog.com/t/a-path-query-problem/941/2 "2018-04-24T12:47:55Z")

</div>

It’s PATHS, not PATH. Also there should be the END keyword.

Best,  
Pavel

---

<div class="post-metadata">

**Author:** ![arsham](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@arsham](https://community.stardog.com/u/arsham)\
**Post date:** [April 24, 2018, 12:50pm UTC](https://community.stardog.com/t/a-path-query-problem/941/3 "2018-04-24T12:50:06Z")

</div>

Thanks Pavel, it works now.  
BR, Arsham

---

<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:** [May 8, 2018, 12:50pm UTC](https://community.stardog.com/t/a-path-query-problem/941/4 "2018-05-08T12:50:07Z")

</div>

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