Hi Alex,

LDPath allows only one @filter statement.

I think you are looking for the following:
@filter rdf:type is foaf:Person | rdf:type is org:OrganizationalUnit

This will match both ex:foo and ex:bar:
ex:foo a foaf:Person.
ex:bar a org:OrganizationalUnit

Generally speaking, you can use any LDPath TEST [1] within the @filter
statement.

Best,
Jakob

[1] http://wiki.apache.org/marmotta/LDPath#Value_Testing

On 27 November 2013 08:15, Alessandra Donnini <a.donn...@etcware.it> wrote:
> Is it possible to use a double filter?
> Something like: I want resources that are Person union with resources that 
> are organization?
> @filter rdf:type is foaf:Person
> @filetr rdf:type is org:OrganizationalUnit
> and if yes what is the correct syntax?
> thank you
> Alex
>
  • LDPath Alessandra Donnini
    • Re: LDPath Jakob Frank

Reply via email to