bigdog
(Raj N)
1
Hi all,
What is the syntax for adding an OR condition for edge property based queries. For example the below restricts source edges with property :HR.
:Pete a { :since 2010 } :Engineer ;
:worksAt { :source :HR } :Stardog
I need to add an "in" clause, like :source IN (:HR, :IT) but that syntax does not work
Thanks
jess
(Jess Balint)
2
Hi Raj,
You can bind the value to a variable, eg { :source ?sourceVariable }
and then FILTER(?sourceVariable IN(:HR, :IT))
. Hope this helps.
Jess
1 Like
system
(system)
Closed
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.