-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23/05/12 10:55, Paolo Castagna wrote:
> Hi Tao
>
> Tao wrote:
>> The sub query method is totally good to me. It's just our app
>> developer who doesn't like it.
>
> Oh, well... you should/could argue a little bit more with him
> then. There is very little syntactic difference between:
>
> { ?x pf:textMatch ( "bookxxx" 1 ex:authorOf ) .. }
>
> and
>
> { ?x ex:authorOf ?a . ?a pf:textMatch ("bookxxx" 1 ) . }
Or even
?x ex:authorOf [ pf:textMatch ("bookxxx" 1) ]
(I think that should work?)
OTOH
?x pf:textMatch ( "bookxxx" 1 ex:authorOf )
could avoid a join across lucene and the rdf store, using a modified
indexing scheme.
Damian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+8uuwACgkQAyLCB+mTtyl0YgCfYG8+dhF2CAQZDKhgDcFdx/W9
EwcAoOojI8ntmBKAmLYxqbdAxQULLAWF
=7/aM
-----END PGP SIGNATURE-----